Skip to main content

TBasedxReportLink.LoadDataFromStream(TStream) Method

Loads a report from a specified stream into the Print Preview window.

Declaration

procedure LoadDataFromStream(AStream: TStream); virtual;

Parameters

Name Type
AStream TStream

Remarks

Call this method to load a report from a stream passed as the AStream parameter into the Print Preview window. This method can only load a report if it was previously saved to a stream using the SaveDataToStream method. Loading a report from a stream updates the report link’s DataSource properties with rldsExternalStorage.

The LoadDataFromStream method is declared as virtual to allow TBasedxReportLink descendants to implement their own approach to reading the report from the stream.

See Also