Brian Dunning's FileMaker Custom Functions

TransformValues ( ValueList ; Pattern )

Transforms each item in ValueList based on Pattern

  Average rating: 3.7 (49 votes) Log in to vote

Peter Vinogradov   Peter Vinogradov

Share on Facebook Share on Twitter

  Sample input:
TransformValues(
fieldnames ( get(filename);"People");
"<<@MF>>"
)
  Sample output:
<< FirstName >>
<< LastName >>
<< DOB >>

(Where the fields in the "People" table are FirstName, LastName, and DOB)

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Use this function to transform values in a list according to a specific pattern. Useful in combination with the Evaluate() function.

This function requires the TrimReturns function submitted by Kieren MacMillan

NOTE: You must use the characters "@MF" within the "Pattern" parameter wherever you want the current value to appear.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.