Stores the textual name of the object. Indexed.
Part | Type | Description |
---|---|---|
QueryResult.Item(Index).Title
This property stores the name of an object. It can be used both to display the object's name and to search for a particular object. This is not a unique value; therefore, different objects may have the same names. To list objects by a unique value use the SI_ID property.
This example searches for all reports whose name contains the word 'taxes'. The search is case
Result=InfoStore.Query(
"Select SI_NAME From CI_INFOOBJECTS where SI_PROGID='CrystalEnterprise.Report' and SI_INSTANCE=0 Like '%taxes
'")
The LIKE operator in this statement does a text comparison on all reports in Enterprise, and the percentage sign acts as wildcard.
Use SI_NAME to retrieve a plugin. For example:
SELECT TOP 10 * FROM CI_SYSTEMOBJECTS WHERE SI_NAME='secEnterprise' and SI_ANCESTOR=25
Note that when you use a query such as Select Top 10 * From CI_SYSTEMOBJECTS where SI_PROGID = 'CrystalEnterprise.Connection', you do not retrieve the connection plugin object; rather, you get back the connection objects that have been added to the APS.
Crystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |