I have 3 tables that I pulled from external sources, none of which came with ID fields or primary keys. I ran a simple sql statement on all three tables to add primary keys. The three tables are: tblRevByDirMgr tblAssumpByDirMgr and tblSFADetailByDirMgr. Each table has many fields that are common in the other two tables so I knew had to set up primary keys in each as a basis for establishing a relationship. I also know that I have to create my junction tables to join the others in one-to-many relationships. My issue is this: I've seen many tutorials on how to create junction tables and edit relationships when tables are empty in the design stage. But when I have imported tables that are already populated, how do I populate the Junction table with data from the other tables to create my foreign key fields? I tried an Update query with no success.
The tables and field names are in the attached. My goal is to join all three tables. I know that this probably must happen in 2 steps. I can't that far though until I get over this first hurdle. Hope I haven't omitted vital info. Help!
The tables and field names are in the attached. My goal is to join all three tables. I know that this probably must happen in 2 steps. I can't that far though until I get over this first hurdle. Hope I haven't omitted vital info. Help!