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

list_of_breaks(integer ; _list)

Rate this function:  

RatingRatingRatingRatingRating
  Average rating: 4.1  (19 votes)
  Discuss this Custom Function

Petter Derhaag, The Next Organization
http://www.thenextorganization.com

Returns a defined number of pilcrows for delimited graph data

Sample Input:
list_of_breaks(5 ; "")
Sample Output:
¶¶¶¶¶


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

Description:

To make sure that my 'delimited data' filemaker graphs are shown correctly I want the possibility to make a 'list' of empty values. Because the List function always include a number of additional breaks, I created this recursive function.

Just enter the number of 'rows' you want and it is returned.

© - Petter Derhaag May 2015

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:

5 most recent comments | Show all 6 comments

Does indeed seem to exactly what I want. Does this mean I should remove this one? Happy to do so, don't know what the normal way of things is here.

Petter, Bussum
May 04, 2016 5:43am

Testing the Repeat function (http://www.briandunning.com/cf/942) - does work, however it also does end up with one break too many. Repeat(¶ ; 5) results in a list with 6 'rows'.

Petter, Bussum
May 04, 2016 5:48am

I am not sure what you mean by "rows". Repeat ( ¶ ; 5 ) returns 5 carriage returns. And ValueCount ( Repeat ( ¶ ; 5 ) ) returns 5.

comment, VR
May 05, 2016 12:03am

By comparison, if you use Repeat ( ¶ & "." ; 5 ); you'll see that the list returns as:
<<

.
.
.
.
.>>

For my purposes, the second row is where the '.' starts. This means there is one 'row' too many.

Petter, Bussum
May 06, 2016 2:34am

Well, if you want 5 values of ".", you ought to be using Repeat ( "." & ¶ ; 5 ). What you have returns one empty value, followed by 5 values of "." each.

Note that a FileMaker list of values may or may not be terminated by a carriage return - it makes no diffference to value count.

comment, VR
May 06, 2016 3:39am

Make 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 8 + 2 =
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