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!

Macro issue passing Impromptu 7.4 the <All> selection for a Catalog Pi

Status
Not open for further replies.

DHWCognos

Programmer
Jan 23, 2009
1
CA
I need to know how I can pass the value of <All> (Catalog Picklist) in Impromptu ver 7.4 while using a macro to run the report. What do I need the prompt within the macro to capture so that it will trigger the <all> selection within the report...OR is this not possible?
 
You're in luck; version 7.4 added the OpenReportExA method which allows such. Look up OpenReportExA in Macro Language Help - the format is along the lines of
Code:
Set objImpRep = objImpapp.OpenReportExA("\\cognosserver\cognos\Report.imr","<All=true>")
[\code]

[i]soi la, soi carré[/i]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top