Brian Dunning's FileMaker Custom Functions

NextListValue ( thisValue ; theList )

Pass in a list and a value, and this function will return the next value

  Average rating: 4.5 (34 votes) Log in to vote

Craig Forster   Craig Forster
Lovelight Productions
http://www.lovelight.co.nz

Share on Facebook Share on Twitter

  Sample input:
NextListValue("C";"A¶B¶C¶D¶E¶F¶G¶")
  Sample output:
D

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

/*************************************************
* NextListValue(thisValue;theList)
*
* Craig Forster 9 October 2008
*
* Returns the Value before the value searched for
* If the value is the first value in the list, we return nul( "" )
* Note : List should be delimited with carriage returns
*
* e.g. NextListValue("C";"A¶B¶C¶D¶E¶F¶G¶") Returns "D"
*
*************************************************/

 

Comments

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.

Under construction. Email me your wish list for improvements.