>I need to close all the forms so the user can relogon to a different database. I'm thinking I need to do something with _screen and controls[], but I'm not sure what syntax I need.
>
>Thanks,
>
>-Michelle
Michelle, you need
FOR n=1 TO _screen.FormCount
_screen.forms[n].Release
ENDFOR
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison