Report Section Duplication issue

jversusj
Member Posts: 489
Hello,
i found a couple threads that sort of talked about the same issue i am having, but none of those solutions is working for me.
Here is what I am trying to do:
I have 1 report with 4 data items. None are indented. I want the first data item to process and output its sections. Then i want a page break and the second dataitem to proceed and so forth. none of the dataitems has any grouping. I have a CurrReport.NEWPAGE in the OnPreSection for each new DataItems' Header section. Incidentally, i have also tried moving this command around throughout the report, but i keep having the same problem.
Here is the problem i am running into:
when i get to my second data item (and third, and fourth...), the output prints the header section twice!
it would look like this:
HEADER DataItem 1
Lines
Lines
Lines
(Page Break)
HEADER DataItem 2
HEADER DataItem 2
Lines
Lines
Lines, etc.
(Page Break)
HEADER DataItem 3
HEADER DataItem 3
Lines, etc.
Now, this only occurs on the first page of the new dataitem. subsequent pages will output the header one time.
any ideas? thanks!
i found a couple threads that sort of talked about the same issue i am having, but none of those solutions is working for me.
Here is what I am trying to do:
I have 1 report with 4 data items. None are indented. I want the first data item to process and output its sections. Then i want a page break and the second dataitem to proceed and so forth. none of the dataitems has any grouping. I have a CurrReport.NEWPAGE in the OnPreSection for each new DataItems' Header section. Incidentally, i have also tried moving this command around throughout the report, but i keep having the same problem.
Here is the problem i am running into:
when i get to my second data item (and third, and fourth...), the output prints the header section twice!
it would look like this:
HEADER DataItem 1
Lines
Lines
Lines
(Page Break)
HEADER DataItem 2
HEADER DataItem 2
Lines
Lines
Lines, etc.
(Page Break)
HEADER DataItem 3
HEADER DataItem 3
Lines, etc.
Now, this only occurs on the first page of the new dataitem. subsequent pages will output the header one time.
any ideas? thanks!
kind of fell into this...
0
Answers
-
interestingly, if i change the property PrintOnEverPage from yes to No, i do not get the duplication, but then i also do not get the header on the subsequent related pages.
](*,)
i'm sure i am doing something wrong. probably something simple. thanks again!
edit:
here is more symptoms of my problem.
the last page of my first data item is page number 38. the report is then doing the NEWPAGE command, creating a new page with the header duplicated, although i just noticed the page no. is 40. where could 39 have gone? the same page no. discrepancy occurs when the next NEWPAGE command is issued (at the start of the third dataitem's sections).kind of fell into this...0 -
Just create a footer for each dataitem. There is a property called PrintOnBottomOfPage (or something close to that).
Should take care of your issues.0 -
awesome. that did it. thanks!kind of fell into this...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