Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use Again and Again in different data session
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01517859
Message ID:
01517863
Views:
90
This message has been marked as the solution to the initial question of the thread.
>When a table is open in another datasession and another program attempts to :
>
use sometable again in 0
>The Fox growls loudly. Since the current program cannot change datasessions because it depends on other open tables in the current session and it cannot forcibly close the table in the other data session what is the programmer to do? what would you do?
>
>Thanks
>
>Glenn

Make sure that table is opened in shared mode and also add an alias.

You can also add
IF NOT USED('MyTable') && Alias is not yet used
   use myTable in 0 shared again alias myTable
ENDIF
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform