Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Destroy and Unload
Message
From
10/11/2008 09:25:05
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Destroy and Unload
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01360872
Message ID:
01360872
Views:
73
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?
Next
Reply
Map
View

Click here to load this message in the networking platform