Using Access 2007.
I am using append to move query data from one database to another.
Database1 has a lone table (TABLE_A) with one data field Key_ID set up with unique keys and a couple fields filled with records.
I am sending the query results to the table (TABLE_B1) in the Database2. Ths table has a set structure of fields, but is empty, i.e. no records. It is linked to another table (TABLE_B2) by its primary key, which is set to autonumber. When I try and append my Query results from Database1 to Database2 I keep getting a key violation and don't know why??
Anyone willing to give an answer? When I send all of the fields but the Key field of my original Table_A, it works and loads the foreign tables key with the autonumbers you would expect.
I am using append to move query data from one database to another.
Database1 has a lone table (TABLE_A) with one data field Key_ID set up with unique keys and a couple fields filled with records.
I am sending the query results to the table (TABLE_B1) in the Database2. Ths table has a set structure of fields, but is empty, i.e. no records. It is linked to another table (TABLE_B2) by its primary key, which is set to autonumber. When I try and append my Query results from Database1 to Database2 I keep getting a key violation and don't know why??
Anyone willing to give an answer? When I send all of the fields but the Key field of my original Table_A, it works and loads the foreign tables key with the autonumbers you would expect.