Hi all...
i need to print the total of pages in the trailer.PAGE is displayed in all pages ,now i need to display in the trailer the Total number of pages.
pls suggest ...
thanks in advance
Hi,
To William:wen &PAGE is given it is displaying the subsequent page number.I need the same total page ie, the last page number shuould be displayed.
TO Krisprems: ya page number is shown in all pages.
der are 24 lines in one page.
I have given &PAGE=(LENGTH=6) to display the page number in all the pages. However the requirement is to add the total number of pages in the report trailer for which I have used TRAILER1 parameter. But the issue is that when I give &PAGE in the trailer its displaying the next value of the last page. Ie if the last page is 13 in the trailer it should display as “Total number of pages is 223” but the display is coming as 224 which is wrong. Is there any way I can decrement the value.
Sample Input