Software Venture Consulting

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


Contact


Privacy Policy



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

 

 FileMaker Pro Custom Functions

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

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

Rate this function:  

RatingRatingRatingRatingRating
  Average rating: 4.3  (35 votes)
  Discuss this Custom Function

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

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.

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

Discuss:

There are no comments yet. Be the first to post a comment about this Custom Function! Please try to keep it brief & to the point. Anyone can post:

Your Name:
City/Location:
Comment:
characters left. If you paste in more than 1500 characters, it will be truncated. Discuss the function - advertisements and other useless posts will be deleted.
Answer 0 + 1 =
Search for Custom Functions:

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. HexUUIDToNum_cf (_uuid)
  (Sat, Jun 16, 1:55pm)
2. httpResponseCode ( responseHeaders )
  (Tue, Jun 12, 10:40pm)
3. FindDuplicateCharacters ( string )
  (Fri, Jun 08, 5:01pm)
4. FieldRepetitionLast ( field ; maxRepetition )
  (Wed, Jun 06, 6:05pm)
5. CountModifiedRecords ( NameTimestampField ; StartTimestamp ; EndTimestamp )
  (Mon, May 28, 8:23am)
6. JSONArrayLength ( JSONArrayStr )
  (Fri, May 25, 7:46am)
7. interpolation (y1; y2; y3; x1; x2; x3; x1y1; x2y1; x1y2; x2y2; rnd)
  (Sat, May 19, 3:55am)
8. @JSONFormatElements ( json )
  (Tue, May 15, 3:31am)

RSS Feed of Custom Functions