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
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
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.
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.
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
André Arnaud de Cal... 291,391 Super User 2024 Season 2
Martin Dráb 230,445 Most Valuable Professional
nmaenpaa 101,156