Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dealing with dangling reference
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01539074
Message ID:
01539082
Views:
40
>>>You can not use FOR EACH oForm loop
>>>if you're closing the forms (removing from the collection). You need to use FOR loop starting from the last form. Please check again the FAQ.
>>
>>Just to be sure, you are suggesting the code example written by Nick Necliodov, right?
>
>I like more the very first sample with the QueryUnload check.

I have added the QueryUnload check to the Nick's routine. The very first sample does not seem to be looping starting with the bottom (as you suggested). This threw me off.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform