Skip to main content

TBasedxReportLink.DataSource Property

Specifies if the report link’s report is loaded from an external storage (file, stream, or explorer item) or built using the data displayed by a linked component.

Declaration

property DataSource: TdxReportLinkDataSource read; write;

Property Value

Type
TdxReportLinkDataSource

Remarks

Loading the report from an external storage assigns rldsExternalStorage to this property. Otherwise, the property is set to rldsComponent.

A change to the DataSource property does the following:

  • Fires the OnDataSourceChanged event;

  • Rebuilds the report (if required) or destroys it if the property value is switched from rldsExternalStorage to rldsComponent. This switch is done automatically when the Print Preview window with a loaded report is closed or destroyed, provided that the cpoDropStorageModeAfterPreview flag is set within the TdxComponentPrinter.Options property.

See Also