The names of all the folders above the folder in question. Read
Part | Type | Description |
---|---|---|
QueryResult.Item(Index).Properties.Item("SI_PATH")
SI_PATH is a property bag that contains the following properties:
Property | Description |
---|---|
The number of folders in the collection. This is a read |
x represents the number of the alert.
This property bag contains a list of all the parent folders above the current folder. If this folder is a top level folder then the bag will be empty. It is possible to check for a top level folder by examining the folder's parent ID: if the ID is 0 then the folder is a top level folder.
Each folder in the ancestory has a number associated with it. For example, if the folder is the third folder down in the folder tree, it will have two folders above it. Consequently the SI_PATH bag takes this form:
The smaller the number of the folder, the closer the relationship between the parent folder, and the folder who owns the bag.
To access a property from a property bag, use the following syntax:
QueryResult.Item(Index).Properties.Item("SI_PATH").Properties.Item("PropertyName")
Part | Type | Description |
---|---|---|
For information on how to use the SI_PATH collection, please see the Tutorial: Lesson 2c: Displaying the complete path to the current folder.
Crystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |