Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Attempting to lock record... Press ESC to cancel
Message
From
19/11/1998 04:21:07
 
 
To
18/11/1998 17:33:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00158533
Message ID:
00159149
Views:
28
>>>I have a multi-user app in VFP5. If one user is viewing a certain record, while another is trying an save changes to that same record, we get a message "Attempting to loack record... Press ESC to cancel".
>>>
>>>Table buffering is not being used, but neither if rlock() or lock() methods.
>>
>>If the other user is simply saving changes, then this should only take a flash and the message would go away. Sounds like the record is being left locked for a period of time. The message is normal under unbuffered conditions.
>
>Actually I am using the txtbtns class from VFP5 to handle all adding, saving, and scrolling of the record pointer. I wonder if it is locking records when the user is only scrolling the record pointer?

Hi Matt, You could "set statusbar on" to see if the record is getting locked, or use the sys(2011) function.
Previous
Reply
Map
View

Click here to load this message in the networking platform