pralash
19th February 2018, 14:15
Hi,
How can I find whether the new page is created or not while print the report? Please let me know that is there any built in function or system variable is available for perform this task?
Could you please assist me....
Thanks in Advance,
Pralash
mark_h
19th February 2018, 15:14
You could probably use something like lattr.pageno (at least I think that is the variable).
pralash
20th February 2018, 07:31
Hi Mark,
Thanks a lot for your information...
But the variable " lattr.pageno" gives the current page number of the report.... But I want to count the number of pages are available in the report... For example, a report contains 5 pages then I want to display the page number as Page 1 of 5, Page 2 of 5. etc.
I have searched multiple post in baanboard regarding this doubt... but I am not getting the proper idea about to display the page number as mentioned above... Hence can you please suggest some idea in order to display the page number as Page 1 of 5, Page 2 of 5 etc....
Thanks in Advice...
Regards,
Pralash
bdittmar
20th February 2018, 10:16
Hello,
this has been discussed several times from BIV on.
Search for page of pages and you'll get a lot of hints.
Regards
mark_h
20th February 2018, 14:42
If you can avoid doing page x of y that is what I would push for. I know we only have one report that does this but it is a bear to maintain. We are on unix and it basically counts all the lines can calculates the pages - not something I recommend. I would look to see if there are any packages that does this - maybe NAZDAQ has something.
bdittmar
20th February 2018, 15:51
Hello,
use HiDox !
Page : &p from & P gives the result shown in attachment.
Regards
mark_h
20th February 2018, 18:27
Good solution - beats the heck out of what we did.