>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