Guest User

Untitled

a guest
Jul 15th, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 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."
  9. End If
Add Comment
Please, Sign In to add comment