Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What should I do when I close a form...
Message
 
To
29/03/2001 00:03:40
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00489738
Message ID:
00489857
Views:
12
>Dear all,
>
>In my project, all forms are designed to visit the tables by setting dataenvironment autoopening and autoclosing. By clicking on commandbuttons, the forms switch from one to anothers, with releasing the current form and then do form 'THETARGET' form. The problem is when I open the new form, occasionally it report problems to open the tables. Should I close the tables before I release the current form? Or otherwise something wrong in programming methodlogy.
>After the new form exit, I release the current form again and return to the original call form.
>
>
>With regards,
>
>Ransome So

Do all forms use the private datasessions? What exact error messages on opening tables are you getting?
If they do, and they automatically open and close all the tables in the DataEnvironment and do not open any tables EXCLUSIVE, generally you should not have troubles.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform