Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When does a form release it's tables
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00233730
Message ID:
00233823
Vues:
33
>I have a form with a table in the forms data environment.
>When the form is closed by the user I would like to pack the table.
>
>I tried placing some code in the destroy event of the form, but the form still seems to have the table open.
>Is there another event that fires after the tables are closed?
>Or should I force them to close in the destroy event.

You can force then closed in your release or destroy events with

thisform.dataenvironment.closetables

then open the tables exclusively and pack them
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform