The Original FileMaker Community
Business Templates - Demo Apps - Video Tutorials -Samples - Help - 46000 Member Forum

The Leading Filemaker Developer Tools

FILEMAKER: The Get(PageNumber) Function

From Dwayne Wright

FMP Version: FileMaker 7 and higher
Returns A Number Result

For the majority of the time, this function will be used to return the current page number that is being viewed in print preview mode. In some cases, the function can return the current page that is being printed … or perhaps a better explanation… the current page that is being sent to the printer buffer from FileMaker.

The only practical use that I’ve seen for this function is determining the last page of a report to be printed by going to the last page via a script and setting the Get(PageNumber) to a global field.

Here you can see the Go To Record/Request/Page script step with the last page setup as the go to option.
More info about the author and FileMaker in general, contact me at

© 2008 – Dwayne Wright –

The material on this document is offered AS IS. There is NO REPRESENTATION OR WARRANTY, expressed or implied, nor does any other contributor to this document. WARRANTIES OF MERCHANT ABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE EXPRESSLY DISCLAIMED. Consequential and incidental damages are expressly excluded. FileMaker Pro is the registered trademark of FileMaker Inc.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More