I am currently using crystal to report on data from a ODBC. Our database chooses to show all numeric values as positive, relying on a receipt/debit field to verify whether the numeric field is an inflow or outflow. I am trying to change the value to correctly reflect a negative number for outflows. I have been tried the following If Then statement
If {R/D} = "D" then {N} = {N}*-1 else {N} = {N}
This statements still provides my positive figures correctly, but my "D" numbers disappear instead of swithing to a negative. Any suggestions?
If {R/D} = "D" then {N} = {N}*-1 else {N} = {N}
This statements still provides my positive figures correctly, but my "D" numbers disappear instead of swithing to a negative. Any suggestions?