Is it possible to use Access to Update fields on the AS400? I have an ODBC connection, and linked tables to the AS400. I've tried creating an update query to update certain fields. Here is my SQL:
UPDATE EZTAX30DTA_TXEVNTD SET EZTAX30DTA_TXEVNTD.EI2RPLCDE = "REPLYNONE", EZTAX30DTA_TXEVNTD.EI2RPLDAT = 20061228
WHERE (((EZTAX30DTA_TXEVNTD.EI2INSSNT)="TARGETLT00") AND ((EZTAX30DTA_TXEVNTD.EI2DATDUE)=20061115) AND ((EZTAX30DTA_TXEVNTD.EI2RPLCDE)=""));
The error I get when running this query is:
ODBC-update on a linked table 'EZTAX30DTA_TXEVNTD' failed.
[IBM][iSeries Acces ODBC driver][DB2 UDB]SQL7008-TXEVNTD in EZTAX30DTA not valid for operation.
I've even tried this in a pass-through query.
I have my ODBC settings correct with Read/Write SQL Statements checked.
Any suggestions?
UPDATE EZTAX30DTA_TXEVNTD SET EZTAX30DTA_TXEVNTD.EI2RPLCDE = "REPLYNONE", EZTAX30DTA_TXEVNTD.EI2RPLDAT = 20061228
WHERE (((EZTAX30DTA_TXEVNTD.EI2INSSNT)="TARGETLT00") AND ((EZTAX30DTA_TXEVNTD.EI2DATDUE)=20061115) AND ((EZTAX30DTA_TXEVNTD.EI2RPLCDE)=""));
The error I get when running this query is:
ODBC-update on a linked table 'EZTAX30DTA_TXEVNTD' failed.
[IBM][iSeries Acces ODBC driver][DB2 UDB]SQL7008-TXEVNTD in EZTAX30DTA not valid for operation.
I've even tried this in a pass-through query.
I have my ODBC settings correct with Read/Write SQL Statements checked.
Any suggestions?