COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Modtamod on 30 Jan 2008 12:28:25 PM

Title: Error Notification
Post by: Modtamod on 30 Jan 2008 12:28:25 PM
I have a month and a year prompt on my report. How will I accomplish it in a way that when an invalid date like year is not valild (example year 3000)  it will pop up and event or notify the user that the parameter they enter is invalid. Please advice.
Title: Re: Error Notification
Post by: Suraj on 30 Jan 2008 01:00:15 PM
You can use a conditional block on the prompt page that activates only if the entered value is above current year.
But for best practices, use the following alternative approach:
Just allow the users to select from the value that is available for the data.
That way users cannot select any other values than what is available.