Brian Dunning's FileMaker Custom Functions

Array.Create ( columnNames ; rowNames ; nullValue ; delimiter )

Creates an empty text array for use with other array.xxx functions found on this site.

  Average rating: 4.6 (25 votes) Log in to vote

Richard Dyce   Richard Dyce - Show more from this author
Dyce & Sons Ltd.
http://dyce.com

Share on Facebook Share on Twitter

  Sample input:
Array.Create ( "A¶B¶C¶D" ; "1/1/2014¶2/1/2014¶3/1/2014" ; "0" ; "§" )
  Sample output:
§A§B§C§D¶1/1/2014§0§0§0§0¶2/1/2014§0§0§0§0¶3/1/2014§0§0§0§0

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

The function will create a pre-populated text array, given a list of column names and row names, as well as the delimiter and null value you want used.

The column and row names should be supplied as a list of values with the last value being terminated with ¶.

This is revised function, without recursion.

 

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: