GetChildren

Retrieves the child rows from a named relationship.

Syntax

ASCII Version
DataRow** getChildren(DataRow* dataRow,const char* childName) 
Unicode Version
DataRow** getChildren(DataRow* dataRow,const UChar* childName) 

Parameters

  • The name of the parent/child relationship, for example "Flood Plain Data", "References", "Used By", and so forth.

Results

Returns the child rows from the named relationship.

Example

ASCII Version
DataRow** child1Rows; 
child1Rows =	getChildren(dataRow, "child1"); 
Unicode Version
DataRow** child1Rows; 
UChar childName[128]; 
/* see convertcharToUChar in the Example section of "addChild" */ 
child1Rows =	getChildren(dataRow, convertcharToUChar("child1", childName));