Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

suppress text object if field value is null in crystal

I am trying to suppress the text value in crystal by right clicking on the text object, selecting suppress and hitting the x2 button and adding the formula

isnull(field) 

When I look at the print preview the text is still there when the field value is null.

like image 545
Sash Avatar asked Sep 06 '14 01:09

Sash


1 Answers

In the formula section, I changed the code from

isnull(field)    

to

if {field} = "" then 
 true;
like image 141
Sash Avatar answered Oct 14 '22 00:10

Sash