crystal-reportscrystal-reports-2010

Crystal Reports formatting values by parameter


I have a formula which shows the decimal points

IF {?ShowDecimals} = "Y"
 then 
 Round ({?Box1CY},2 )
 Round ({?Box2CY},2 )

Box1CY and Box2CY are my text fields; ShowDecimals = "Y" or "N" I want to toggle decimal points. Could you help me to do that?


Solution

  • You cannot control the display formatting of one parameter using the value of another parameter (unless you wish to write your own Crystal Reports viewer application).