COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: DSR on 29 Oct 2008 05:10:17 AM

Title: Need to Pass Dynamic Default value to Value Prompt
Post by: DSR on 29 Oct 2008 05:10:17 AM
I am using Value prompt for Dates.

Here am passing date in normal format.But How can I pass dynamic Default value to Value prompt.

Always I need to pass "sysdate-1" as a default value to the value prompt.

Please let me know if there is any way to resolve this.

Regards,
Sanju
Title: Re: Need to Pass Dynamic Default value to Value Prompt
Post by: BIsrik on 29 Oct 2008 06:08:08 AM
you need to make use of Javascripts...

Srik
Title: Re: Need to Pass Dynamic Default value to Value Prompt
Post by: DSR on 29 Oct 2008 07:35:13 AM
Hi,

Thanks for ur quick responce for my query.Can you please share that java script with me here.

Regards,
Sanju