Crystal Reports, Suppressing a details based on condition

Matthew picture Matthew · Apr 27, 2011 · Viewed 27.7k times · Source

I have a report that has 7 details sections. One of the details is a disclaimer that prints on the back of the letter. What I need is to have that disclaimer print only on 3 of the six remaining details sections. The six remaining details print based on their letter type and are identified by P 1-3 and S 1-3. I need to have the disclaimer print only on the P letters.

I was hoping there was a formula similar to

if {RENFUP.RFBAIT} = "S" then suppress details g

I just don't know how to accomplish the suppress details g portion of the formula. Any advice would be appreciated.

Answer

craig picture craig · Apr 28, 2011

Suppression formula would be:

{RENFUP.RFBAIT}="S"

A suppression formula doesn't need the IF or THEN part, just a condition that will return a boolean value.