Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record locks
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Miscellaneous
Thread ID:
00475522
Message ID:
00475532
Views:
33
Hi Robert,

The automatic locking will try to lock the record for a limited time (or times), depending on SET REPROCESS - see help for details on how this setting affects locking if it is not successful.

The getlock() function that you have will try... forever, until it gets the lock. Normally a getlock() function should do more: inform the user what is going on, offer some way out of an infinite loop, make a log of unsuccessful updates...

HTH

PS I believe you misuse the term client/server for the term multi user.
Doru
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform