Use a function in update query

I have a table called isbnCodesTbl, in my Access 2003 database (see below).  Data is regularily imported into my webproducts table.  Webproducts has a field called isbn with a numberical value for each product. The isbn code corresponds to the isbn field in isbnCodesTbl.  I want a query to update a 2nd webproducts field called ExtText3 with the description that corresponds to the isbn code.

EG: update exttext3 with ConvertFunc([isbn])

isbn      desc
0      available, displayed
12      Duplicate SKU, not displayed
11      Has a New SKU#, not displayed
9      No longer in Inventory, not displayed
6      Out of Stock, can by reserved, display
8      Out of Stock, not displayed
7      Phone Order Only, displayed
10      Seasonal, not displayed
13      Sold by client's organization, displayed
1      Waiting for Instructions, not displayed
2      Waiting for Picture, not displayed
4      Waiting for Size, not displayed
5      Waiting for SKU, not displayed
3      Waiting for Text, not displayed
14      Waiting for Web Page, not displayed
15      Requested off website, not displayed

Thanks for any suggestions.

David
DavidDF1913Asked:
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.

adamdrayerCommented:
I'm not a SQL guy and this is not the SQL area, but it would be something like this:

UPDATE WebProducts INNER JOIN isbnCodesTbl ON WebProducts.isbn = isbnCodesTbl.isbn SET WebProducts.Description = [isbnCodesTbl].[Description];

and you can also throw in:
WHERE (WebProducts.isbn) = 10)) 'or whatever

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
adamdrayerCommented:
only substitute the correct field names.  Like WebProducts.Description would become WebProducts.exttext3
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
Windows Networking

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.