General information
Category:
Coding, syntax & commands
>>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only