Last()

Category: Repeating

Syntax: Last ( field )


Parameters:

fieldAny repeating field or related field.

Data type returned: Text, Number, Date, Time, Timestamp, Container

Description:

If the specified field is a repeating field, Last() returns the value from the last valid, non-blank repetition. If the specified field is a related field, it returns the last non-blank value from the set of related records. The order of the set of related records is determined by the sort order of the relationship. If no sort order has been specified, then the creation order is used.

Examples:

When RepPercentage is a repeating field with the values .04, .05, and .06, Last (RepPercentage) returns .06.

 Last (PhoneNumber::Number)


returns the most recent phone number entry, assuming no sort is specified for the relationship.







FileMaker 8 Functions and Scripts Desk Reference
FileMaker 8 Functions and Scripts Desk Reference
ISBN: 0789735113
EAN: 2147483647
Year: 2004
Pages: 352
Simiral book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net