A little help please.
In Access I have two tables (1 and 2), and the task is to insert tbl_2 into tbl_1.
• No new records should be created in tbl_1.
• tbl_1 and tbl_2 have a common field.
• The number of fields in both tables are known and will not change.
• tble_1 has fields that tbl_2 does not have.
• tbl_2 has some fields that tbl_1 does not have. These should be ignored.
• Creating a new tbl_3 instead of directly replacing tbl_1 is acceptable.
Example
The matching field in “b”
Table 1:
key a b c
--- ----------- ---------- -------
k0 hello dear world
k1 bye cruel world
k2 welcome outta world
k3 turulu
k4 welcome outta
k5 turulu dear
Table 2:
key b d
--- ------- -------
K0 dear john
K1 cruel ann
Table 3 (the new tbl_1):
key a b c d
--- ----------- ------- ------- -------
k0 hello dear world john
k1 bye cruel world ann
k2 welcome outta world
k3 turulu
k4 welcome outta
k5 turulu dear john
I'm new to Access and I must be missing something because I end up with duplicate records. Any help would be greatly appreciated.
In Access I have two tables (1 and 2), and the task is to insert tbl_2 into tbl_1.
• No new records should be created in tbl_1.
• tbl_1 and tbl_2 have a common field.
• The number of fields in both tables are known and will not change.
• tble_1 has fields that tbl_2 does not have.
• tbl_2 has some fields that tbl_1 does not have. These should be ignored.
• Creating a new tbl_3 instead of directly replacing tbl_1 is acceptable.
Example
The matching field in “b”
Table 1:
key a b c
--- ----------- ---------- -------
k0 hello dear world
k1 bye cruel world
k2 welcome outta world
k3 turulu
k4 welcome outta
k5 turulu dear
Table 2:
key b d
--- ------- -------
K0 dear john
K1 cruel ann
Table 3 (the new tbl_1):
key a b c d
--- ----------- ------- ------- -------
k0 hello dear world john
k1 bye cruel world ann
k2 welcome outta world
k3 turulu
k4 welcome outta
k5 turulu dear john
I'm new to Access and I must be missing something because I end up with duplicate records. Any help would be greatly appreciated.