Link to home
Start Free TrialLog in
Avatar of SimonJohnG
SimonJohnG

asked on

Search field and replace two others

This may be simple to all but just cant get my head around :(

I would like to search for a value in FA_COST_NOM and if found replace the values in both FA_DISP_NOM and FA_REVAL_NOM, all three fields are in the same FA_ACCOUNTS table.

i.e.

FA_COST_NOM    FA_DISP_NOM    FA_REVAL_NOM
11980                   11960                  11950

If 11980 is found change the other two fields to 11960 and 11950 respectively. There may be multiple records with 11980 in them.

Please help.
Regards
S
ASKER CERTIFIED SOLUTION
Avatar of Chris Millard
Chris Millard
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SimonJohnG
SimonJohnG

ASKER

Thank you so much, easy when you know how! Hopefully didnt take up too much of your holiday, anywhere nice?
S
:-) Indoors - trying to use up holiday allocation rather than losing it!