-> (Parent Child Relationship)
The name of a table.
The name of a table field.
The name of a variable defined outside of a script or function.
The name of a calculated field.
When you need to provide a fully qualified field name in an expression, you place -> between the Table_Name and Field_Name. This is necessary when an expression contains references to fields in multiple tables or when an expression does not have a table context that supplies a default value for Table_Name.
When referencing a field created in the context of a table or layout, you refer to it with the prefix var->, indicating that it is a member of the group of variables.
When referencing a calculated field, you refer to it with the prefix calc->, indicating that it is a member of the group of calculated values.
This expression calculates total_cost using fields from 2 different tables.
dim total_cost as N total_cost = invoice->price * product->cost