>Cetin,
>
>>Besides for each..endfor thing if the called form is modal, hide it before releasing. This was a problem in VFP6 too.
>
>All child forms were completely released and properties NULLed before trying to close the troublemaker form. And, my problem did NOT occur in VFP 6.0, so this is something new with FOR EACH and WITH...ENDWITH implicit references. Hasn't anyone else experiences any oddities with this in 7.0?
>
>JoeK
Joe,
If not occured in VFP6 then you were lucky :) In the past I clearly remember I posted a workaround for it in VFP6. As I remember problem was if a form contained an activex (like slider control), calling a modal form was causing the control to stop responding or something like that.
Cetin