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:
01043181
Vues:
13
Hi Cecil,

You can use one private datasesion for two forms.

form Customer, has private datasession
form Quotes has default private datasession

You can past datasessionid from Customer into Quotes:
* any_button_on_Customer::Click()
DO FORM QUOTES WITH Thisform.DatasessionID
**********************************************



* Quotes:init()
LPARAM liDSID
This.DataSessionID=liDSID
MartinJ

>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?
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform