I have a form in access that I am trying to open if a username and password is valid. I keep getting Access can't find the Form error message. Below is the code I am using
Code:
Private Sub Command5_Click()
Dim Login As String
Login = TxtLoginPassword
If Login = "yalexander140843" Then
Forms![FrmSplash].Open
Else
MsgBox "Invalid Login", vbOKOnly, "Login Verification"
End If
End Sub