I'm getting the run time error:
Insuffcient base table information for updating or refreshing.
I am designing a login screen and I want to update a boolean field that indicates that someone is logged into the database. I have the login working but cannot get the record to update because of this error.
snippet of my code is below:
....
strQ = "select *from tblUsers where fldEmployeeID = " & "'" & txtUserID.Text & "'"
adoUsers.RecordSource = strQ
adoUsers.Refresh
....
adoUsers.Recordset.Fields("fldLoggedIn"
= True
adoUsers.Recordset.Update ****errors at this line******
adoUsers.Recordset.MoveNext
thanks for your help.
Sam
Insuffcient base table information for updating or refreshing.
I am designing a login screen and I want to update a boolean field that indicates that someone is logged into the database. I have the login working but cannot get the record to update because of this error.
snippet of my code is below:
....
strQ = "select *from tblUsers where fldEmployeeID = " & "'" & txtUserID.Text & "'"
adoUsers.RecordSource = strQ
adoUsers.Refresh
....
adoUsers.Recordset.Fields("fldLoggedIn"
adoUsers.Recordset.Update ****errors at this line******
adoUsers.Recordset.MoveNext
thanks for your help.
Sam