Report sections on the same page

veeciox
Member Posts: 3
Hi!
Maybe someone could suggest me how to print section header and section body on the same page.
Example:
Header1
body line
body line
...
body line
Header2
--New Page--
body line
body line
I want it to be like this:
Header1
body line
body line
...
body line
--New Page--
Header2
body line
body line
p.s. i've tried to use KeepWithNext. It didn't work. As I understood KeepWithNext only works with the sections of the same type (to keep two bodies on the same page).
Maybe someone could suggest me how to print section header and section body on the same page.
Example:
Header1
body line
body line
...
body line
Header2
--New Page--
body line
body line
I want it to be like this:
Header1
body line
body line
...
body line
--New Page--
Header2
body line
body line
p.s. i've tried to use KeepWithNext. It didn't work. As I understood KeepWithNext only works with the sections of the same type (to keep two bodies on the same page).
0
Comments
-
What does you dataitems look like, and how do they relate to the header?
I.e. is Header1 and Header2 two different records or two different dataitems?0 -
Header1 and Header2 are two different dataitems.
Header2 has a DataItemLink to Header1.0 -
You will probably need to put in a pageloop (look at some of the invoicing reports, i.e. 206). With the pageloop you can decide what to print.
As for you dataset... it's a bit weird with the datalink, because what will happen is...Header1 body Header2 body Header1 body Header2 body
So I am not quite sure what you want to achieve with the two different headers. If you are after printing header1 only once, then continue to print header2 on all subsequent pages then the pageloop is your best bet.
Regards,
gus0 -
You could try setting "New Page Per Record" to Yes, in the properties for dataitem Header2.
AlastairAlastair Farrugia0
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