Release tells the VFP form to go away. It doesn't really go away until all the code in the release sequence executes. That means finishing the current method (whatever it is and any method/procedure it calls), firing the form's Destroy then the UnLoad events (also firing any method/procedure they call). Opening another form modally just after you tell the form to release short circuits the process.
>I am sorry but I still didn't "get it"? You mean there is still more "things/code" to do after "ThisForm.RELEASE" and the next line "DO FORM auth" is running ahead of time preventing from the previous form to finish closing up?
>
>Chuck
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao