Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Basic USE stuff
Message
From
03/05/2009 12:22:15
 
 
To
03/05/2009 11:54:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01397676
Message ID:
01397679
Views:
91
How can I test if a table is opened exclusive or shared?

The easiest way is to wrap the USE command in a TRY/CATCH because the table might be open with a different alias.

How can I change it from exclusive to shared?

Close the table and re-open it.

If I execute a USE mytable SHARED command, I will cancel a previous SET ORDER TO command, which I do not want to do.

Just set the order again after you re-open it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform