user1030181
user1030181

Reputation: 2015

How to supress crystal report section based on codition

How to supress crystal report section based on condition. When this booleen flag is true then supress else dont supress

If{Table.FlagCustomerLotNumber}=True
Then False
Else True

But this one does not work

Upvotes: 0

Views: 78

Answers (1)

Jim Lutz
Jim Lutz

Reputation: 139

Use Section Expert, select the section to suppress. Then check the box next to "Suppress", click the formula button (looks like x+2 with a pencil), and enter your formula there. For a boolean value you only have to enter the field, like this:

{Table.FlagCustomerLotNumber}

This will suppress if the flag is true and not if false.

Upvotes: 1

Related Questions