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.2  (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.

Click here to copy To Clip Manager if you have myFMbutler's Clip Manager installed

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 4 + 9 =
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. decFromHex ( hexValue )
  (Mon, Oct 16, 12:34pm)
2. MonthYearList ( startmonth ; startyear ; numbermonth ; short )
  (Mon, Oct 16, 3:38am)
3. ErrorDescription ( errorNumber )
  (Wed, Sep 27, 2:51am)
4. decodeEntities (text)
  (Wed, Sep 27, 1:22am)
5. HexidecimalToNumber ( HexidecimalValue ; counter )
  (Mon, Sep 25, 12:39pm)
6. FixedFieldConverter ( Fieldname ; f1 ; f2 ; f3 ; f4 ; f5 ; f6 ; f7 ; f8 ; f9 ; f10 ; f11 ; f12 ; f13 ; f14 ; f15 ; f16 ; f17 ; f18 ; f1
  (Fri, Sep 15, 12:34pm)
7. ShannonEntropy ( text )
  (Thu, Sep 07, 5:59am)
8. LetterCount ( text ; summary )
  (Thu, Sep 07, 5:53am)

RSS Feed of Custom Functions