Run Time Error '2450' Access Can't Find Form

bconner

Registered User.
Local time
Today, 10:49
Joined
Dec 22, 2008
Messages
183
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
 
DKinley, that worked perfectly! Thank you so much for your help, I appreciate it.....
 

Users who are viewing this thread

Back
Top Bottom