Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Destroy and Unload
Message
De
10/11/2008 09:25:05
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Destroy and Unload
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01360872
Message ID:
01360872
Vues:
71
The order of events when closing a form is:
FORM.QUERYUNLOAD
FORM.DESTROY
FORM.CONTAINER.DESTROY
FORM.CONTAINER.COMMAND.DESTROY
FORM.UNLOAD
We have code in the UNLOAD as follows:
SELECT Covr
IF CURSORGETPROP( 'Buffering' ) > 1 AND ! TABLEUPDATE( .T. )
	TABLEREVERT( .T. )
ENDIF 
CURSORSETPROP("Buffering",1)
But we are getting an error in the DESTROY that there are uncommitted changes to Covr. What happens by default in the DESTROY that would cause this?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform