It was difficult for me to hide the column name if its field value is null in the Crystal report in Visual Studio 2008. I am writing code ({tableName.FiledName})="".
It is very simple. Just right-click the column name, select the format object, then a window will open. On the general tab, select the Suppress check box. Click the x-2 icon next to suppression, then the formatting formula editor opens, write the code ({tableName.FiledName})="", then save and exit. If you make a mistake, the editor will display an error message. You will notice that the column name will be dimmed or disabled.
source
share