Author Topic: Display Conditionally in 1st Header or Footer  (Read 81 times)

0 Members and 1 Guest are viewing this topic.

Offline MrSpecialist

  • Sr. Member
  • *
  • Posts: 348
  • Karma: +1/-0
  • I'm an expert!
    • View Profile
Display Conditionally in 1st Header or Footer
« on: December 14, 2016, 10:14:48 AM »
Display Conditionally in 1st Header or Footer

Display Conditionally in 1st Header or Footer

There are times when you want to display something only on the first page of a report - typically in the header or the footer. This is easy to accomplish, but not necessarily obvious.

The key is to create a layout calculated field, and place it in the page header or page footer.

For example:

Open a report in Report Studio.

Click the Toolbox tab in the Insertable Objects pane.
 
Drag a Layout Calculation to the page header or page footer.

In the Report Expression dialog box, Expression Definition: field, type the following definition:

IF ( PageNumber( )=1 ) THEN
( 'This text only displays on the first page' )
ELSE
( ' ' )

and click the OK button.
Run the report.

Techronnati | where technology never sleeps

Display Conditionally in 1st Header or Footer
« on: December 14, 2016, 10:14:48 AM »

Mountain View

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
109 Views
Last post December 14, 2016, 10:13:40 AM
by MrSpecialist

Posting Disclaimer: Any individual may post a message in this forum and may do so anonymously. Therefore, the sole author is exclusively and entirely responsible for all opinions in that message. They do not represent the official opinions of Techronnati, its administrators or moderators or the Techronnati Management. Techronnati is merely acting as an impartial conduit for constitutionally protected free speech and is not responsible and will not be held liable for the content of such messages. All images and service logos are trademarks of their respective owners.