Wrong page number with multiple pageloop headers
BlackBird
Member Posts: 52
Hi all,
I have a problem with the pagenumber on a classic report.
I've made a copy of report 206 and added 2 Pageloop, Header sections. So now i have 3.
I have added an optionfield to tabel 112 with 3 optionvalues and depending on the value of this field either the first or second or third section is printed (currreport.showoutput(Field.Value = Field.Value::1) on presection of the first section, etc).
What happens now is that if the first Pageloop, Header section is printed, the pagenumber (Currreport.PAGENO) is always wrong (f.i. shows 3 when there is only 1 page). When either the second or third section has to be printed the pagenumber is always correct.
Does anyone recognize this behaviour?
Thanks in advance
I have a problem with the pagenumber on a classic report.
I've made a copy of report 206 and added 2 Pageloop, Header sections. So now i have 3.
I have added an optionfield to tabel 112 with 3 optionvalues and depending on the value of this field either the first or second or third section is printed (currreport.showoutput(Field.Value = Field.Value::1) on presection of the first section, etc).
What happens now is that if the first Pageloop, Header section is printed, the pagenumber (Currreport.PAGENO) is always wrong (f.i. shows 3 when there is only 1 page). When either the second or third section has to be printed the pagenumber is always correct.
Does anyone recognize this behaviour?
Thanks in advance
0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions