Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Routine & Formset Still Open After Releasing All F
Message
 
To
16/02/2004 15:30:06
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00877750
Message ID:
00877942
Views:
10
Mike,

I have been looking thru the on-line help trying to find a system variable for formsets like the _screen.forms.
No success :(.

>Hi Allan
>
>Sounds like a job for Manual Garbage Collection!!
>
>http://fox.wikis.com/wc.dll?Wiki~ManualGarbageCollection
>
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform