Friday, June 20, 2008

Dot Net Crystal Reports Supress if 0 property

This is common problem of dot net programmers (specially starters) that how to supress a filed if its value is 0.
The ans is very simple.
Right click the field in the report designer screen.
Click format
Then on the right side of supress filed their is another formula field. click that field
then when a new screen appears type in the formula bar current value = "0"
Thats it friends...........

Another way of doing this is with the help of coding. When you are getting the value from the data set then pass zero string in the array when this condition occurs.

0 comments: