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

insert trigger

Status
Not open for further replies.

GerryGoldberg

Technical User
Apr 12, 2001
55
I have written an insert trigger that simply takes the inserted data (from the inserted table and inserts into another table, e.g. tblHistory). This trigger seems to work fine when I insert target records using SQL 7 Server Enterprise Manager. I insert a row in the target table (tblTrans) and it appears in the tblHistory table.

However, when I try to do the same thing in Access 97 (no code involved--I just try to insert a row to my linked target table in datasheet view), I get a SQL error:
ODBC--Insert on linked table tblHistory failed
followed by a message:
Invalid object name 'mSysConf' (#208)

What am I doing wrong in Access? Any suggestions?

Thanks,

Gerry Goldberg
 
Correction:

The first error that I get references tblTrans and not tblHistory. Also, I don't always get the second error.

Thanks,

Gerry Goldberg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top