Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Two Datasessions
Message
 
 
À
26/07/2000 23:03:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00397323
Message ID:
00397851
Vues:
11
>Ed,
>
>Thank you for the reply.
>
>I have been playing with this for the last few hours. Mostly reading. I have noticed that if I have a form opened using the second data session and use a command button to open a second form the data sessions name changes to that of the second form. The tables don't close until I close both forms. The data session is still there (which I want it to be) but is named unknown(2). Why would the data session name change? Does it have to do with the forms datasession property and the datasessionid?
>

What are the datasession property of the forms set to? They should be set to 1 - Default. This setting means that when the form is laucnhed, it will not create a new datasession but will participate in the datasesion that launched it.

I'm curious as to why you need to create datasessions programatically when you are using forms. Forms have their own datasessions so why not use them instead of the Session object?
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform