I have tried and tried and now i must try the forum
I have two tables which are linked with an ID field.
In table 1 the ID is an autonumber, in table 2 ID is a number. All records in table 2 that are related to a record in table 1 have the same number in the ID field.
I can append each table on its own to a new table.
But when i append the first table i append all fields accept the ID so a new ID is assigned via autonumber.
The problem is since each record in the first table has a new ID it breaks the link with table 2, as they are joined by the [ID] field.
table 1: (ID = autonum)
[ID] [other fields]
table 2: (ref = autonum)
[ref] [ID] [other fields]
How do i get around this problem and append table 1 and table 2 and table 2's ID field gets updated to reflect the change in ID field in table 1.
If this need further explaining please let me know.
Many thanks Kris.
I have two tables which are linked with an ID field.
In table 1 the ID is an autonumber, in table 2 ID is a number. All records in table 2 that are related to a record in table 1 have the same number in the ID field.
I can append each table on its own to a new table.
But when i append the first table i append all fields accept the ID so a new ID is assigned via autonumber.
The problem is since each record in the first table has a new ID it breaks the link with table 2, as they are joined by the [ID] field.
table 1: (ID = autonum)
[ID] [other fields]
table 2: (ref = autonum)
[ref] [ID] [other fields]
How do i get around this problem and append table 1 and table 2 and table 2's ID field gets updated to reflect the change in ID field in table 1.
If this need further explaining please let me know.
Many thanks Kris.