Brian Dunning's FileMaker Custom Functions

ListFieldBounds ( Field_Names )

When given the result of FieldNames() as a parameter, returns a pipe-delimited list with the field bounds of each field in the list.

  Average rating: 4.1 (39 votes) Log in to vote

Colin Keefe   Colin Keefe
IT Solutions Consulting, Inc
http://itsolutions-inc.com

Share on Facebook Share on Twitter

  Sample input:
ListFieldBounds ( FieldNames ( Get ( FileName ) ; Get ( LayoutName ) ) )
  Sample output:
__kp_ArtworkID|138 24 217 38 0
_kf_ContactID__Purchaser|138 42 217 56 0
DateCompleted|138 60 259 74 0
DateStarted|138 78 259 92 0
Description|138 96 391 110 0
Height|138 114 391 128 0
Length|138 132 391 146 0
Medium|138 150 391 164 0
Title|138 168 391 182 0
Width|138 186 391 200 0
zz__CreationTimeStamp|138 204 379 218 0
zz__Creator|138 222 391 236 0
zz__ModificationTimeStamp|138 240 379 254 0
zz__Modifier|138 258 391 272 0

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

When given the result of FieldNames() as a parameter, returns a pipe-delimited list with the field bounds of each field in the list - i.e. each field on the specified layout and their bounds.

This may be useful to somebody somewhere; I originally wrote it while exploring methods for determining which field the cursor's hovering over, in conjunction with a plugin - for returning FieldComments in a Tooltip.

You could also feed it a custom-specified list of field names, not just use FieldNames() as the parameter.

 

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.