Link to home
Create AccountLog in
Avatar of Anthony
AnthonyFlag for United States of America

asked on

Problem performing update query in Access 2010

Hey all,

I have a table (Over_Ride_Chain) that has three columns:  Chain, Old_Dept, and New_Dept.  

The chain field is lined to the chain in another table called BILMAC_CHNMSTR and they a column from that table called SSSTOR is then liked to MBSTOR in another table labeled MBRMSTR_Specs.

I'm trying to create an update query for when the Chain matches the Chain/Store from MBRMSTR_Specs it will update the MBDEPT in the MBRMSTR_Specs.  There is a problem with the logic in my criteria.  I need the Old_Dept field in the Over_Ride_Chain table to equal the MBDEPT field in the MBRMSTR_Specs table and then to update it to the corresponding value from the Over_Ride_Chain.

I know it might be confusing, so here is what the Over_Ride_Chain table looks like:

Chain   Old_Dept   New_Dept
3002    35               3
3004    35               3

and etc, there are about 7 rows of data.  If anyone could help me with this, I'd really appreciate it.
ASKER CERTIFIED SOLUTION
Avatar of Anthony
Anthony
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Anthony

ASKER

Didn't receive responses back on the question, so I was able to develop my own solution.