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 - Show more from this author

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.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 15 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth:

Under construction. Email me your wish list for improvements.