Brian Dunning's FileMaker Custom Functions

All ( relatedField ; rFieldCount ; soughtValue )

Permits evaluation of portal contents to determine if all related records contain the desired value

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

Edwin M. Hopkins   Edwin M. Hopkins
Edwin M. and Christina A. Hopkins family

Share on Facebook Share on Twitter

  Sample input:
All ( PortalView :: Whatzit ; PoltalView :: Tally ; "main" )
where the portal displays under the Whatzit title the values "main" "main" "main" "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 all of those records meet a specified criterion on the specified related record field and returns "true" for the whole collection of related records if every related record matches and "false" for the whole collection of related records if even one does not match.



comment   comment, VR
Jul 21, 2009

Let (
values = List ( Related::Field )
ValueCount ( FilterValues ( values ; soughtValue ) ) = ValueCount ( values )

Log in to post comments.


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

Under construction. Email me your wish list for improvements.