Hi everyone, a very simple one,
Ive got a login screen, there is only going to be one user for the system so I need to have a field for the user name and a field for the password, at the moment ive got the code to work for the password field but can anyone advise how to add the user name, do i just add it as a another if statement???
my code
Code:
private sub cmd1_click()
if me.txtpassword = "nantwich" then
frmwelcome.show

exit sub
end if
ive added a second txt called txtuser, the user name is eleanor, should i just add it under the first if statement changing the variables???