Sections and keepwithnext

Dneal
Member Posts: 103
Hi,
I have read some articles on keepwithnext on the forum. But I still don't have a clear understanding about sections and how they display.
I'm doing a report of payroll history, I'm using a copy of the Payroll Check Report as a base. Because it's a history report I don't want a new page per record so I set this property to no. However when my report does go to the next page it spilts the current record and continues to print on the next page. I want to keep the records together.
I'm using the following dataitems:
Integer CheckPages
Integer Paystub1andstub2
Integer Paystub3andstub3
How do I get all of these to stay together? I have tried Keepwithnext. But I understand it only works with the same type...I assume same type means same dataitem..correct?
I have read that I could use pageloop, but I don't understand what pageloop does really...any thoughts are greatly appreciated.
DNeal
I have read some articles on keepwithnext on the forum. But I still don't have a clear understanding about sections and how they display.
I'm doing a report of payroll history, I'm using a copy of the Payroll Check Report as a base. Because it's a history report I don't want a new page per record so I set this property to no. However when my report does go to the next page it spilts the current record and continues to print on the next page. I want to keep the records together.
I'm using the following dataitems:
Integer CheckPages
Integer Paystub1andstub2
Integer Paystub3andstub3
How do I get all of these to stay together? I have tried Keepwithnext. But I understand it only works with the same type...I assume same type means same dataitem..correct?
I have read that I could use pageloop, but I don't understand what pageloop does really...any thoughts are greatly appreciated.
DNeal
0
Comments
-
How about insert the records that you are printing into a temporary record. Then print the temporary record which will be combination of both dataitems. Now if the combined records of the two dataitems is greater than one page it will role to the next page.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