Page header has no data on subsequent pages

bertm
Member Posts: 11
Hi,
I'm making report in visual studio where a page header is supposed to be repeated on each page.
I placed the dataitems in a table in the details section, and in the page header sections i refer to the correct reportItem.
On the first page al the data in the header is shown.
On the subsequent pages however, no data is shown.
What is the problem?
I have added screenshots to this post.
thx
I'm making report in visual studio where a page header is supposed to be repeated on each page.
I placed the dataitems in a table in the details section, and in the page header sections i refer to the correct reportItem.
On the first page al the data in the header is shown.
On the subsequent pages however, no data is shown.
What is the problem?
I have added screenshots to this post.
thx
0
Answers
-
I don't use Visual Studio so I'm taking a stab at it, basically because in almost every report writer I've ever used ie/ IQ, Crystal Rports, Old Nav Report designer, etc. there is usually a property on the header that you can set to "Print On Every Page". Chck to see if you have one & try setting to YES if it's not.
[-o<0 -
thank you for your effort, but that is not it
.
If you look at the screenshots, you can see that the page header is printed on the second page, but the data that is retrieved from objects in the detail section isnt shown.0 -
The standard NAV reports do some weird saving of the data that's supposed to appear in the header of the the report. I guess that means they ran into the same problem and couldn't fix it properly. (ie in a way that makes the report writer work normally.)Robert de Bath
TVision Technology Ltd0 -
Indeed. The only way to solve this problem is to save the header data in shared objects so that the data can be used on each page of the report.
It's not really a fast way to accomplish this, but it will do the trick.0 -
Did you find you have to use a table for the hidden data in the body?
I originally created my reports using hidden textboxes, and referencing them via ReportItems! in the header, but ran into the same issue. The "Repeat With" property changes nothing apparently, and I am wondering if I need to move the textboxes into a table for all my created reports in order to support multiple pages.NAVN00b0 -
Hi,
I have the same problem rpeviously but now i already have the asnwer.
If you look at the standard report, in Header and Footer sections the original NAV use (Code.GetData) expressions.
This means you have to set the data with Code.SetData in each of your header / footer.
The easiest way is to search the Help Index from Visual Studio and write down Code.GetData
It stated there how to get these things work.
Hope this helps0 -
Data is printed only on first page because the boxes that contain the data are printed only on first page.-Mihail- [MCTS]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