A
Alex
Hi
Have almost finished amalgamating a whole load of different databases into
one.
I have a main table which has four related tables on a one to many basis -
each kinked by the field RecordId.
I have cleaned up all the data apart from one issue. Within my main table I
have about 300 instances where we have two or more records for a single
company. These records all have related information in the other tables.
What I am trying to automate is to look at the first record for the company
and get the RecordId. I then need to look at the second record for the same
company get the Record Id number, then look at all the elated tables for the
second RecordID number, and update it to the first Record ID number, so that
they get linked to the first Record. i than then delete the second record
(which shouldn't have a ny related records)
Does that make sense.
Is there any easy way to do this please?
Thanks
Alex
Have almost finished amalgamating a whole load of different databases into
one.
I have a main table which has four related tables on a one to many basis -
each kinked by the field RecordId.
I have cleaned up all the data apart from one issue. Within my main table I
have about 300 instances where we have two or more records for a single
company. These records all have related information in the other tables.
What I am trying to automate is to look at the first record for the company
and get the RecordId. I then need to look at the second record for the same
company get the Record Id number, then look at all the elated tables for the
second RecordID number, and update it to the first Record ID number, so that
they get linked to the first Record. i than then delete the second record
(which shouldn't have a ny related records)
Does that make sense.
Is there any easy way to do this please?
Thanks
Alex