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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
:-) Indoors - trying to use up holiday allocation rather than losing it!
ASKER
S