fmow Posted December 11, 2013 Posted December 11, 2013 Get(CurrentLayout)::FieldName Why can I not do this and what should I try instead?
jbante Posted December 11, 2013 Posted December 11, 2013 The syntax for a fully qualified field name begins with the table occurrence name, which is not necessarily (or even usually) the layout name. Also, assuming that you're trying to build a calculation that will return the contents of a standardized field that has the same name in all your tables, you would need to be concatenating the the table occurrence name with the field name for an initial text result, and giving that text to the Evaluate or GetField function. A simpler alternative is to just use the GetField function: GetField ( "fieldName" ) The GetField function will assume you mean to get that field from the current record, in the table occurrence the current layout is based on, so it's OK to leave the table occurrence name out altogether in this exception. 1
Rick Whitelaw Posted December 11, 2013 Posted December 11, 2013 There is no function Get(CurrentLayout) for starters. Use Get(LayoutTableName)&"::YourField" 1
Recommended Posts
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