Brian Dunning's FileMaker Custom Functions

None ( relatedField ; rFieldCount ; soughtValue )

Permits evaluation of portal contents to identify the existence of no occurrence of the desired value

  Average rating: 4.6 (33 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:
None ( PortalView :: Whatzit ; PoltalView :: Tally ; "main" )
where the portal displays under the Whatzit title the values "old" "near" "around the corner" "former"
  Sample output:
1 (that is to say, true)

  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 none of those records meet a specified criterion on the specified related record field and returns "false" for the whole collection of related records if even one matches and "true" for the whole collection of related records if none at all match. This is just as easily accomplished by not Any (), but I think None () is a bit more intuitive.

 

Comments

comment   comment, VR
Jul 21, 2009
See my comment re your Any() function.
 

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. 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 15 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: