Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing a free table
Message
 
 
To
18/05/2006 10:26:58
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
01122199
Message ID:
01123212
Views:
20
>Do you think that will help? I sure can try that. I wasn't aware of the ALIAS command.

Yes, there is a little problem. If you have table open in shared mode and then try to open it again exclusive it would not give you any errors, but would remain opened in shared mode. So, you should always do
use in select('MyTable')
try
    use MyTable in 0 alias MyTable exclusive
catch to loErr
endtry
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform