Brian Dunning's FileMaker Custom Functions

GetNthRowObjectList ( ObjectList ; N ; delim )

Get data from named layout objects such as fields in portals or record lists.

  Average rating: 4.5 (34 votes) Log in to vote

Bruce Robertson   Bruce Robertson

Share on Facebook Share on Twitter

  Sample input:
Let( objectList = getLayoutObjectAttribute("YourPortalName"; "containedObjects");
GetNthRowObjectList( ObjectList; 5 ; " " )
)
  Sample output:
5 XL-123 Large T Shirt 5.00 25.00

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

This CF enables you to retrieve data from fields that have been set up with object names. Used together with CF "GetRowsObjectList" you can walk a portal or record set.

You would do this, for instance, to enable "copying" a portal as a tab and return delimited data object or generating a text version of an invoice item list.

Since object names are discoverable, it would even be possible to use conditional formatting triggers to automatically calculate all the portal contents on any layout with named objects.

 

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.