Jump to content
Salesforce and other SMB Solutions are coming soon. ×

Page x of y


Russian_Laszy

Recommended Posts

How do I make a header that says Page 1 of 30 as an example, I know you put ## in a merge field and it becomes a page number, but what is the symbol for total page numbers.

 

Thanks

Link to comment
Share on other sites

You need to script the process to work out how many pages there are in the report. You will have a global number field for the number of pages (say called numPages).

 

...previous script steps in the reporting script...

Enter Preview Mode [ ] // note no Pause

Go to Record/Request/Page [Last]

Set Field [ numPages; Get ( PageNumber ) ]

Go to Record/Request/Page [First]

Pause/Resume Script [indefinitely]

...rest of the script...

 

In your footer of your report (or wherever you put the page numbering), you will need a text object containing a merge field and the reserved character for page number:

 

Page ## of <<numPages>>

 

See how you go with that.

Link to comment
Share on other sites

This thread is quite old. Please start a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

Terms of Use