I'm using Visual Studio 2010 and Crystal Reports for Visual Studio. I'm a newbie to this environment. I have searched for the answer and couldn't find it.
Is there a way to suppress the printing of an individual print line if it is blank?
Details: I have a report where in a particular section there are "mandatory" print lines and "optional" print lines, in pairs. There are approx. 30 of these. What we need to do is print each mandatory line and then, if the associated optional line is NOT blank, print it next. Else (if blank) don't print it and don't leave a blank line (in which case the next mandatory print line would print immediately next on the very next line. There is only one field in the "optional" print line, this field would be tested to see if it is blank.
The dataset/datatables containing these fields is built and populated in VB code and is then "pushed" to the CR.
So, is this possible - is there a way in the CR to suppress the printing of an individual print line if it is blank (using CR formulas or whatever)?
Is there a way to suppress the printing of an individual print line if it is blank?
Details: I have a report where in a particular section there are "mandatory" print lines and "optional" print lines, in pairs. There are approx. 30 of these. What we need to do is print each mandatory line and then, if the associated optional line is NOT blank, print it next. Else (if blank) don't print it and don't leave a blank line (in which case the next mandatory print line would print immediately next on the very next line. There is only one field in the "optional" print line, this field would be tested to see if it is blank.
The dataset/datatables containing these fields is built and populated in VB code and is then "pushed" to the CR.
So, is this possible - is there a way in the CR to suppress the printing of an individual print line if it is blank (using CR formulas or whatever)?