FALCONSEYE
Programmer
I have the following fields in tblA
itemID fieldName fromVal toVal
110 end date 08-JUN-11 10-JUN-11
123 cost 8 9
123 quantity 1 6
157 quantity 4 1
If the field name contains cost or quantity for the same itemIDs, I have to display the result as:
cost is changed from 8*1=8 (fromVal*fromVal) to 9*6=54 (toVal*toVal) for itemID 123.
any help will be appreciated.
itemID fieldName fromVal toVal
110 end date 08-JUN-11 10-JUN-11
123 cost 8 9
123 quantity 1 6
157 quantity 4 1
If the field name contains cost or quantity for the same itemIDs, I have to display the result as:
cost is changed from 8*1=8 (fromVal*fromVal) to 9*6=54 (toVal*toVal) for itemID 123.
any help will be appreciated.