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.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 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: