Brian Dunning's FileMaker Custom Functions

Any ( relatedField ; rFieldCount ; soughtValue )

Permits evaluation of portal contents for any occurrence of desired value

  Average rating: 4.4 (32 votes) Log in to vote

Edwin M. Hopkins   Edwin M. Hopkins - Show more from this author
Edwin M. and Christina A. Hopkins family

Share on Facebook Share on Twitter

  Sample input:
Any ( PortalView :: Whatzit ; PoltalView :: Tally ; "main" )
where the portal displays under the Whatzit title the values "old" "near" "around the corner" "former"
  Sample output:
0 (that is to say, false)

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

With an intuitive identity, this function evaluates a collection of related records (for instance through a portal) to determine if any of those records meet a specified criterion on the specified related record field and returns "true" for the whole collection of related records if even one matches and "false" for the whole collection of related records if none match.



comment   comment, VR
Jul 21, 2009

not IsEmpty ( FilterValues ( soughtValue ; List ( Related::Field ) ) )
Edwin M. Hopkins   Edwin M. Hopkins, Edwin M. and Christina A. Hopkins family
Jul 29, 2009
Thank you comment,

In some situations your calculation works where my custom function does not. I will have to study it more closely to try to figure out why.

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: