Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What could be holding this file?
Message
From
28/10/2005 16:24:13
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01062766
Message ID:
01063141
Views:
8
>>
>>That still depends on if the table is already open in another datasession. You still can't change it's EXCLUSIVE status if it's already open somewhere else.
>
>Maybe I am missing something. Let me give you an example of this sequence:
>
>1. Modal Form with Private Data Session opens a free table (in LOAD method).
>2. Then, the above Modal form is closed and released.
>3. Should I be able to open the free table exclusive after the above modal form is closed?

That depends on if that table was already open somewhere else. Closing it in the modal form will only close its handle to the file, not the file that was already open.

If you're absolutely sure the table is not open anywhere else before you open the form, then yes, if you open it in a Private DataSession form, then it should close when you close the form.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform