>>>>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.
Right, but it is another way of looping.
If it's not broken, fix it until it is.
My Blog