Category: Get
Syntax: Get ( ActiveRepetitionNumber ) |
Parameters: None
Data type returned: Number
Description:
Returns the number of the active repetition (the repetition in which the cursor currently resides) for a repeating field. Repetition numbers start with 1.
If the cursor is not in a field, 0 is returned.
When using Get() functions within field definitions, in most cases you should set the storage option to be "unstored" so that the field always displays current data.
Examples:
Function |
Results |
---|---|
Get ( ActiveRepetitionNumber ) |
Would return 2 when a user was clicked into the second repetition of a field. |
: FileMaker Specifications
FileMaker 8 Product Line
Specifications and Storage Limits
Field Types and Import/Export Formats
: Calculation Functions
Working with Calculations Primer
Calculation Signatures
Calculation Functions
: Custom Functions
Custom Functions Primer
Useful Custom Functions
: Script Steps
Scripting Primer
Script Step Reference
: Quick Reference
FileMaker Error Codes
FileMaker Keyboard Shortcuts
FileMaker Network Ports
FileMaker Server Command Line Reference
FileMaker XML Reference
: Other Resources
Where to Go for More Information