RangePairsFilter ( ListOfPairs ; ValueToFilter )
To determine if a value (e.g. a date) falls into a list of intervals
Average rating: 4.3 (34 votes) Log in to vote
Maarten Witberg - Show more from this author
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
RangePairsFilter will recursively determine if ValueToFilter falls into a list of intervals; the result is boolean (1 for true null for false).
in its current incarnation it treats range pairs as pairs of dates.
The required format for ListOfPairs is
This format can be obtained e.g. by using the List() function for both lineitems and the min and max pairs if they are individual fields:
ListOfPairs = List(LineItems::ListPair)
ListPair = List (MinField ; MaxField)
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.