Conditional Line Printing
Posted: Wed Sep 08, 2004 12:22 pm
I^ve created a fairly complex report in R&R Version 10 which requires me to make use of the conditional line printing of bands in a group footer and in the page footer. I^m trying to set the condition such that the band lines only print on the last page of the report. I^ve attempted accomplishing this through two different methods. The first method I used was creating a calculated field(lastpg) in which the expression was LASTPAGE()=Page_rr. Then I set the control field for the band lines as lastpg. The second method I used was creating three calculated fields (currpage, finalpage, lastpg). The expression for currpage was REPORTPAGE(). The expression for finalpage was LASTPAGE(). The expression for lastpg was currpage=lastpage. I^ve also tried setting the expression for lastpg to IIF(currpage=lastpage, True, False).____The problem that I^m encountering is that the conditional printing works perfectly when I run the report from the Report Designer. However, when I run the report in the Report Viewer or try to run it from a shortcut created with the Quick Runtime Shortcut utility, the band lines assigned with the conditional printing do not print out nor appear in the print preview.____Has anyone else run into this issue? More importantly can anyone help me out with a solution to this issue?____Thanks in advance for any and all responses.____Wes Hopkin__Consultant__VAST Software, Inc.