Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ODBC to CI_InfoObjects

Status
Not open for further replies.

mblampe

Programmer
Jun 24, 2002
7
US
How do I create an ODBC to CI_InfoObjects?
I have a copy of the APS Database, but I don't see fields such as SI_LAST_RUN_TIME, SI_LOCAL_FILEPATH.

I would like to create a Crystal Report showing report run times during a data range and report error messages.

Is the only way to access the SI_ fields through .csp query or another language such as a java query?
 
I want to set up an ODBC to a copy of the Crystal Enterprise 8.5 APS database.

Below is from CE 8.5 Launchpad, CSP Query Builder:

If you are not familiar with SQL syntax, click here. Otherwise, you can enter the query statement below to access the APS.
(eg. To select all reports in the aps, enter SELECT SI_ID, SI_NAME FROM CI_INFOOBJECTS WHERE SI_PROGID = 'CrystalEnterprise.Report')
 
Is there a way to report directly against the APS database? I have used the Query Builder tool provided with 8.5; however, I would like to generate a report which displays a grouping by folder of the report object which reside in the APS. The query builder does this but I have to run two reports. Including the SI_PARENTID field in the above query I can run a report against all CrystalEnterprise.Folder objects and then a second report which runs against the CrystalEnterprise.Report objects. then I have to manually match up the ID's to determine which parent folder the report object belongs in. There has to be a better way to do this.

Kenneth Hartman
Manager, EIS
Hughes Network Systems
 
Hi,
The APS database stores its info in hashed and coded strings, etc. that are not readily accessed directly.

Look at the sample code provided in the Query Language Gulde (accessed from Launchpad) - It has most of the info you need to construct that kind of query ..

[profile]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top