Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to check for Exclusivity
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00569279
Message ID:
00569333
Views:
21
>>>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.
>
>< slaps forehead > Yup, you are right. Does that still sound useful to implement?

You could call it WasOpenedExculusive() :)

Tom
Previous
Reply
Map
View

Click here to load this message in the networking platform