Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Private Data Sessions
Message
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 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01043164
Message ID:
01043175
Vues:
14
>I had the understanding that what I did in one private data session in one form would be completely unaffected by what I did in another form if both were in private data sessions. Is this true? I use the same tables (two) in both forms:
>
>Customer
>Quotes
>
>It seems that when I close the 2nd form that is a search form, the tables in the data session of the first also seem to be closing, leaving the form without any data. Not so good.
>
>What did I miss? I thought you could operate independently in each private data session?

Yes they operate independantly, but the data you add, change or delete in one form will appear changed in other that used the same table after TableUpdate if you use buffering. If both forms using private data session there is no way the second form to close your tables for a first one. Check to see if the second opened form has Default data session. If it has this form will use the opened tables from the first form and close them after the releasing if DE AutoCloseTables = .t.
(I hope you'll undersand my English :o)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform