COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Framework Manager => Topic started by: cognostechie on 10 Aug 2010 09:29:04 PM

Title: Passing a Date from RS to a View in the DB
Post by: cognostechie on 10 Aug 2010 09:29:04 PM
Hi All -

Just like a Stored Procedure can accept a parameter as an input, can we pass a Prompt (in this case a Date value) to a View already created in the DB? I can cut and paste that view and use the 'Native' SQL but in that case, can we use some Macro etc to pass the Date Value as a Parameter to be chosen by the user?

Thanks
Title: Re: Passing a Date from RS to a View in the DB
Post by: cognostechie on 12 Aug 2010 12:34:43 PM
Found the solution. Embedding a Macro works. It makes the View execute AFTER receiving the value from the Macro so that works.