Pageno on report only shown on first page
Sina
Member Posts: 33
Hey. I'm new in the world of NAV and I've got a problem.
I want the pageno on a report shown on all pages after page one. So I wrote in the OnPreSection:
CurrReport.SHOWOUTPUT(CurrReport.PAGENO <> 1 );
But it doesn't work. I have no idea, what could be wrong ](*,) In all other reports where I wrote this code it works perfectly. Does anybody have an idea of what might be wrong with the code, or where a mistake could be??
Please help me...
Sina
I want the pageno on a report shown on all pages after page one. So I wrote in the OnPreSection:
CurrReport.SHOWOUTPUT(CurrReport.PAGENO <> 1 );
But it doesn't work. I have no idea, what could be wrong ](*,) In all other reports where I wrote this code it works perfectly. Does anybody have an idea of what might be wrong with the code, or where a mistake could be??
Please help me...
Sina
Sina
0
Comments
-
Hi,
did you check the properties of the section you want to print the page number in? You must set it to be printed on every page.
Maybe this helps,
regards,
WillyFostering a homeless, abused child is the hardest yet most rewarding thing I have ever done.0 -
Even when I set PrintOnEveryPage to Yes it doesn't work...
In the other reports I set it to no and it works...
SinaSina0 -
Do you have two or more header section?
Can you set the property to for those.0 -
I have 7 Header sections in my report. But even when I set all PrintOn EveryPage properties to Yes it doesn't work... #-o
SinaSina0 -
Maybe I should add that when I set CurrReport.SHOWOUTPUT to TRUE the pageno is only shown at the first page and not on the following pages... :?:
SinaSina0 -
Can you post your report object ...??Sandeep Prajapati
Technical Consultant, MS Dynamics NAV0 -
Can you check the property "KeepWithNext" of the header where your page number is printed?
If it is set to "Yes", set it to "No". That could be the cause.
Hope it helps,
WillyFostering a homeless, abused child is the hardest yet most rewarding thing I have ever done.0 -
No, that was not the problem...
It was easier and faster to create a new report than searching hours for a solution
Now it works...
Thank you for your suggestions
SinaSina0
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
