bcooney Posted August 20, 2013 Posted August 20, 2013 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.
jbante Posted August 20, 2013 Posted August 20, 2013 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.
Rick Whitelaw Posted August 20, 2013 Posted August 20, 2013 Get(LayoutTableName)? I like Jeremy's suggestion much better!
bcooney Posted August 20, 2013 Author Posted August 20, 2013 Thank you both. Jeremy, I was hoping you'd see this! Of course, now that you've said it, it's so obvious.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now