Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6866 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a report with lots of subsummary's, and i need to be able to get a Page Count, is this possible?

I bring up the point about subsummary's because i cant just get a count of records to try and estimate the number of pages.

Cheers for any help or suggestions

~Genx

Posted

Also, while we're on the topic of me asking random questions ;)..

I want to label each record within a subsummary with a number starting from 1. So the first record in the subsummary would be 1, the second would be 2. Then in the next set of records under the same subsummary part would start at 1 again.

Cheers,

~Genx

Posted

Old cheap trick. Create a global field, _gPageNum

Enter Preview Mode []

Go To Record/Request [Last]

Set Field [ _gPageNum, Get (PageNumber) ]

Go To Record/Request [First]

Check the global

Pause or not

Print

Notice that the Enter Preview Mode [] does not pause. Even if you don't set the last page number into global,* just going to the last page will allow FileMaker to compute what the last page is, and it will show up as the number of pages in the Status Area (instead of ?), if you pause to look at it.

* The _gPageNum global can also be used to print: page ## of <<_gPageNum>>, ie., page 1 of 10

Posted

While I'm answering random questions, or perhaps providing random answers ;)-), here is a file I made a long time ago, in 4 I believe, that has all kinds of loops. The one you'd want is much like the Outline Population script. Except you don't really need the "A, B, C, D" for the Subsummary part itself. So I duplicated and stripped it down, as Outline Population numbers only.

LoopLoop.zip

This topic is 6866 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.