Advertisement
Guest User

Untitled

a guest
Aug 5th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. Username.SetFocus
  2. If Username = "user1" And Password = "user1" Then
  3. MsgBox "Access Granted", vbInformation, "CD Shop"
  4. MsgBox "Welcome", vbInformation, "CD Shop"
  5. DoCmd.Close
  6. DoCmd.OpenForm "F_Switchboard"
  7. Else
  8. MsgBox "Please re-enter your Username and Password."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement