Function DbROrdName() Foundation
Determines the index tag of a child work area.
DbROrdName( <nRelation> | <cRelName> ) --> cTagName
<nRelation> is a positive integer indicating the ordinal position of the relation in a work area. The index tag name used for this relation is returned. The relations are numbered in the order like they were defined using DbSetRelation() or SET RELATION TO.
Instead of the numeric ordinal, a string containing the name of the desired relation can be specified as first parameter.
The function returns a string. It is the tag name of the index in the child work area used for the relation.
The function DbROrdName() determines the tag name of the index used when a parent work area navigates the record pointer of a child work area. The expression returned is the one specified to the TAG option of the INDEX ON command. It usually corresponds to the tag name of the controlling index in a child work area.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.