I'm not sure where to begin. I need to synchronize two data tables. Table1 is the one I work with for queries, reports, automation. Table2 is the official data source which is updated weekly. The two are nearly identical except I added a primary key to Table1. I can't modify Table2 and it identifies records by an ID field that changes, but is always unique. (It's a 6 character field. The sixth character changes, but several records have the same first five digits. No two records have the same 6 characters.)
Do I loop through each field and update Table1 with the changed data from Table2 (matching records by the closest matched ID fields), or do I add my primary key to Table2 (matching records by the closest matched ID fields again) and rename the tables so all my procedures now refer to the updated table?
Can someone give me suggestions in code?
Thanks
Marty
Do I loop through each field and update Table1 with the changed data from Table2 (matching records by the closest matched ID fields), or do I add my primary key to Table2 (matching records by the closest matched ID fields again) and rename the tables so all my procedures now refer to the updated table?
Can someone give me suggestions in code?
Thanks
Marty