If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Prompt Page - Date Prompt Not Showing Required

Started by Sandy10, 17 Sep 2010 10:42:41 AM

Previous topic - Next topic

Sandy10

Hi, I have a date prompt.  The properties are required:yes, hide adornments:no, multiselect:no,
Select UI:calandar, range:yes.      The filter is in_range and required.  [trans Date] in_range ?P_Date?

Without selecting the dates, it allows you to hit finish, and then I get no data.

Is this a known problem ?  Is there a work around.  I need it to be Required.
Has anyone else had this problem ?

Thank you.


MFGF

Hmmm - the 'required' property of the prompt should enforce this.

One other thing to check:  If you look a the properties of your filter, is the filter set to required or optional?

Regards,

MF.
Meep!

Sandy10

Hi MF, Thanks for the response.   Yes, my filter is required.

Lynn

The calendar UI always defaults to today. The finish button is enabled because default values are there. If you don't select anything and click finish it gets submitted with today for both ends of the range. I guess you'd call it a "feature" rather than a "known problem" :)

I suppose Java Script is an option to set the default to something you like, though I'm not a proponent of JS unless absolutely necessary due to potential upgrade issues. A different prompt control where you render a list of dates would be another option.

Sandy10

Thank you.  At least I know it's a "feature" and not a bug.

kattaviz

Hi,

What version of Cognos r u using?. In Cognos 8.4 you have the option of selecting a date or defaulting to the Earliest and Latest dates. By default Earliest and Latest date options are selected. If you do not select any dates in Date range prompt the report returns all the data.
thanks & regards
Satish Katta