New Text Document
New Text Document
Database
Dim rst As DAO.Recordset
Dim strSQL As String
Dim lngUserID As Long
Dim strPassword As String
Dim strUserRole As String
Else
' User not found, display error
MsgBox "Invalid Password.", vbCritical, "Login Failed"
Me.txtpassword = ""
Me.cboUsername = ""
End If
' Clean up
rst.Close
Set rst = Nothing
Set db = Nothing