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

SerializeValues ( textToIncrement ; listOfValues ; incrementBy )

Rate this function:  

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

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

Prefixes values in a list with a serial text/number combination.

Sample Input:
SerializeValues ( "0. " ; "a¶b¶c" ; 1 )


SerializeValues (
"Chapter 0 <tab> "; "Alpha¶Bravo¶Charlie¶Delta¶Echo";
2 )
Sample Output:
1. a
2. b
3. c


Chapter 2 <tab> Alpha
Chapter 4 <tab> Bravo
Chapter 6 <tab> Charlie
Chapter 8 <tab> Delta
Chapter 10 <tab> Echo


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

Description:

Returns listOfValues with each value prefixed by textToIncrement incremented by the value specified in incrementBy. You can use positive or negative incrementBy values. A fractional incrementBy value will be rounded to the nearest integer.

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:

Hello.
And...if you want to make a cumulative sum of list values?

For example:

List ("1¶3¶5")

Sample output:

1
4
9

How can i do?
Thanks.

pepemac, Ourense - Spain
October 17, 2014 12:39pm

In FM13, the second example returns

Alpha
Bravo
Charlie
Delta
2Chapter 0 <tab>
Chapter 10 <tab> Echo

George, Seattle
November 16, 2015 9:24am

In above function there is a mistake in first case, Please copy and paste the below function:

Let (

[
countValues = ValueCount ( listOfValues )
] ;



Case ( countValues > 1 ; SerializeValues ( textToIncrement ; LeftValues ( listOfValues ; countValues - 1 ) ; incrementBy ) & ¶ )
&
Case ( countValues ; SerialIncrement ( textToIncrement ; countValues * incrementBy ) & GetValue ( listOfValues ; countValues ) )
)

suresh, Chennai
March 22, 2016 7:35am

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 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