Crystal reports 抑制节水晶报告中的行
所以我的两个子报告一个接一个地来了。在这种情况下,我得到了两行 一个接一个(一个来自子报表1页脚,另一个来自子报表2页眉)Crystal reports 抑制节水晶报告中的行,crystal-reports,Crystal Reports,所以我的两个子报告一个接一个地来了。在这种情况下,我得到了两行 一个接一个(一个来自子报表1页脚,另一个来自子报表2页眉) 现在,当有第二个子报告被搁置时,我需要抑制第一个子报告中的行。您有任何条件隐藏或显示子报告吗?您希望总是对SubRpt 1隐藏页脚还是有条件地隐藏页脚? Hi All I have a report having two sub reports In 1st sub report i have a line in report header and footer. And
现在,当有第二个子报告被搁置时,我需要抑制第一个子报告中的行。您有任何条件隐藏或显示子报告吗?您希望总是对SubRpt 1隐藏页脚还是有条件地隐藏页脚?
Hi All I have a report having two sub reports
In 1st sub report i have a line in report header and footer.
And in 2nd sub report i have a line in report header and footer.
I have not tried this solution but I think it will help.
1] Create a global variable in your second sub report.
2] Set its counter to 0 and increment its value with the number of rows you are getting in 2nd sub report.
3] On 1st sub report go to format sub report and in suppress formula check whether global variable is greater than 0 if yes then it will suppress 1st sub report.
Not sure with the execution flow of crystal reports but its worth giving a try. let me know if you succeed.
Thanks,
Pratik