Brian Dunning's FileMaker Custom Functions

LayoutsContainingField ( searchString ; fileToSearch )

Returns a list of layouts in fileToSearch whose fields contain the searchString.

  Average rating: 5.0 (1 vote) Log in to vote

Richard Dyce   Richard Dyce - Show more from this author
Dyce & Sons Ltd.

Share on Facebook Share on Twitter

  Sample input:
LayoutsContainingField ( "from" ; "" )
  Sample output:
"Desktop 1 & 2 Panel¶Desktop 2 & 3 Panel¶Desktop 3 Panel¶iPhone"

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

Used to determine which layouts contain a particular field. Useful for reflective or generic scripting, say to out a PDF of every layout that contains a userID field, for a particular userID: get the layout list, go to each layout, search in the field (using tablename::fieldname), and then append to a PDF.



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 20 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: