Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datasessions problems
Message
De
13/01/2004 20:37:51
Scott Butts
Ims Specialty Services
Twin Falls, Idaho, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Datasessions problems
Divers
Thread ID:
00866561
Message ID:
00866561
Vues:
62
I have an object based on the custom class. In the objects init event I create a session object with the session command and issues set datasession to sessionobject.datasessionid. This I think is working becuase if I use a table the table appears in a session named 'session(2)'. In this same object I call a form that has a private data session. When this form is displayed the 'session(2)' changes to 'formname'(formname being the name of the form). Once this form is closed the session 'formname' is no longer there but a new session 'unknown(2)' with the tables I originally opended is selected.

What am I doing wrong here? I would expect the form with the private data session to create a new session and not touch the session of the calling object.

Can anyone help me understand what is going on?

Thanks
Scott
Répondre
Fil
Voir

Click here to load this message in the networking platform