Recursive Custom Functions

Version 2


    Custom Function


    Mac OS X, Windows
    Todd Duell
    FMP 7, 8, 8.5, 9, 10, 11
    Formulations Pro
    Web: No
    File Type: FP7
    Server: Yes
    FileSize: ~ .85 megabytes


    FileMaker Developer 7 allows you to create a recursive calculation that operates on its self. A good analogy of a recursive function is a data entry script. When the user starts the script it pauses to allow them to perform the data entry. When the user clicks the continue button it checks to make sure the data entry is correct. If not, the same script is called again. This loop continues until all the defined parameters are satisfied. This same concept can now be applied to a calculation where it will continue to calculate the text, number, or date until all the specified parameters are met. The best application of a recursive calculation is performed using the custom function feature available only with FileMaker Developer 7.


    See sample file


    Sample Input

    Sample Output

    Developer's Notes

    See sample file for full demo and technical article.


    FileMaker Inc. provides this content on an “As Is” basis, without any warranty, and subject to the terms of the FileMaker Technical Network Agreement. FileMaker makes no representations and is not liable for any content or related information. You may use the content as part of your own solutions and for your customers, but you may not otherwise publicly distribute any content that you did not submit. ©2009-2011 FileMaker, Inc. All Rights Reserved. FileMaker is a trademark of FileMaker, Inc. registered in the U.S. and other countries.