Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unique key question - How do you do it?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00266795
Message ID:
00285374
Views:
28
>Jim,
>Is it ever possible to get stuck in a loop waiting for rlock()?
>
>DO WHILE NOT RLOCK()
>ENDDO
>
>Should there be some escape code here in case it can't lock or will it always eventually lock? Thanks for your help.

Marcus,

The only thing ever trying to lock that table is the unique key generation routine. You could write code to deal with an unvailable lock, but in the years I've been doing this way it has never locked up on me.
Previous
Reply
Map
View

Click here to load this message in the networking platform