August 20, 201312 yr 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.
August 20, 201312 yr 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.
August 20, 201312 yr Author Thank you both. Jeremy, I was hoping you'd see this! Of course, now that you've said it, it's so obvious.
Create an account or sign in to comment