Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record Locking
Message
From
12/11/1999 17:53:27
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Record Locking
Miscellaneous
Thread ID:
00290812
Message ID:
00290812
Views:
68
When trying to use the "ISLOCKED()" function to determine if a record is locked I getting strange results. For example:

I open a table with exclusive off on two machines. I lock it using the "LOCK()" function on one machine. On the other I run this code

IF ISLOCKED()
messagebox("Record is locked")
ELSE
messagebox("Record is UnLocked")
ENDIF

The file being tested has only 3 records and I am locking the first one. This function returns unlocked on all three records. However, if I try to lock record number one on the second machine using "RLOCK()" It fails because the record is locked.... HELP
Dennis Collins
TRACKUM, Inc.
Next
Reply
Map
View

Click here to load this message in the networking platform