Skip to main content
You are viewing help content for a version that is no longer maintained/updated.

TdxDBTreePrintData Class

The TdxDBTreePrintData component is a dataset allowing easy printing of reports using self-referenced datasets.

Declaration

TdxDBTreePrintData = class(
    TdxMemData
)

Remarks

Use TdxDBTreePrintData to create a report using self-referenced datasets.

TdxDBTreePrintData is directly inherited from the TdxMemData. It retrieves the Data from a self-referenced DataSet (linked with the DataSource property) and creates the records in memory, which are sorted in specific order. In addition it creates the following fields:

Field Name Description
dx$haschildren Determines whether the record has children. If the ‘dx$haschildren’ field is True, then the record has children. If the ‘dx$haschildren’ field is False, then the record does not include children.
dx$Level The level of a record. The first level (level of the ‘root’ records) is 0.
dx$recno The number of a record. The first number is 1.
See Also