Software Venture Consulting
ToMarket

FileMaker Pro downloads & Resources
FileMaker Custom Functions
FileMaker Web Viewer Examples
FileMaker Pro & Lasso Consulting
Training
FileMaker Books
FileMaker Articles
FileMaker Error Reference

Free Web Tools
Free FileMaker Tools

Personal Pages
Videos
Adventures
Links

Shopping Cart
Shopping Cart

Search:

Free Newsletter
Signup


Contact


Privacy Policy



FileMaker is a registered trademark of FileMaker, Inc. in the U.S. and other countries.

 FileMaker Pro Custom Functions

List  |  Show Random  |  Upload  |  Add This to Your Site

NumRange ( From ; To )

Rate this function:  

RatingRatingRatingRatingRating
  Average rating: 3.4  (22 votes)
  Discuss this Custom Function

Ray Cologon, NightWing Enterprises
http://www.nightwing.com.au/FileMaker

Generates a multi-key containing all values between two numbers.

Sample Input:
Numrange ( 14 , 19 )
Sample Output:
14
15
16
17
18
19


 Then copy & paste into FileMaker Advanced's Edit Custom Function window.

Click here to copy To Clip Manager if you have myFMbutler's Clip Manager installed

Description:

Matching an integer (number, date, time etc) to a range is now supported in FileMaker via multi-predicate relationhships using the < and > operators. However matching a range to a range (for example, where one would need to establish that either the start OR the stop date OR any date between in one range falls within the other range) may still require that at least one of the ranges be reduced to a quasi-entity in the form of a mult-key value.

For extensive range comparisons, a technique such as Mikhail Edoshin's Smart Ranges may still be applicable, but for more moderate requirements a simpler multi-key which uses recursion to extrapolate the key value set can be used.

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

This is my Custom Function and I want to edit it

Discuss:

I cant get this to work.
Dont know what im doing wrong.

Is there any explanatory samplefile to be found somewhere?

Johan S, Malmö Sweden
December 25, 2011 12:53pm

Hi Johan,

There's not a lot to explain other than what'e set out here. However if it helps, you'll find a simple demo that shows the function working at:

http://www.nightwingenterprises.com/demos/NumRange.zip

Ray Cologon, Melbourne
December 25, 2011 9:56pm

Yepp the small demo works great.
My own implementation however showed only first and last number and I still havent figured out why.

But never mind, now it works - in mysterious ways...

Johan S, Malmö Sweden
January 22, 2012 6:05am

Make a comment about this Custom Function (please try to keep it brief & to the point). Anyone can post:

Your Name:
City/Location:
Comment:
characters left. If you paste in more than 1500 characters, it will be truncated. Discuss the function - advertisements and other useless posts will be deleted.
Answer 7 + 6 =
Search for Custom Functions:

Custom Functions Widget
Download the Custom Function Dashboard Widget for OS X
Keep all the latest Custom Functions right at your fingertips!

Newest Custom Functions:

1. list.intersect (listA; listB)
  (Mon, May 14, 12:43pm)
2. WeekStart ( weekOfYear ; year )
  (Sat, May 12, 8:42am)
3. PercentToWords (FIELD)
  (Thu, May 10, 3:16pm)
4. PercentToText (FIELD)
  (Thu, May 10, 2:37pm)
5. StripReserved( text )
  (Wed, May 02, 6:05pm)
6. ListBaseTables
  (Wed, May 02, 3:48pm)
7. ValidEmail( theEmail )
  (Wed, May 02, 7:27am)
8. UltraDate (Text; LongDate_or_DateDigit)
  (Wed, May 02, 6:07am)

RSS Feed of Custom Functions