14.10.2013 Views

FileMaker Pro 4.1 Mac User's Guide

FileMaker Pro 4.1 Mac User's Guide

FileMaker Pro 4.1 Mac User's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Example 1<br />

Single input parameter<br />

Example 2<br />

Single input parameter<br />

Example 3<br />

Multiple input parameters<br />

?<br />

Summary functions<br />

Use a summary function with summary fields.<br />

Summary of functions C-9<br />

Repeating Field Sum(Repeating Field) Sum(Repeating Field)<br />

1<br />

2<br />

3<br />

4<br />

10 10<br />

Field Sum(Field) Sum(Field)<br />

5 5 5<br />

Field1 Field2 Field3 Sum(Field1, Field2, Field3)<br />

1<br />

10<br />

4<br />

15<br />

2<br />

2<br />

3<br />

4<br />

3<br />

6<br />

Choose <strong>FileMaker</strong> Help Index from the or Help menu, and then type:<br />

E aggregate (statistical) functions<br />

Syntax Definition<br />

GetSummary (summary field,<br />

break field)<br />

GetSummary (summary field,<br />

summary field)<br />

Returns the value of summary field for the current<br />

range of records when records are sorted by break<br />

field; otherwise, returns an empty result. This is<br />

equivalent to calculating a subsummary.<br />

Returns the value of summary field for the current<br />

found set of records. This is equivalent to calculating<br />

a grand summary.<br />

A calculation using GetSummary is unstored.<br />

When a database file is sorted, you can place a summary field in a<br />

subsummary part to get subtotal values. (See “Adding a summary part”<br />

on page 3-31.) Because sorting has the effect of grouping similar values,<br />

the field you sort by is called a break field. <strong>FileMaker</strong> <strong>Pro</strong> calculates a<br />

subtotal for each group of records with a common value in the break<br />

field, letting you “break out” that range from the rest of the database.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!