jazzercise
MIS
I am new to Cognos Impromptu and I am trying to create a filter for a report that allows the user to select the date range of the report. I am using UDB database on Impromptu version 6.0.
My filter prompt looks like this:
date(field1) >= ?\Begin Date? and date(field1) <= ?\End Date?
field1 = a date timestamp field
?\Begin Date? = date prompt field
?\End Date? = date prompt field
Error message:
Error number -239:
DMS-E-GENERAL, A general exception has occurred during operation 'prepare request'.
DMS-E-GENERAL, A general exception has occurred during operation 'prepare request'.
[IBM][CLI Driver][DB2/SUN] SQL0007N The character "{" following "ATE(T1."EVNT_TS" >=" is not valid. SQLSTATE=42601
I have tried several other scenarios - without any luck.
Any ideas would be appreciated!
Thanks!
My filter prompt looks like this:
date(field1) >= ?\Begin Date? and date(field1) <= ?\End Date?
field1 = a date timestamp field
?\Begin Date? = date prompt field
?\End Date? = date prompt field
Error message:
Error number -239:
DMS-E-GENERAL, A general exception has occurred during operation 'prepare request'.
DMS-E-GENERAL, A general exception has occurred during operation 'prepare request'.
[IBM][CLI Driver][DB2/SUN] SQL0007N The character "{" following "ATE(T1."EVNT_TS" >=" is not valid. SQLSTATE=42601
I have tried several other scenarios - without any luck.
Any ideas would be appreciated!
Thanks!