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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSP - Pulling Info

Status
Not open for further replies.

BlurredVision

Technical User
Aug 6, 2001
326
GB
Does anyone know how to pull the SI_FILES information within CI_INFOOBJECTS? My goal is to have the info displayed on a single line.. Example:

SI_PATH, SI_NUM_FILES, SI_FILE1, SI_FILE2

I am using the code below, which works fine for items, but not for others.



var Query = "SELECT * From CI_INFOOBJECTS Where SI_PROGID='CrystalEnterprise.Report' and SI_INSTANCE=0";
var Reports = IStore.Query(Query);

if (Reports.count > 0)
{
for (var k = 1; k < Reports.count; k++)
{
Response.Write(Reports.item(k).Properties.Item('SI_NAME') + '<br>');
Response.Write(Reports.item(k).Properties.Item('SI_ID') + '<br>');


Any examples that you could provide would be most helpful.

Brian
 
No one? Come on mighty brain trust of the tek-tips forums!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top