Genx Posted February 23, 2006 Posted February 23, 2006 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
Genx Posted February 23, 2006 Author Posted February 23, 2006 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
Fenton Posted February 23, 2006 Posted February 23, 2006 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
Fenton Posted February 23, 2006 Posted February 23, 2006 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
Genx Posted February 23, 2006 Author Posted February 23, 2006 Perfect, thanks for solving both my problems Fenton ~Genx
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now