Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 4170 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I would like to use a CF in a calc field that needs the table name passed to it. Rather than hard-coding a table name as the parameter for the CF, is there anyway to grab the "context?" I'm not on any layout...just in the Define Fields dialog.

Posted

Pass a raw reference to some field in the table (I like the primary key for this sort of thing) as a parameter to the custom function, then GetValue ( Substitute ( GetFieldName ( parameter ) ; "::" ; ¶ ) ; 1 ) to get the table occurrence name.

Posted

Thank you both. Jeremy, I was hoping you'd see this! Of course, now that you've said it, it's so obvious.

This topic is 4170 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.