Brian Dunning's FileMaker Custom Functions

GetSourceFileName ( NameTableOccurrence )

Return source file name by table occurrence name.

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

Koji Takeuchi   Koji Takeuchi
TonicNote, Inc.
https://tonic-note.com

Share on Facebook Share on Twitter

  Sample input:
GetSourceFileName ( Get ( ActiveFieldTableName ) )
  Sample output:
"Master"

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

description:
Return source file name by table occurrence name.
ex1:
When cursor is in field object "Customer::nameLast" field on layout on "Main" file and the field is referenced to "Customer" table on "Master" file.
GetSourceFileName ( Get ( ActiveFieldTableName ) )
-> "Master"

 

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.