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!

passing filter definition

Status
Not open for further replies.

ornel

Technical User
Apr 2, 2003
23
HU
Hi All,

I have got a simple report with 2 columns (id,text) without any filter definition.

I call this report from macro, and a macro create an filter definition (before call the IMR), for example ID=1.

I would like to pass to the report the filter definition from macro.

How Could I modify the report filter definition from macro?

Can someone help me with this?


thx ornel
 
ornel,

See faq401-2137 and the subsection called "Macros and Prompts". Prompts are passed from the macro as strings. They must be defined in the report as a string. You can do conversion within the report if they need to become other data types.

Hope this helps.

Dave Griffin


The Decision Support Group
Reporting Consulting with Cognos BI Tools
"Magic with Data"
[pc2]
Want good answers? Read FAQ401-2487 first!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top