COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: VijayaK on 24 Nov 2009 11:57:04 PM

Title: Date Range prompt
Post by: VijayaK on 24 Nov 2009 11:57:04 PM
Hi

How I can set default dates in the date range prompt dynamically.
Title: Re: Date Range prompt
Post by: DSR on 25 Nov 2009 01:00:55 AM
Hi

What is your requirement....How do you want to set defualt date for your date prompt...Is it like sysdate-* /+* or enything else...
Regards
Sanjeev
Title: Re: Date Range prompt
Post by: VijayaK on 25 Nov 2009 01:32:29 AM
Hi,

I am using date prompt in my report having property set to 'Yes'.
Lemme explain you my req.
For example, If today's date is AUgust 18,2009
I have to display
From date with default date as Jan 1, 2009 and
To date with default date as May 31, 2009.

I am able to achieve this using script but with two different date prompts whose range property set to 'No'.

I have to get the above logic done by using single date prompt by setting range property to 'Yes'

Thanks
Vijaya