G
Guest
I created a database with a Master Table of parts related many to one with a
table of departments. They are related on a Dept_ID field which is a number
long integer format. I used update queries for each of the 52 departments to
originally populate the Dept_ID field in the parts tablewhich has around 4200
records in it.
This Master Parts table originally came from a text file generated by an
outside company. I have just been given access to the outside companies
database of our parts with the software to generate the parts table updated
every month.
I have created an import spec and am using the “TransferText†Method to
bring in the new table, but I would like to set it up so the new table
replaces the old table preserving the relationships already created in my
database.
Two questions: 1) I guess I could sequence 50 separate update queries after
the TransferText line in my code but is there a better way? And 2)Is this an
uphill battle I am fighting attempting to replace the main table on a regular
basis while maintaining the base structure of the database?
As Always Thank you for any ideas
table of departments. They are related on a Dept_ID field which is a number
long integer format. I used update queries for each of the 52 departments to
originally populate the Dept_ID field in the parts tablewhich has around 4200
records in it.
This Master Parts table originally came from a text file generated by an
outside company. I have just been given access to the outside companies
database of our parts with the software to generate the parts table updated
every month.
I have created an import spec and am using the “TransferText†Method to
bring in the new table, but I would like to set it up so the new table
replaces the old table preserving the relationships already created in my
database.
Two questions: 1) I guess I could sequence 50 separate update queries after
the TransferText line in my code but is there a better way? And 2)Is this an
uphill battle I am fighting attempting to replace the main table on a regular
basis while maintaining the base structure of the database?
As Always Thank you for any ideas