Username - Setfocus If Username "User1" Then Msgbox "Access Granted", Vbinformation Docmd - Close Else MSG "Please Reenter Username" End Sub

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

Username.SetFocus If Username= "user1" Then MsgBox "Access Granted", vbInformation DoCmd.

Close Else Msg "Please reenter Username" End Sub

You might also like