COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: actcognosuser on 23 Dec 2009 07:44:28 AM

Title: Javascript to Default date in date/value prompt to last weeks date
Post by: actcognosuser on 23 Dec 2009 07:44:28 AM
Hi All,
            I have a value  prompt which needs to display previous week.I have defaulted the date in the query.So the drop down always shows previous week.This previous week date parameter is reference by multiple queries.

When i run the report I need the prompt to execute with previous weeks date ,without the user having to select a date.i.e the finish button should be enabled as soon as the user clicks run.