If Me.txtpass = DLookup(“[password]”, “user”, “[user_mame]= ‘” & Me.txtmame & “‘”) Then
I have problem show me in the txtmame for login I need help please
this is the full code::::below….
Private Sub Command4_Click()
If Me.txtpass = DLookup(“[password]”, “user”, “[user_mame]= ‘” & Me.txtmame & “‘”) Then
DoCmd.OpenForm “home”
DoCmd.Close acForm, “login”
Else
MsgBox “Invalid username or password!!”, vbInformation, “Error”
End If
End Sub
I need help Please
Ali Muttaleb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.