Know if a records locked

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Sep 1 00:17:05 CDT 2004


On 9/1/04 12:10 AM, "Barney" <barney at custombased.com> wrote:

>> Hi Barney,
>> 
>>> Is there any way while debugging in RB IDE using V4RB that we can tell
>>> if records are locked.
>> 
>>> If we call records using a cursor can we somehow find out if the records
>>> we're calling are still locked somewhere else ?
>> 
>> Just if you try SELECT at least one record which is locked in conflict mode,
>> Then cursor will not be created at all and you get error 363
> 
> Thanks for that...
> 
> Where do I look to get that error code from.

As usually.

    db.ErrCode


> I've managed to get myself NIL cursors OK, but where or how do I get the
> error code. If I have a look at my database object in the IDE it has error
> code = 0 ?

Strange.

Must be 363


-- 
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://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list