report header not fixed

vijay_g
Member Posts: 884
Hi,
I have created a document report in nav 2016 and used page header and page footer. when report run for more than one page the report header margin not freeze and body record started printing at header place for few lines. can someone please help me how to fix report header and footer in document report.
Thanks,
I have created a document report in nav 2016 and used page header and page footer. when report run for more than one page the report header margin not freeze and body record started printing at header place for few lines. can someone please help me how to fix report header and footer in document report.
Thanks,
0
Best Answer
-
Hi,
It could be reason that the layout width with left and right margins is more than defined page width. For example created layout width takes 19,7cm, defined page left margin takes 2,1cm, right margin - 2 cm and page size A4 width 21 cm x height 29,7, so total report width is left margin plus right margin plus layout width (2,1cm + 2cm + 19,7cm = 23,8 cm). 23,8 cm is more than defined page width 21 cm.
Solution reduce margins (recommendation for right margin always use 0cm). If it doesn’t help resize layout or change page sizes or format.1
Answers
-
Hello,
You'll find the answer here https://blogs.msdn.microsoft.com/robertbruckner/2008/10/13/repeat-header-keep-header-visible-in-tables-in-rs-2008/
Also, you can find more information about rdlc reports here https://docs.microsoft.com/en-us/sql/reporting-services/report-design/tablix-data-region-cells-rows-and-columns-report-builder-and-ssrs0 -
Hi nabil, thanks for the reply but i am talking about report header and report footer. not table header.0
-
Hi Vijay,
The report header always print on every page unless you set to FALSE the properties PrintOnFirstPage and PrintOnLastPage.
But as you said, header is visible on first page. So PrintOnFirstPage is TRUE. Now, double check that PrintOnLastPage is TRUE also. (how many pages you have on your report?)
If PrintOnFirstPage and PrintOnLastPage are both TRUE then I believe you're using Tablix Header instead of report header. So my previous answer will help you.0 -
Hi,
The report header is printing on every page. the problem is place of header is not as first page. when it print on second page the body record shifted up. That is the issue.0 -
Hi,
It could be reason that the layout width with left and right margins is more than defined page width. For example created layout width takes 19,7cm, defined page left margin takes 2,1cm, right margin - 2 cm and page size A4 width 21 cm x height 29,7, so total report width is left margin plus right margin plus layout width (2,1cm + 2cm + 19,7cm = 23,8 cm). 23,8 cm is more than defined page width 21 cm.
Solution reduce margins (recommendation for right margin always use 0cm). If it doesn’t help resize layout or change page sizes or format.1
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