Different Page Headers

  • Hi all,

    Wonder if someone can help me?!

    I have a report where the first page of the report requires the standard header with company logo, username, etc. and the second and subsequent pages require a different header which needs to include some data from a dataset.

    I could obviously only show the report header on the first page and create a second header in the report body but I cannot tell what page number I am on!

    The dilemma.... a report header cannot contain dataset data and a report body cannot access global page numbering! 

    Does anyone have any ideas??

    Thanks

    Jason

  • try pasting this into a text box properties on the page header:

    ="Page " & Globals.PageNumber & " of " & Globals.TotalPages

    Following this mechanism you should be able to work out how to add some other variables to the mix...

  • There is a wrok around to getting data from the report into a page header (or footer) as well.  In the header, reference an object in the report that contains the data you wish to display using ReportItems!MyTextBox.Value.  The only caveat here is the text box must appear on each page of the report.  If you don't wish your users to see the data in the bidy, use the visibility prooperty on the object.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply