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!

Search for printername in all reports

Status
Not open for further replies.

ZedEnter

Programmer
Sep 15, 2004
40
DE
Hi -

Using: CE10

I want to search for a printername associated to a report object.

This code:
Code:
SELECT SI_PROCESSINFO.SI_PRINTER_INFO FROM CI_INFOOBJECTS WHERE  SI_PROGID='CrystalEnterprise.Report'

will get me all the information I need, but how do I get the SI_NAME='printername' for a proper result collection involved?

Tried:
Code:
SELECT SI_PROCESSINFO.SI_PRINTER_INFO FROM CI_INFOOBJECTS WHERE SI_PROGID='CrystalEnterprise.Report' 
AND SI_PRINTERINFO.SI_NAME='printername'

but with no effect. All I get is nothing, though the printername exists and I can see it in the result collection of the Query Builder.

Greetz - Chris.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top