dpassovoy Posted April 20, 2006 Posted April 20, 2006 Is it possible to use the automatic page numbering ability (i.e., ##) but have it start at something other than page 1? I have two documents that print one right after the other. The first one I have set to "reset" page numbers and it prints 6 pages. I want the second document to start at page 7 and go from there. But, I can't figure out how to do that.
Inky Phil Posted April 20, 2006 Posted April 20, 2006 I don't know if what you are asking is possible but an alternative might be to use a global field as a counter, adding one to it with each page printed and including it on the layouts you are printing. Don't forget to zero it once your routine is finished. Phil
comment Posted April 20, 2006 Posted April 20, 2006 You can use an unstored calculation field = 6 + Get ( PageNumber ) If the number 6 is not constant, use a global field (or, in version 8, a variable) to hold the required offset.
dpassovoy Posted April 20, 2006 Author Posted April 20, 2006 Forgive me, but I can figure out how to advance a counter for each printing of the report, but not for each page. I've created a global field (Page Number) and my script reads something like: - ... - Go to Layout ("1") - Print [] - Go to Layout ("2") - Set Field ["Page Number = 6"] - Set Field ["Page Number = Page Number + 1"] - Print [] - Set Field ["Page Number = 0"] - ... I know this is wrong but I can't figure out how to advance the counter for each page.
Recommended Posts
This topic is 6783 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now