MS access db - copy one column from one db to another

Hi - I mistakenly added columns to the USDA database of food items, wrote a whole application around it, and now have a horrid task to update the USDA records, when a new rev of their database releases.

Long-term we have a solution to split this custom data out into it's own table, but in the near term, I'm trying to copy our custom column from the old USDA database to the new one - but need to match up the records.

I don't have the proper SQL syntax to make this work, but it needs to be something like UPDATE sr27 database NUT_DATA.Img  FROM  sr21 database NUT_DATA.Img WHERE sr21.NDB_No = sr27.NDB_No

Is there a way to do this from two different databases? Or I can copy a table over to the new db first - either way. Can someone assist with the SQL syntax to accomplish this?

Thank you

Bill HendersonWeb MarketingAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

Rey Obrero (Capricorn1)Commented:
you can create a link to the table  from the other database then use it to update the table in your database

the syntax will be

update NUT_DATA INNER join NUT_DATA_Link
set NUT_DATA.Img=NUT_DATA_Link.Img

Note:  NUT_DATA_Link is the name of the table that created a link from the other database

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
Bill HendersonWeb MarketingAuthor Commented:
Perfect - the SET command. That did it! Thanks for the help.
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.