Suppress column and remove blank space in crystal report

I am working on Microsoft Visual Studio 2003.

I am looking for a way to suppress a column if it is empty, and replace the empty space left by other columns.

I am looking everywhere but cannot find a compatible way for version 2003.

Is there an easy way? I appreciate any help.

+5
source share
5 answers

Crystal Reports does not have an automatic (or simple) way to dynamically move columns.

You might want to consider a few heading sections and details that might come close to this - just turn off sections containing fields with NULL values.

+5
source

" ". "" → "" "". → "" ", ".

, 2003

+1

, " ", " " → "" ( ) , " "

if isnull({FieldName} ) then 
true 
else
false
+1

, . , . " ", " ". , , 1.

, ; , , , . 2 , .

" " , , " ", .

+1
source

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.

0
source

All Articles