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

adding a record to a sql table through access

Status
Not open for further replies.

tziviak2

MIS
Jul 20, 2004
53
0
0
US
I have a backend Table in sql-and I use access as the frontend. when I'm trying to add a record using the .addrecord and .update I get an error of
"run time error 3146"
odbc-call failed

any ideas?

I opened up the recordset with Select * FROM tbl where ...., dbOpenDynaset, dbInconsistent)
thank you
 
Since the table is a linked access table to an SQL database, the recordset that you have created by using select is a read only recordset.

You better insert a new record by using
Insert into tbl (col1, col2, col3) values ("a", "b", "c")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top