I DO my login form from my main.prg which returns a .T. or .F. If .T. then I do subsequent setup, otherwise I QUIT. i.e.
DO FORM Logon TO mlaccess
IF mlaccess=.F.
RETURN
ENDIF
DO FORM 'Menu_Principal'
HTH
>Hello everybody.
>I have a login form to valid the user enter. So, when it have made the validation this form should be liberated with a release and then execute a form called menu_principal.
>This doesn't happen exactly so, since menu_principal is executed but the form login is not liberated.
>If I execute the release without invoking the menu_principal if the form is liberated, but if I later invoking the menu_principal the form login continue active.
>What could I do?
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.