Microsoft
Software
Hardware
Network
Question : Cognos 8.2--Pass date in correct format from date prompt?
I have a date prompt on my prompt page that accepts a start date and end date for a period to search. Normally I've used syntax like this:
between ?start_date? and ?end_date?
But this doesn't work for this date field. The date requires a syntax like this:
[Referral_Date] in_range{2009-04-01 00:00:00.000:2009-04-30 23:59:59.999}
This will make it work, but I don't know how to make my date prompt pass the date like this?
Answer : Cognos 8.2--Pass date in correct format from date prompt?
Create a calculated column which displays the date as a date, not a datetime and use this for the prompt. Function - datetime-to-date.
Chris B
Random Solutions
Trigger PDF Download in Flash
Editing Headers & Footers a certain way.
Help with MS Access SQL.... UNION syntax question
Exchange 2007 multi-site design
automatically print files from folder to particular location
GFI Faxmaker becomes failure after a period of time.
DTSTaskExecResult_Success
ERROR: The 'select into' database option is not enabled for database 'ipaddb'.
Outlook 2003 Displays Interface Not Supported When Replying to Email
Best introduction to apache web server