Multiple Script Parameters

Version 2




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


    The use of a script parameter is a very powerful function to pass information to a script. The calculation attached to the button can pass static text, the content of a single field, the contents of multiple fields, or a combination of text and fields. The trick to passing a script parameter is knowing how to parse it if the fields contain a variable number of words for each record. Passing variable field contents on a single line will make it virtually impossible to parse. Using the new LeftValues, MiddleValues, and RightValues functions makes the task of parsing variable field contents from a script parameter very easy.


    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.