Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Destroy and Unload
Message
From
10/11/2008 09:59:47
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
10/11/2008 09:33:25
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01360872
Message ID:
01360895
Views:
14
Try to run through all your cursors and do the same (FOR AUSED(....)

Agnes
>Getting the same error in the DESTROY.
>
>>Put in queryunload.
>>
>>>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?
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform