suppress line conditional in crystal report
You can't conditionally suppress a line in CR. I know of two options to get around that:
- Put the line in its own section and then conditionally suppress the section.
- Put a textbox over the line and then conditionally format the background of the textbox by right-clicking on the textbox -> Format Field -> Border tab -> check Background check box -> click "x+2" box to enter conditional formula, The formula would be something like
if condition then crWhite else NoColor
, wherecrWhite
will hide the line,NoColor
will show it.