Show footer on last page only

后端 未结 1 1411
一个人的身影
一个人的身影 2020-12-21 13:33

I want to add footer on my report, but only on the last page. I followed this tutorial which was successful, but it leaves space for the footer on all pages.

<
相关标签:
1条回答
  • 2020-12-21 13:56

    I can only think of the following solution for your problem:

    First - don't use the build in Footer. Instead, use a sub-report that will contain your footer details.

    Now, you need to define the sub-report as thin as possible in the main report (while in the actual sub-report - arrange your data as you want).

    Then just implement the same concept as described in the link that you provided - means that you need to define an expression in the sub-report visibility filed.

    attaching a demonstration that explaining the 'using sub-report' idea:

    enter image description here

    EDIT I did some research - If you follows the instructions provided by the link in your question but Strech the rectangle to cover all the footer area, then your are good - the footer will not be displayed until the last page:

    This how I arranged the Rectangle over the footer:

    Middle Page (you can see that the footer's rectangle is hidden:

    enter image description here

    Last Page (footer is visible):

    enter image description here

    0 讨论(0)
提交回复
热议问题