Information générale
Titre:
Am I doing this right?
I am trying to create a logon screen. The client wants users to re-logon in order to access certain screens in the application (The last user may have left the machine without logging out). In the INIT of those forms, I run code like:
if ! oUser.Logon()
messagebox()
return .f.
endif
The problem is the logon screen is just flashing by and the program continues with the next line of code - releasing the logon screen.
This logon screen works fine from my main calling program for initial logon. Do I need a nested READ EVENTS statement to make the program pause when the login screen is displayed?
Any help appreciated.
Lee
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement