caman Posted January 17, 2006 Posted January 17, 2006 Hello. In a report you can use ## to show what page number you are viewing. How would I make it say page # of #? For example page 1 of 4, page 3 of 7 and so on . caman
Echo33029 Posted January 17, 2006 Posted January 17, 2006 Do the following: 1) create a global number field in the table that you are printing from, call it gNumPages 2) In your layout that you are printing include the following (the stuff in << >> is a merge field, accessed from the Insert menu in layout mode): Page ## of <> 3) In your script that you use for printing include the following, once you have the correct found set that you want to print: Go to the print layout Enter preview mode Print Setup(restore) go to record/request/page(last) set field(gNumPages, Get(PageNumber) commit records/requests go to record/request/page(first) Print Enter Browse mode That's it. Basically you need to enter preview mode, go to the last page and record the current page number to the global field. Hope that helps. Echo
caman Posted January 17, 2006 Author Posted January 17, 2006 Thank you. I guess I'll get the hang of it now... caman
Recommended Posts
This topic is 6876 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