Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft Dynamics NAV 2015 Professional Reporting

You're reading from   Microsoft Dynamics NAV 2015 Professional Reporting Discover tips and trick for Dynamics NAV report building

Arrow left icon
Product type Paperback
Published in Sep 2015
Publisher Packt
ISBN-13 9781785284731
Length 504 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Steven Renders Steven Renders
Author Profile Icon Steven Renders
Steven Renders
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. How Do I Start to Create a Report? FREE CHAPTER 2. Getting Started with the Tablix 3. Expressions 4. Data Visualization Techniques 5. Document Reports 6. Tips and Tricks 7. Performance Optimization Techniques 8. Word Report Layouts 9. Power BI 10. Reporting Services 11. Charts in Dynamics NAV Index

Show a footer or header on the last page

A question I get asked a lot is, how can you display information on certain pages and not on others? I will explain in this section how you can show or hide information on the last page of a report, and then use the same method for any page.

Let's start with a report that has a simple dataset with so many records that when you put them in a table, the table is printed on multiple pages:

Show a footer or header on the last page

Note

An example of this report is available in the object: Packt - CH06-4

I have added a field to this dataset named txtLastPage and, as its name suggests, this information only needs to be visible on the last page.

  • Build a layout that contains a table with the fields from the dataset and, above the table and inside the body, add a textbox
  • Add a page header in which you add a textbox
  • Add a page footer in which you add two textboxes, as shown in the following screenshot:
    Show a footer or header on the last page

You use expressions in each of the textboxes, as displayed on the right of the image.

Now, as you might...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image