General information
Category:
Reports & Report designer
>My coding to get total page number
>report form PRNORDER noconsole for ORDER_ID = _ORDER_ID
>total_page = _pageno
>report form PRNORDER PRINT PROMPT for ORDER_ID = _ORDER_ID
>
>but total_page return wrong result
>please help, have you any method to get right total page number.
You need to run the report twice, the first time to a file.
REPORT FORM PrnOrder TO FILE Dummy.tmp NOCONSOLE for ORDER_ID = _ORDER_ID
total_page = _PAGENO && total_page has the total number of pages
REPOR FORM PrnOrder TO PRINTER for ORDER_ID = _ORDER_ID
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only