Page header/footer in NAV 2016 Reports

cufi_pufi
Member Posts: 3
Hi,
my question is if it's possible to hide/show page header/footer dinamicly. I should migrate report from NAV 2009 to NAV 2016. The report is 206 (Sales Invoice). After printing all copies of the invoice they printed some additional information about Sales Shipment. In this last page, I don't want to show page header(where is a logo) and page header(where is page no and so on). Is it possible or not in this version.
P.S. This additional information is shown if in requestpage in choose to print.
Thanks in advance.
my question is if it's possible to hide/show page header/footer dinamicly. I should migrate report from NAV 2009 to NAV 2016. The report is 206 (Sales Invoice). After printing all copies of the invoice they printed some additional information about Sales Shipment. In this last page, I don't want to show page header(where is a logo) and page header(where is page no and so on). Is it possible or not in this version.
P.S. This additional information is shown if in requestpage in choose to print.
Thanks in advance.
0
Best Answer
-
Look at the way some transfooter functionality works ((from Claus L, he wrote two or more methods), combined with code in the report this should bring a possible solution.
5
Answers
-
you can hide/show the header or footer depending on the page number, but the space is reserved for the header/footer you have hide, anyway (in other words, you will have white spaces).
There's no other way around.0 -
I know about problem with white spaces. But my problem is that I have to hide page header/footer in some cases. In most cases this should be last page, but this can be last 2 pages.. to hide this only with page number is not an answer for me.0
-
Look at the way some transfooter functionality works ((from Claus L, he wrote two or more methods), combined with code in the report this should bring a possible solution.
5 -
In Report # 10075 the footer would be printed on the last page of the document. That is controlled by PrintFooter Variable so you can utilize the same concept if you would like to show that on the last page of each document.
This can also be done easily by VB Code. Create couple of custom VB Functions as like SetData/GetData. When the execution reached the particular row you can set a boolean variable to TRUE and reset it when it gets off from the particular row. Use that variable as your controller for visibility in page header/footer.Software Developer,
Archerpoint India Pvt. Ltd,Chennai.0 -
Thanks kabroco. I find my solution in Claus blog. Here's the link. https://clauslblog.wordpress.com/2013/09/27/transfooter-transheader-working-with-groups-part-1/
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions