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

CombineLists ( Start; End; ListFieldsObjects; Separator; Function )

Agnes Barouh, Tic Tac
http://www.tictac.fr

concatenate n FieldsLists or ObjectsList

Sample Input:
CombineList ( 1; 10; "TableLiee::FieldA¶TableLiee::FieldB¶TableLiee::FieldC"; " | "; "GetNthRecord" )

-------------------

CombineList ( 1; 10; "ObjectA¶ObjectB¶ObjectC"; "#"; "GetLayoutObjectAttribute" )
[objects in portal]
Sample Output:
| Value1_FieldA | Value1_FieldB | Value1_FieldC |
| Value2_FieldA | Value2_FieldB | Value2_FieldC |
[...]
| Value10_FieldA | Value10_FieldB | Value10_FieldC |

-------------------

#Value1_ObjectA#Value1_ObjectB#Value1_ObjectC#
#Value2_ObjectA#Value2_ObjectB#Value2_ObjectC#
[...]
#Value10_ObjectA#Value10_ObjectB#Value10_ObjectC#


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

if you have myFMbutler's Clip Manager installed

Description:

Not recursive Function

Carreful : Limited => ListFieldsObjects < 18700 values

* CombineLists () requires CustomList ( start ; End ; Function )
http://www.briandunning.com/cf/868
CustomList Return Error if is empty or not is correct ListFieldsObjects or Function

-> ListFieldsObjects : Fields or Objects with ¶ separator :
"FieldOrObjectA¶FieldOrObjectB¶FieldOrObjectC¶
-> Separator : choose a text separator, space, or tag :
"|" or " | " or "#" or " " to extract or to present the data
-> Function : Function name with "" :
"GetLayoutObjectAttribute" or "GetValue" or " GetNthRecord" or "GetRepetition"; and other "Left" or "Right" (but not Middle() )

----------------------------------------- more examples

CombineLists ( 1; Count ( TableA::ID) ;
"TableA::Products¶TableA::Color¶TableA::Price¶TableA::Qty¶; " | "; "GetNthRecord" )

Result :
| Chair | black | 10$ | 37 |
| Chair | Red | 12$ | 22 |
| armchair | yellow | 35$ | 12 |
| armchair | blue | 15$ | 18 |

CombineLists ( 1; Count ( TableA::ID) ;
"ObjectA¶ObjectB¶ObjectC¶ObjectD¶; " - "; "GetLayoutObjectAttribute" )

Result :
- Chair - black - 10$ - 37 -
- Chair - Red - 12$ - 22 -
- armchair - yellow - 35$ - 12 -
- armchair - blue - 15$ - 18 -

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. CustomList_BottomUp ( Start ; End ; Function )
  (Mon, Jul 21, 5:44am)
2. ColumnsAcross ( listOfValues ; numberOfColumns ; columnDelimiter )
  (Tue, Jul 15, 8:01am)
3. _cf_Country_Letter_Code ( _Country )
  (Mon, Jul 14, 8:02pm)

RSS Feed of Custom Functions

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

Calendar Snap

Free pop-up calendar for your FileMaker solution. 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