Skip to main content

TdxPSDBBasedExplorer Class

Represents a data-aware report explorer component.

Declaration

TdxPSDBBasedExplorer = class(
    TCustomdxPSExplorer
)

Remarks

By default the print preview window displays a single report, which has been constructed using the component printer’s current link (specified by its CurrentLink property). The TdxPSDBBasedExplorer component enables you to add exploring facilities to the print preview window. If such a component is assigned to the component printer’s Explorer property, the window will display the tree view that arranges stored reports into folders and will provide additional menu items and toolbar commands used to perform explorer specific commands.

The TdxPSDBBasedExplorer component organizes reports using two datasets. The dataset specified by the Folders property contains information about the folders structure. The Items property specifies the dataset containing item data and the folders owning those items. Note that each dataset should contain three fields specifying the folder or item’s ID, its name and the parent folder’s ID, the items dataset should additionally contain a BLOB field holding report data. The FoldersFieldNamesMap and ItemsFieldNamesMap properties enable you to specify which particular dataset fields contain the desired information.

If storing report data in a dataset field doesn’t meet your requirements, consider using the TdxPSFileBasedExplorer component, this component enables you to store reports in files.

Inheritance

See Also