Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cconditional Section Suppression

Status
Not open for further replies.

huizhao

Programmer
Feb 24, 2003
3
AU
I'm working on a report that requires a section not be displayed or not be printed under specific conditions:


IF {table.codevalue} = 0 then not display the section
and
IF Parameter {?Print Section}="No" then not print the section


Any suggestions will be well appreciated. Thanks.
 
For Crystal 8.5, you can suppress as follows:

Right-click and select [Format Section]

Select the formula [X+2] for Suppress

Enter your rule. In your case it would be {table.codevalue} = 0, with the 'IF' etc. assumed Madawc Williams
East Anglia
Great Britain
 
PS. You'll find lots of hints like this in forum767 Madawc Williams
East Anglia
Great Britain
 
No IF required, just use:

{table.codevalue} = 0
OR
{?Print Section}= "No"

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top