pls help I have created a login form which opens up another form teh code looks like this:-
ElseIf strUser = "user4" And Password = "user4" Then
MsgBox "Access Granted"
DoCmd.Close
DoCmd.OpenForm "Manchester", , , "[Service Centre / Satellite] = 'Manchester'", , , strUser
can any one tell me if there is a way I can add more service centers i.e when the user puts in the username and pword it will give them information for manchester,chester,nwales, penrith and preston.
how would the above service centers get incorportated into the code above have tried everything but i am new to access pls help.
ElseIf strUser = "user4" And Password = "user4" Then
MsgBox "Access Granted"
DoCmd.Close
DoCmd.OpenForm "Manchester", , , "[Service Centre / Satellite] = 'Manchester'", , , strUser
can any one tell me if there is a way I can add more service centers i.e when the user puts in the username and pword it will give them information for manchester,chester,nwales, penrith and preston.
how would the above service centers get incorportated into the code above have tried everything but i am new to access pls help.