Skip to main content

TdxPSFileBasedExplorer.LoadItemData(string,TBasedxReportLink) Method

Loads a particular item’s data into a report link.

Declaration

procedure LoadItemData(const AFullQualifiedFileName: string; AReportLink: TBasedxReportLink); overload;

Parameters

Name Type
AFullQualifiedFileName string
AReportLink TBasedxReportLink

Remarks

Use the LoadItemData method to load an item’s data into a report link. The item whose data is to be loaded is specified by its full-qualified file name via the AFullQualifiedFileName parameter. The report link where the data should be loaded is specified using the AReportLink parameter. Note that the preview window displays the contents of the component printer’s current item. Thus, to make an item’s content visible you need to load the item’s data into the current link or alternatively make the link current after loading, use the component printer’s CurrentLink property to identify the current link.

Alternatively, you can use a LoadItemData overload that accepts an object representing the item instead of its full-qualified file name.

See Also