This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v19.8
dataClassAttribute.relatedDataClass

dataClassAttribute.relatedDataClass 


 

dataClassAttribute.relatedDataClass -> dataClassAttribute.relatedDataClass 
Parameter Type   Description
dataClassAttribute.relatedDataClass  String in Name of the related dataclass

Note: This property is only available with attributes of the "relatedEntity" or "relatedEntities" dataClassAttribute.kind property.

The dataClassAttribute.relatedDataClass property returns the name of the dataclass related to the attribute.

Example  

Given the following tables and relations:

 C_TEXT($relClass1;$relClassN)
 $relClass1:=ds.Employee.employer.relatedDataClass //$relClass1="Company"
 $relClassN:=ds.Employee.directReports.relatedDataClass //$relClassN="Employee"



See also 

dataClassAttribute.kind

 
PROPERTIES 

Product: 4D
Theme: ORDA - DataClassAttribute

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v17

 
ARTICLE USAGE

4D Language Reference ( 4D v19)
4D Language Reference ( 4D v19.1)
4D Language Reference ( 4D v19.4)
4D Language Reference ( 4D v19.5)
4D Language Reference ( 4D v19.6)
4D Language Reference ( 4D v19.7)
4D Language Reference ( 4D v19.8)