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


Brian Dunning
Contact me | vCard


Brian on CNN
Brian on CNN


Brian on CBS Radio


Privacy Policy



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

 FileMaker Pro Custom Functions

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

ColumnsAcross ( listOfValues ; numberOfColumns ; columnDelimiter )

Michael Horak, *COMMENT Visual Realisation
http://comment.cjb.net/

Transforms a list of values into a tabular text array.

Sample Input:
ColumnsAcross (
"1¶2¶3¶4¶5¶6¶7¶8¶9¶10¶11¶12";
4 ;
" | "
)



Let ( [
listOfValues = "1¶2¶3¶4¶5¶6¶7¶8¶9¶10¶11¶12";
numberOfColumns = 4;
columnDelimiter = " | "
] ;
TransposeArray (
ColumnsAcross (
listOfValues ;
Ceiling ( ValueCount ( listOfValues ) / numberOfColumns ) ;
columnDelimiter ) ;
columnDelimiter )
)
Sample Output:
1 | 2 | 3 | 4
5 | 6 | 7 | 8
9 | 10 | 11 | 12





1 | 4 | 7 | 10
2 | 5 | 8 | 11
3 | 6 | 9 | 12


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

if you have myFMbutler's Clip Manager installed

Description:

Transforms a return-separated list of values into a tabular text array with the specified number of columns. Values are placed into the array according to their order in the list, with rows filled first.


The function can be used together with the TransposeArray() custom function to return an array ordered in 'columns down' order.

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

digg this page | del.icio.us this page

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. AntiFilterValues( ListA; ListB )
  (Fri, Oct 10, 6:59am)
2. NextListValue ( thisValue ; theList )
  (Thu, Oct 09, 7:35pm)
3. cscf_CSStoFMText (text)
  (Thu, Oct 09, 3:29am)

RSS Feed of Custom Functions

Quick Poll...
Are you mainly Mac
or mainly Windows?
 • Mac
 • Windows
View the answers

ChartMaker Pro 7

Charts and graphs in your FileMaker 5/6/7/8 solution without a plug-in. Click here.

Custom Function Authors:
Link to all of your own custom functions on this site with the following URL:
http://www.briandunning.com/filemaker-custom-functions/results.php?author=Your Name Here