CrystalUser1
Programmer
Hi,
I have a summarized number field in cross tab. In order to display nulls as zeros and also to have the format depending on the field type, i have created a formula and using that formula as summarized field.
if isnull({employee.salary}) then 0
else
if {employee.type} ="manager" then
truncate({employee.salary})
else if {employee.type} ="employee" then
truncate({employee.salary},1)
I used kind of formatting using truncate etc., in the above formula. but because its a number field, the default number format of the crystal is overriding the above format.
How to not use the default number format in the crystal. I want to use the format that I used above.
Please help.
thanks in advance.
I have a summarized number field in cross tab. In order to display nulls as zeros and also to have the format depending on the field type, i have created a formula and using that formula as summarized field.
if isnull({employee.salary}) then 0
else
if {employee.type} ="manager" then
truncate({employee.salary})
else if {employee.type} ="employee" then
truncate({employee.salary},1)
I used kind of formatting using truncate etc., in the above formula. but because its a number field, the default number format of the crystal is overriding the above format.
How to not use the default number format in the crystal. I want to use the format that I used above.
Please help.
thanks in advance.