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

TdxPSDBBasedExplorer.FindFolderByID(Integer) Method

Returns a folder by its ID.

#Declaration

Delphi
function FindFolderByID(AnID: Integer): TdxPSDBBasedExplorerFolder; virtual;

#Parameters

Name Type
AnID Integer

#Returns

Type
TdxPSDBBasedExplorerFolder

#Remarks

Use the FindFolderByID method to obtain a folder object with the specified ID. The desired folder’s ID should be passed as the AnID parameter. If the Folders dataset doesn’t contain a folder with the ID specified, the method returns nil.

Note that you can also use the base class’ FindCustomItemByUniqueID method to access folders and items by their IDs. If you need to access a particular report item, use the FindItemByID method.

If you need to obtain a folder by its name, you may use the Folders dataset to locate the desired record, retrieve the desired folder’s ID and pass it to the FindFolderByID method.

See Also