Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record Locking
Message
From
15/11/1999 12:01:06
 
 
To
15/11/1999 00:59:10
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00290812
Message ID:
00291225
Views:
18
>I don't understand why VFP would have a functions that is this useless. My problem seems to be that when I use "Rlock()" it presents the key to abort error but I can't seem to capture this and control it. My user would never see it down at the bottom of the screen.
>
>Dennis

Since RLOCK() will attempt to lock the record, my guess is that ISRLOCKED() could be useful to tell you whether you already have the record locked without trying to lock it. Not sure why you'd need that but there must be some use for that.

Anyways, take a look at SET STATUS and SET REPROCESS. These (and a few others) give you more control over what happens when you attempt to use RLOCK() or FLOCK().
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform