[Valentina] Fwd: [VSDK Macho] InvPage (372) error

Totte Alm totte at code66.se
Sun Jan 19 19:49:18 CST 2003


söndagen den 19 januari 2003 kl 18.40 skrev Ruslan Zasukhin:

> on 1/19/03 6:05 PM, Totte Alm at totte at code66.se wrote:
>
> Hi Totte,
>
>> One of the database I have gives the error InvPage (372) when trying  
>> to
>> search on a certain key in a certain field. Other keyvalues works,
>> other field works. I've even tried to rebuild index using VAPP, but
>> still gives the same problems.
>>
>> The offending code is:
>>
>> // Build search
>> try {
>> Set = mDB->mHolder->category.Find(&mCatID);
>> } catch(xFBL_Exception e) {
>> char error[1024], errmess[256];
>> Str255 errStr;
>>
>> e.LoadErrorString(errStr);
>> p2cstrcpy( errmess, errStr);
>> printf( "Error: %ld - '%s'", e.GetErrorCode(), errmess);
>> SysBeep(1);
>> return;
>> }
>>
>> and it works for all other values except for mCatID= 23. Hundred of
>> other databases do work, I have NEVER seen this before.
>> This is a big database, about 60MB 80.000 shareholders. Should I tell
>> the customer just to rerun the reader in this one?
>
> This is really INDEX error.
> And if you REBUILD index for that field must help.
> You say you have made this.
>
> May be you have do that for wrong field?
> To be sure you can trash .ind file and rebuild all tottally.

I did it again i VAPP, and now it worked (still single file database)

Btw, I've finally got NavServices on OSX Carbon to accept bundled  
folders so I can use a 4 file db in a folder, and the user sees it as a  
file in finder that can be dragged or opened from NavServices Dialog.

// Totte
>
> What now?
> After such rebuild all must be fine.
> And watch, may be problem come after next insert/delete?
>
> After index rebuild also try search on that field directly in VAPP.
>
>
> --  
> Best regards,
> Ruslan Zasukhin      [ I feel the need...the need for speed ]
> -------------------------------------------------------------
> e-mail: ruslan at paradigmasoft.com
> web: http://www.paradigmasoft.com
>
> To subscribe to the Valentina mail list go to:
> http://listserv.macserve.net/mailman/listinfo/valentina
> -------------------------------------------------------------
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://listserv.macserve.net/mailman/listinfo/valentina
> Hosted by MacServe.net
>
>
------------------------------------------------------------------------ 
-----------------------
The intelligence on the planet is constant,
it's just the population that is growing.



More information about the Valentina mailing list