Visual Studio Report Designer: How do I print on every second page of a report?

I have a report in Visual Studio Report Designer that prints a contract. I want him to have certain terms and conditions on the back of each page. How can I print something on every second page (which I will duplex)? I tried to put it in the page header \ footer (it just turns off), and I tried to control the visibility of this in the body of the report using page numbers (but you cannot use the global page numbers of a variable in the body of the report). How can I nip a report to do what I want?

+4
source share
1 answer

Alas, as you have already noted: you cannot access the page number in the body of the report. I do not think that your demand can be satisfied, there is no real workaround that I know of. The only alternatives (which you may have already considered), I can see so far, ordered from bad to progressively worse:

  • Print the note completely in the header or footer
  • Print it on every page.
  • After processing the processed report (PDF?) And add it later
  • Report twice. Once with a notification on each page, once without. Make your own “two-sided printing”: print the odd-numbered pages from the document, put the paper back in the printer, and print the even-numbered pages.

(As I said, workarounds gradually worsened from top to bottom: D)

As a last resort, when you know exactly what content gets to which page number, you can associate a visibility expression with that content.

+2
source

All Articles