Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When does a form release it's tables
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00233730
Message ID:
00233823
Views:
32
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform