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 - Show more from this author
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.

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: