Brian Dunning's FileMaker Custom Functions

GetLastRepNumber ( repfield ; maxrep )

get the last repetition number that is not empty

  Average rating: 4.3 (34 votes) Log in to vote

Michael Bijnens   Michael Bijnens
freelance developer

Share on Facebook Share on Twitter

  Sample input:
GetLastRepNumber ( repfield ; 100 )
  Sample output:
last, not empty repetition number of rep field.

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

This function can be used if you want to use a statusbar ( 1 field with 100 reps ).
Best usage of this function is to use it in a script.

set a $var with this CF to check how many reps are not empty.

Tip: to fill in a statusbar, use " " ( space ) as a value.



João Lucca   João Lucca, Sao Paulo
May 20, 2018
Hoje em dia eu trabalho só em casa com divulgação.

Log in to post comments.


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

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 16 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: