hi all,
I'm doing a basic login screen where when the user presses the 'login' button, the entered username and password are searched for in the database and if a match is found then only can the user proceed to the next gui, otherwise the user must re enter their details and not be granted access to the next gui window.
Could someone please tell me how to open the next GUI only if the username and password entered are valid? is there a line of code that i can put in the if statement which will open the next window? because currently the next window opens whether the details are valid or not.
Thanks in advance.
Marko