Brian Dunning's FileMaker Custom Functions

FieldMaxRepetitions ( Field )

Returns the number of Repetitions of the field maximum.

  Average rating: 4.5 (29 votes) Log in to vote

HAZI   HAZI
none
http://hazisarashi.com

Share on Facebook Share on Twitter

  Sample input:
FieldMaxRepetitions ( data table::repetition field )
  Sample output:
10

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

1. The return value is the number of Repetitions that are configured in the field definition.

2. With this, you do not need to modify the script even if you change the name of the field.

 

Comments

HAZI   HAZI, Tokyo, Japan
Dec 24, 2012
There was a waste of this function.
Mr.Steven Sanders gave me a feedback.
Thank Mr.Steven Sanders.


Let([
FieldName = GetFieldName( Field )
];
GetAsNumber( MiddleWords( FieldType( Get( FileName ) ; FieldName ) ; 4 ; 1 ))
)
 

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.