2.2.3.14.3.5 adtgColumnDescriptorChild

The adtgColumnDescriptorChild element specifies a computed column of a RecordSet or a column of a base table.

The syntax of an adtgColumnDescriptorChild element is defined as follows.

 adtgColumnDescriptorChild = adtgColumnDescriptorChildChapter /
                             adtgColumnDescriptorChildNonChapter
  
 adtgColumnDescriptorChildNonChapter  = adtgColumnDescriptorCommon
                                        adtgColumnChildRecordSetId
                                        [CalculationInfo]
  
 adtgColumnDescriptorChildChapter     = adtgColumnDescriptorCommon
                                        adtgColumnChildRecordSetId
                                        [RelationConditions]
                                        [CalculationInfo]
  
 adtgColumnChildRecordSetId           = ULONG

The fields of this element have the following lengths, types, and meanings:

  • adtgColumnDescriptorCommon

    Length: Variable

    For a description, see section 2.2.3.14.3.6.

  • adtgColumnChildRecordSetId

    Length: 4 bytes

    Contains the Id of the child RecordSet where this column resides.

  • RelationConditions

    Specifies a relationship between a column in the parent table and a related column in a child RecordSet.

    RelationConditions MUST be present if, for the same adtgColumnDescriptorParent, adtgColumnDBType contains the value %x88.00 (DBTYPE-HCHAPTER) or the DBCOLUMNFLAGS_ISCHAPTER bit of ColumnFlags is 1. RelationConditions MUST be omitted otherwise. For details on the syntax and contents of RelationConditions, see section 2.2.3.14.3.7.

  • CalculationInfo

    Specifies how a column is computed.

    The CalculationInfo field is optional, and its presence or absence is specified by the value of the fCalculationInfo bit in the adtgColumnDescriptorPresenceMap field (in adtgColumnDescriptorCommon). For details on the syntax and contents of CalculationInfo, see section 2.2.3.14.3.7.