>>>>>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
>>>>
>>>>You may loop through _SCREEN.Forms()
>>>
>>>OK, that gets me closer...
>>>
>>>
>>>FOR i = 1 TO ???
>>> _SCREEN.Forms(i).RELEASE()
>>>ENDFOR
>>>
>>>
>>>Like that? What do I put for the ??? ?
>>>
>>>Thanks,
>>>
>>>-Michelle
>>nForms=_screen.formcount
>>FOR i=1 to nForms .
>>...
>
>Heh... Someone actually beat you to an answer. :)
>
>Thanks,
>
>-Michelle
TGIF.
Edward Pikman
Independent Consultant