Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unexpected behavior
Message
De
09/09/1999 08:56:01
 
 
À
09/09/1999 08:28:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00262790
Message ID:
00262823
Vues:
13
>Hi All ---
>
>Running VFP6 SP3: Have something really weird (at least to me) going on. I have a Form with a Private DataSession. It can launch a modal Form using the Default DataSession (it inherits the table from the DataSession of the parent Form).
>
>As an experiment, I changed the child Form to Modeless. Ran the application; opened the parent and the child. Went back to the parent and closed it. The child Form still works fine.
>
>What is going on here? I thought when I closed the parent Form, I'd get "table not available" or some other error message because the DataSession that opened the table is now gone.

Is the AutocloseTables property in the parent form's DE set to .F.? Generally a Datasession won't die until all tables are closed and any conflicts resolved. IOW, it's not directly tied to a form. (NOw with the Session class, not even symbolically attached to the form).
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform