Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use Again and Again in different data session
Message
De
12/07/2011 10:47:16
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
11/07/2011 11:47:40
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:
01517963
Vues:
65
>Mmmmm. I do have the table open in DS1 but my form is running in a private DS. The test I just performed showed DS9. something smells fishy here!
>
>Aha! the table was used EXCL in the other DS.
>
>Thanks
>
>
>
>>The error means that table is already open in the same datasession.
>>
>>>
>>>The table is open in the default datasession and another program in another datasession is attempting
>>>
use sometable again alias "sometable"
>>>Error 3
>>>File is in use
>>>

In addition to what the others have said, opening the tables in the default data session, improves performance of subsequent use agains in private data session forms and in SQL queries etc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform