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

TdxPSFileBasedExplorer.UnloadItemData(string) Method

Unloads an items data from a particular report link.

#Declaration

Delphi
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