COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: dipesh_mistry on 01 Oct 2007 01:07:17 AM

Title: Making default date of the date prompts blank
Post by: dipesh_mistry on 01 Oct 2007 01:07:17 AM
Hi All,
I have three date fields in the prompt page. Each date field has from_date and to_date field. Currently the system date gets populated as default date in the prompts. I want the default date as blank.

Anybody has any suggestions on this .. plz provide me.

Thanx in Advance

Regards,
dipsy
Title: Re: Making default date of the date prompts blank
Post by: lindero on 02 Oct 2007 09:19:14 AM
Hello Dispy,

in my opinion there is only one way via JavaScript.

see the attached file. It is a Cognos8.2 report spec with one date prompt on the prompt page which is cleared at startup.

But please be careful with using JavaScript. In 8.3 there are new objects in Javascript. It could not work in future releases.

I hope it helps.

cheers,
Oliver
Title: Re: Making default date of the date prompts blank
Post by: dipesh_mistry on 03 Oct 2007 12:51:53 AM
Thanx a lot Oliver...