Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Insufficient Base Table Information

Status
Not open for further replies.

Sam63

Technical User
Nov 19, 2001
18
US
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
 
You'd be much better off using an update query.

Wil Mead
wmead@optonline.net

 
what is an update query???

Sam
 
Sam63,

Do you have the problem still? I have exactly the same message, although this time I am updating the table via a DataGrid connected to an ADO.

As to Wilmead's reply above, which event would I put the Update query?

Thanks and regards...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top