Announcements
No record found.
How do I get the total number of pages in an SSRS Report in AX code? The code below does not work.
TotalNumberOfPages = this.getReportContract().parmReportExecutionInfo().parmPrintedPhysicalPages();
*This post is locked for comments
I suggest you should consider follwoing formula to find the total number of pages
TotalNumberOfPages =TotalNoOfLinesToBePrinted/ TotalNoOfLinesPerPage;
you can find out TotalNoOfLinesToBePrinted as per your data query
You need to desing so that report prints some specified no of records per page, let suppose
TotalNoOfLinesPerPage = 40
Please verify and update us with you findings
How do I limit the number of lines in a report? How do I do it in visual Studio? or in AX code? I use RDP classes.
You need to do the page break in SSRS report design in Visual Studio
please follow following link for more details
technet.microsoft.com/.../ms156434(v=sql.100).aspx
Please verify and let me know if this helps you.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Prashant Singh 2
nmaenpaa 2 Moderator