Hi All
I have recently contructed an Access DB which is used to search for new records over an ODBC connection on our AS400. When it finds new entries it then appends them to a second Access DB at regular intervals for user input.
The query works fine in so far as it appends the appropriate records however due to the nature of how the AS400 tables are contructed it will on occasion find a duplicate entry on the linked table. This is not presenting any issues for the user DB as I have configured it with the correct primary keys to avoid this, however when it encounters these duplications it seems to halt the query pending a user response. I get a message which reads
"Microsoft Access can't append all the records in the append query
Microsoft access set 0 field(s) to Null due to a type conversion failure, and it didn't add 1 record(s) to the table due to key violations, 0 record(s) due to lock violations, and 0 record(s) due to valudation rule violations.
Do you want to run the action query anyway?
To idnore the error and run the query, click Yes."
This brings me to my question...
Is there a way of stopping the error message from coming up or a method to ignore these errors?
help as always is appreciated.
I have recently contructed an Access DB which is used to search for new records over an ODBC connection on our AS400. When it finds new entries it then appends them to a second Access DB at regular intervals for user input.
The query works fine in so far as it appends the appropriate records however due to the nature of how the AS400 tables are contructed it will on occasion find a duplicate entry on the linked table. This is not presenting any issues for the user DB as I have configured it with the correct primary keys to avoid this, however when it encounters these duplications it seems to halt the query pending a user response. I get a message which reads
"Microsoft Access can't append all the records in the append query
Microsoft access set 0 field(s) to Null due to a type conversion failure, and it didn't add 1 record(s) to the table due to key violations, 0 record(s) due to lock violations, and 0 record(s) due to valudation rule violations.
Do you want to run the action query anyway?
To idnore the error and run the query, click Yes."
This brings me to my question...
Is there a way of stopping the error message from coming up or a method to ignore these errors?
help as always is appreciated.