Microsoft 365 and Office | Access | Development
The creation and customization of database applications using Microsoft Access
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
How to fix this?
Check a fix:
. . .
cmd.CommandText = "SELECT 1 FROM logininfo WHERE username = ? and StrComp([password], ?, 0) = 0"
. . .
If rd.Read
MessageBox.Show("Logged In Successfully")
Users.Show
Else
MessageBox.Show("Invalid username or password!")
End