I need to compare two identical (in terms of design) tables, and then take an action depending on the comparison. To be more specific, I need to take FieldX from Table1, and look in Table2 to see if there is a record with a matching value of FieldX.
If there isn't a match, the entire record gets copied from Table1 and added to Table2.
If there is a match, specific fields get copied from Table1 and overwritten into the record in Table2.
I am familiar with SQL, and plan to write an SQL script to accomplish this task. Does Access have a built in feature that could perform this task? Any suggestions on how to build the SQL statement?
Thanks!
If there isn't a match, the entire record gets copied from Table1 and added to Table2.
If there is a match, specific fields get copied from Table1 and overwritten into the record in Table2.
I am familiar with SQL, and plan to write an SQL script to accomplish this task. Does Access have a built in feature that could perform this task? Any suggestions on how to build the SQL statement?
Thanks!