Filemaker Pro 8.5 Educational Maintenance T0 TJ087LL/A User Manual

Product codes
TJ087LL/A
Page of 238
26     FileMaker Functions Reference
StDevP(Field2) returns 
1.11803398...
 for a non-repeating field.
StDevP(Field1;Field2;Field3) returns 
2.16024689...
2.49443825...
1.5
2
 for 
repeating fields.
Note  
When a referenced field is a repeating field, the StDevP function returns the 
standard deviation of a population in the first repetition fields, then the standard deviation 
of a population in the second repetition fields, and so on.
Sum
Format
Sum(field{;field...})
Parameter
field - any 
; or an 
that returns a field, repeating field, or set of non-repeating fields.
Parameters in curly braces { } are optional.
Data type returned
number
Description
Returns the total of all valid, non-blank values in:
a repeating field (repeatingField).
a field in matching 
 specified by (table::field), whether or not 
these records appear in a 
.
several non-repeating fields in a 
 (field1;field2;field3...).
corresponding repetitions of repeating fields in a record 
(repeatingField1;repeatingField2;repeatingField3), if the result is 
returned in a repeating field with at least the same number of repeats.
several fields in the first matching record specified by 
(table::field1;table::field2;...). You can include fields from different 
 (table 1::field A;table 2::field B...).
Examples
An Invoice table has a portal showing line items.
Sum(LineItems::ExtendedPrice) totals the amounts for all items on the invoice. 
A TimeBilling table has a portal showing time worked on a project. Hours is a time field.
Sum(Hours::BillableHours) returns the total number of billable hours on a project. 
Thus, if the portal shows 
40
 hours and 
15:30
 hours, the total billable hours are 
55:30
, or 
55 1/2
 hours.