SetChildren
Sets the rows of a supplied, named parent/child relationship. If rows previously existed under this name, they will be returned to the caller.
Syntax
Function setChildren(childName As String, DataRows As DataRow()) As DataRow()
Parameters
None.
Results
Returns the set of the names of the named parent/child relationships.
Example
Dim dataRow1 As New G1CLIENTLib.dataRow
Dim dataRow2 As New G1CLIENTLib.dataRow
dataRow1.setByName "Address", "100 Congress"
dataRow1.setByName "City", "Austin"
dataRow2.setByName "Address", "200 Congress"
dataRow2.setByName "City", "Austin"
Dim rows(1) As G1CLIENTLib.dataRow
Set rows(0) = dataRow1
Set rows(1) = dataRow2
Dim newRows() As Variant
newRows = dataRowSpt.setChildren("child1", rows())