bandr0
06-06-2007, 05:54 AM
Hi,
Im using an append query to update one table depending on what gets entered into another one(contable -> companytable). Im running this as part of the click to add details from a form to contable, it takes whatever is entered into the company column on contable and adds it to the company column on the other table.
Ive set the second table not to allow duplicates because thats how i need it but this means that whenever it runs the append query it comes up with an error saying that it couldnt copy X amount of entries(as they would be duplicates). It does only copy the new one but how can i set it to only try and copy the new entry instead of all of them so i no longer get this error message. is it possible to intergrate an unmatched query into the append query?
hope thats not too confusing reading! any ideas?
Thanks
James
Im using an append query to update one table depending on what gets entered into another one(contable -> companytable). Im running this as part of the click to add details from a form to contable, it takes whatever is entered into the company column on contable and adds it to the company column on the other table.
Ive set the second table not to allow duplicates because thats how i need it but this means that whenever it runs the append query it comes up with an error saying that it couldnt copy X amount of entries(as they would be duplicates). It does only copy the new one but how can i set it to only try and copy the new entry instead of all of them so i no longer get this error message. is it possible to intergrate an unmatched query into the append query?
hope thats not too confusing reading! any ideas?
Thanks
James