Skip to main content

TdxPSFileBasedExplorer.UnloadItemData(string) Method

Unloads an items data from a particular report link.

Declaration

procedure UnloadItemData(const AFullQualifiedFileName: string); overload;

Parameters

Name Type
AFullQualifiedFileName string

Remarks

The print preview window displays the current report link’s data by default. To display a report item’s data, the item’s data should be loaded into a report link which is identified by the component printer’s CurrentLink property. After the item’s data has been loaded, you can unload it using the UnloadItemData method call. The item whose data is to be unloaded is specified by its full-qualified name via the AFullQualifiedFileName parameter. Once the data has been unloaded, the preview window displays the actual report link’s content.

Note that end-users can load an items’ data into the current report link by double-clicking on an item or choosing the Load item from their context menus. The context menu’s Unload item can be used to unload the item’s data from the report link.

You can also use another UnloadItemData overload that specified the item by an object representing it.

See Also