From Dwayne Wright PMP
Certified FileMaker Developer
Please Note: If you are viewing this page in a news feeder, the images may get munged up a bit. For the best experience, please visit the journal directly by clicking (here).
A sub summary is used to display or print a total for a set of records that are sorted by a break field. For example, you might have a report that totals all the sales for a each year and that is further broken down by the month of each year.
In most traditional reports with subsummaries, you will have a body part. This is to list information for each record that is within the set of record organized by the break field. However, a body part in a subsummary report is not a requirement. In fact, many of the best reports have no body part at all. You can just imagine how the inclusion of a line for each record within a report that summaries hundreds of records would be a challenge to take in. The phrase “you cannot see the forest because of the trees” comes to mind.
Here you can see a quick summary for sales for the from November 2007 to March 2008. This example summaries 15 different records but you never see the specifics of those records. You simply see the subsummary totals for each year and then another subsummary within the year subsummary breaking the totals down further by month.
BTW: The term breakfield is normally attached to a reporting operation on FileMaker data. In the printed report arena, the break field can be the dependent “sort by” field used in the subsummary layout part for a report that summaries data by a grouping. In the calculation arena, the GetSummary function will give you the information in a summary field for a found set of records when sorted by a break field. The syntax of the GetSummary function is ... GetSummary ( summaryField ; breakField ).Unlike printed reports that have a subsummary part, the GetSummary function is not dependent on a layout part and can be used within other calculations. The function has the two parameters of summaryfield and breakfield. The summary field parameter obviously refers to the summary field you want to capture the data from. The breakfield is the field that must be sorted to obtain the sub summary total in a grouped value report for the summary field.
More info about the author and FileMaker in general, contact me at email@example.com.
© 2008 - Dwayne Wright - dwaynewright.com
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