Navision has function PAGENO for current page number but none for total number of pages. How to implement it?
There isn’t any. The only way of knowing how many pages you are going to print, is to count the number of records you are going to print. Divide that number wi the no. of records that can print on each page. //Henrik Helgesen -: KISS::Keep it Simple, Stupid :-
Unlike a word document, the system literaly doesn’t know how many pages will print, until they are printed. While this would be a nice feature if added, it would also add a good deal of overhead and slow the report down. Bill Benefiel Manager of Information Systems Overhead Door Company firstname.lastname@example.org (317) 842-7444 ext 117
Originally posted by Hhelgesen: The only way of knowing how many pages you are going to print, is to count the number of records you are going to print. Divide that number wi the no. of records that can print on each page. //Henrik Helgesen -: KISS::Keep it Simple, Stupid :-
Henrik, And this you call a simple solution? Best regards, Erik P. Ernst, webmaster
Henrik’s solution is the only one I did used and worked. If anyone has got another work around please post [:D]
Is there a special printer driver or software who could add automatically Page 5/10 (Page PageNumber/TotalOfPages Page ) automatically on any reports printed ?
10 years later. . …
Anyone have the answer ??
Did you try any of these?
Print the report to PDF. Count the number of pages (hint, there’s an expression at the end of the file that says this, search the file for “page”). Run the report again, this time displaying the number that you counted.
I tried, saving it in xml, but it is not full truly satisfactory.
like saving it in xml format generated 5 pages, but actually when I ran the report with Dataitem parameter, it generated 1 page.
In that case it shows 1/5 in report.
and more if I have indent dataitem and request parameters on it,
for me, then it is Unreachable.
See my response above. The method works just fine.