Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot RLock()
Message
From
06/06/2002 11:51:36
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00665258
Message ID:
00665519
Views:
16
Hi Evelyn.

>I am testing in my local computer with only one instance of the form (a VFP 6 form) running and no copy of the file open anywhere else. Inside a transaction I rlock() the record very quickly and unlock it. I intermittently run into a problem where I cannot rlock() the record because it appears to be already locked. How could this be?

When you're in a transaction, VFP manages all the locks it needs on the table, so it's already locked the record for you. Any reason why you're doing the RLOCK() yourself?

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform