G
Guest
This simple stmnt has been giving me so many problems... what is wrong..
please help!! thanks!
Dim rsLogin As Recordset
Dim strUserName As String
Set db = CurrentDb
strUserName = CStr(cmbUserName.Value)
Set rsLogin = CurrentDb.OpenRecordset("SELECT * from tblUsers WHERE
[UserName] = '" & strUserName & "'")
please help!! thanks!
Dim rsLogin As Recordset
Dim strUserName As String
Set db = CurrentDb
strUserName = CStr(cmbUserName.Value)
Set rsLogin = CurrentDb.OpenRecordset("SELECT * from tblUsers WHERE
[UserName] = '" & strUserName & "'")