[1.9.8 bug] app crashes when re-reading unlocked record

Frank Schima frank-list2 at mindstarprods.com
Sun Aug 10 07:58:58 CDT 2003


Hi Erik,


On Sunday, August 10, 2003, at 05:32  AM, Erik Mueller-Harder wrote:

> 2.  While the first cursor still exists, create a new cursor, thus:
>
>     tc = mdb.sqlselect("select recID, fSmartDate from messageBO
>     where recID = '4312'", kV_Server, kV_NoLock, kV_Random)
>
>     This record *does* exist on messageBO and *is* in the first cursor,
>     vc.
>
> Since I'm using kV_NoLock, I'd expect everything to work as it did 
> before 1.9.8 -- I should get another cursor that contains that same 
> record.
>
> Instead, I get a *NilObjectException* error.

I'm not sure why you are using single quotes around the recID value? 
Try removing those and let us know how it goes. So:

    ... RecID = 4312



Best regards,
-Frank



More information about the Valentina mailing list