I was wondering if someone could help. I’m new to BiRT and have very little experience of using script in reports.<br />
<br />
I have a dataset, which includes a DateTime field.<br />
<br />
I want to create a Drop Down Date Range / Custom Date Range parameter for the report to enable users to select the date range for which they require information to be displayed.<br />
<br />
I searched BiRT Exchange and found the following example <a class='bbc_url' href='
http://www.birt-exchange.org/devshare/designing-birt-reports/857-birt-drop-down-date-range-custom-date-range-option-example-report/#description'>BIRT Drop Down Date Range / Custom Date Range Option Example Report - Designs & Code - BIRT Exchange</a><br />
<br />
I tried to replicate this within my report, but when I previewed the report it came up with the following error message:<br />
<br />
Report generation failed. Cause: An exception occurred during processing. Please see the following message for details:<br />
Cannot get the result metadata.<br />
SQL statement does not return a ResultSet object.<br />
SQL error #1: ORA-01861: literal does not match format string<br />
<br />
Is this due to my field being a DateTime rather than a Date field? I selected Date type: Date when setting up the StartDate and EndDate report parameters. <br />
<br />
Any help would be appreciated.