Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use Again and Again in different data session
Message
 
 
À
11/07/2011 09:18:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01517859
Message ID:
01517863
Vues:
91
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform