Determines the table relationship of a given field.
TableNumber := Record.RELATION(Field)
The record that contains Field.
The field for which you want to find the table relationship.
Property Value/Return Value
The number of the table that has a relationship with Field. This relationship is set up through the properties.
You can use this function for several purposes, such as to determine lookups or to check if you have permission to read from a table.