Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What should I do when I close a form...
Message
 
À
29/03/2001 00:03:40
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00489738
Message ID:
00489857
Vues:
11
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform