Replace data in access table

Hi

I have an access database which has a table called Assen, in the table is a field called AsNummer (unique numbers) and Description (Text).  This table is then used as a lookup value in a number of other tables one of which is called Merkerlijst.

I have a copy of the database called old.mdb and a copy called new.mdb.  In the new.mdb I have had to loose all the data from Merkerlist and change the Asnummer values for different row data. (ie Asnummer 12  with Description "Track 1" is now Asnummer 5)

I have also added some extra fields to new.mdb

I now need to import the data from old.mdb's Merkerlijst table but in a way that the new data has the correct and updated Asnummer.

I think I can create a list of old asnummers vs new as I guess thats necessary but not sure where to go from here.

Cheers
LVL 1
simonwaitAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Helen FeddemaCommented:
You will need to run an update query to replace the old IDs with the new IDs in the table, linked by the Description field.  My recent Access Archon article on Fixing Normalization Errors may be helpful here.  Here is the link for downloading the article and sample database:
http://www.helenfeddema.com/Files/accarch229.zip
and here is a typical update query:
update query
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
simonwaitAuthor Commented:
Sorry I have got myself in a right muddle here with data.  Will sift through and then look at your suggestion cheers
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.