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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

With ADO - I can read but not write - why?

Status
Not open for further replies.

tcace

Programmer
Jun 27, 2004
10
US
Hello,

Using VB 6 with it's "ADODB" controls to connect with an Access MDB. The connection sets up fine, reads data no problem, even let's me search, etc.

But when I try to write data back, the error message is "Insufficient base table information for updating or refreshing."

If I use the exact same properties in code with an ADO Recordest object, it works fine - unfortunately, I need to use the built in ADODB control as the source for a DataGrid control.

What would cause this error and more important - is it easy to fix?

Thanks!!!
Todd
 
It is sometimes caused by using a server side rather than client side cursor. Unlike its DAO equivalent, the ADO DataGrid does not require a data control as its recordsource. You can specify an ADO recordset as the data source and it works just fine.
 
Golom,

I switched to an object based recordset in code and now it works fine.

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top