Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

suppress line conditional in crystal report

I've a vertical line that i want to suppress with a condition. Unfortunately I don't see the condition option by a line. When I use an empty textbox, all the other text is moved down. Is there conditional another suppress option for a line?

like image 268
Shohel Avatar asked Dec 10 '13 03:12

Shohel


1 Answers

You can't conditionally suppress a line in CR. I know of two options to get around that:

  1. Put the line in its own section and then conditionally suppress the section.
  2. 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, where crWhite will hide the line, NoColor will show it.
like image 171
campagnolo_1 Avatar answered Sep 22 '22 07:09

campagnolo_1