C
cbrashear
I have inherited 9 stand alone databases that need to be merged into one
package.
The problem is the auto number it is the primary key and unique Identifier
for aprox 20 tables in each database. Each database structure is identical so
when I merge the first set of data tables into the master I have no problems,
but after this I can not merge the additional databases sucsessfully. The
data comes in but does not look for its offsprings
Example
tblstudent
field studentID is a auto number
tblworkhistory
field studentID pulls auto number from tblstudent
Except all 9 database have auto number 1 in tblstudent. Now all nine attach
studentId to the first merged database in the master.
I believe I must go into each database and break all relationships. Then
change the auto number fields to number in all tables that have one to many
relationships. Next reestablish all relationships back to cascade update.
Next I would Renumber all old autonumber fields being sure the numbers are
higher than the preceding database. Lastly I would merge all tables into
master database which is still set as a auto number
This is the only way extemely time consuming. Am I on the right page or am I
making it to hard
package.
The problem is the auto number it is the primary key and unique Identifier
for aprox 20 tables in each database. Each database structure is identical so
when I merge the first set of data tables into the master I have no problems,
but after this I can not merge the additional databases sucsessfully. The
data comes in but does not look for its offsprings
Example
tblstudent
field studentID is a auto number
tblworkhistory
field studentID pulls auto number from tblstudent
Except all 9 database have auto number 1 in tblstudent. Now all nine attach
studentId to the first merged database in the master.
I believe I must go into each database and break all relationships. Then
change the auto number fields to number in all tables that have one to many
relationships. Next reestablish all relationships back to cascade update.
Next I would Renumber all old autonumber fields being sure the numbers are
higher than the preceding database. Lastly I would merge all tables into
master database which is still set as a auto number
This is the only way extemely time consuming. Am I on the right page or am I
making it to hard