Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

Delphi
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