I am creating a Crystal Report using c# and I have to replicate a simple formula in 320 different parameters but always with the same condition as follows:
if ({Precios.AhorroE1}[1] = '-') then crGreen else ( crRed )
Each object has a different name (in the example aboce, Precios.AhorroE1 but I have to make the SAME condition for 320 different objects.
I've been trying to find a way to refer to the object that is evaluating the formula but I couldn't find it. I would like to know if it is possible to do something similar to:
if ({currentobject}[1] = '-') then crGreen else ( crRed )
Where currentobject
would be the object evaluating the formula.