Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : RELATION-FIELDS attribute
 

RELATION-FIELDS attribute

Returns a comma-separated list of parent-field, child-field pairs describing the relationship between parent and child buffers as specified in the data-relation object definition.
Data type: CHARACTER
Access: Read-only
Applies to: Data-relation object handle
Returns a comma-delimited list as a character expression with the following syntax:

Syntax

"parent-field1,child-field1[,parent-fieldn,child-fieldn]..."
You can use the value of this attribute in writing code that uses or extends this list of join fields without having to parse the value of the WHERE-STRING attribute, which in the default case provides essentially the same information but not necessarily in an ideal form for analyzing the relation.