November 15, 200223 yr Hi to all, I'm just wondering if it is possible to display the page number at the bottom of a page in the form Page 1 of 12 Thanks
November 15, 200223 yr Yes, it's easy. Create a calculation field (UNSTORED) that captures the pagenumber. cPagenum = status (CurrentPageNumber) Make the following script Script name: PTR_define_lastpage Enter Preview Mode Go to Record/Request/Page [ Last ] Set Field [ gPagetotal, Status(CurrentPageNumber) ] Enter Browse Mode The global gPagetotal now captures the last pagenumber because you instructed in preview mode to go to the last PAGE Run this script just before you gonna print, applying to the right lay-out to be printed of course. With the fields cPagenum and gPagetotal you can do the trick Page # of ##. Place this in the footer of the lay-out to print. Good luck Harryk
Create an account or sign in to comment