Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
In wish form method is the data environment closed ?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01130824
Message ID:
01130827
Views:
13
>I have a form A.
>When the user clic a button, I want to close form A and open form B.
>But I want to make sure the data environment of form A is closed (and flushed) BEFORE opening form B,
>
>Where should I put this code ? After the thisform.release ? somewhere else ?
>
>Thks
>Eric

I would suggest having an application object to handle all form openings and closings. This way one form is not dependent on another.
Wine is sunlight, held together by water - Galileo Galilei
Un jour sans vin est comme un jour sans soleil - Louis Pasteur
Water separates the people of the world; wine unites them - anonymous
Wine is the most civilized thing in the world - Ernest Hemingway
Wine makes daily living easier, less hurried, with fewer tensions and more tolerance - Benjamin Franklin
Previous
Reply
Map
View

Click here to load this message in the networking platform