Click here to Skip to main content
15,896,414 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am working on crystal report.

I have a Running total field on crystal report(formula field) and I want to change that field value.

It is by default 0 but I want that when it is 0 it must display '--'.

How to do this?

thank you
:)
Posted
Updated 24-Oct-10 21:49pm
v2
Comments
Dalek Dave 25-Oct-10 3:49am    
Edited for Grammar and Readability.

1 solution

Check for expressions/formula. You can put have a condition on the field. If it is '0' then display as '--'.

Select Expert -> Formula..
It's like having a if condition for visibility. Try!
 
Share this answer
 
Comments
Dalek Dave 25-Oct-10 3:49am    
Good Answer.
Ankur\m/ 25-Oct-10 5:28am    
[moved from answer]
Ahiri wrote:
hi

i tried this
but it giving me error
like needed string
and my field in number.
can you give me code?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900