Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Routine & Formset Still Open After Releasing All Forms
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Error Routine & Formset Still Open After Releasing All Forms
Divers
Thread ID:
00877750
Message ID:
00877750
Vues:
62
My error routine is using the for i=_screen.formcount to 1 step -1 to loop through the open forms and release them.
All of these forms (6) are in a formset. Some are modal and others are modeless.
The formset is set-up to auto-release when the last form is closed.

When I try to modi form formset in the command window after and error and the clear events, etc. the error 'file is in use' is displayed.
If I include a 'clear all' in the application * before * exiting, the destroy method of the formset above is invoked and it fails because the application's memory variables have been cleared.
If I keyin 'clear all' in the command window instead, the destroy method of the formset is invoked and fails since the memory variable has been cleared.

At this time, I am going in circles because I don't know why the formset is not closing after releasing all of the forms and I can't issue a clear all in the application.

Thank you in advance for any direction.
Regards,

Allan Coganovitch
allanc@proven-solutions.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform