*--Main.prg *--Display login form DO FORM frmLogin *--Return value from login form lcReturn = frmLogin.lvReturnValue *--Release form frmLogin.RELEASE *--If login not success, RETURN .F. to quit If lcReturn = "FAILED-" RETURN .F. ENDIF ** Start the application, show the main screen..When I run the code above, the login form doesn't appear and the following code executed.