Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to check for Exclusivity
Message
From
16/10/2001 17:33:04
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00569279
Message ID:
00569318
Views:
13
>Do you think this would be a good VFP8 ER?
>
>IsOpenExclusive() that would return True or False.

I think the issue is whether it _can_ be opened exclusive, right? Not whether it is already open, somewhere, exclusive.

I think a better choice is to either have a choice to not throw an error if EXCLUSIVE fails, or to have your function also use it exclusive if it can. Don't know if that was clear.

Just getting a true from CanOpenExclusive() isn't good enough since it might get used between the function and the next line where you USE it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform