Question:
How can I display a message when the login is incorrect?
Solution:
To do so, you must use a script that tests if the Application’s useName attribute contains any user. In case it doesn’t, the error message must then be displayed via MessageBox command.
Example of script performed at the button’s OnPress() event:
Application.Logout()
Application.Login()
IF Application.userName <> “”
MessageBox(“Login performed successfully!”)
ELSE
MessageBox(“Login incorrect!!!”)
ENDIF