Hi all.
I have a report in crystal 7 going to an oracle database. Within the select expert, I've set up a few criteria and also have set up date criteria for a date range. The problem is that the report does not use this criteria, nor does is show up when "Show SQL Query" is chosen. I've not modified the SQL directly and I can add and delete other criteria with the select expert and the other criteria always shows up. I've verified the database and used the reset button in the Show SQL Query window and can't get the date to be recognized.
The formula shown in my select expert is:
where dateRange is a Date Range parameter. I've also tried using separate start and end date parameters like:
With this formula, the start date is recognized, but not the end date. Can someone please tell me what's wrong with my syntax?
Also, I'm adding one to the end date because entrydate is an oracle type date field with both date and time.
I have a report in crystal 7 going to an oracle database. Within the select expert, I've set up a few criteria and also have set up date criteria for a date range. The problem is that the report does not use this criteria, nor does is show up when "Show SQL Query" is chosen. I've not modified the SQL directly and I can add and delete other criteria with the select expert and the other criteria always shows up. I've verified the database and used the reset button in the Show SQL Query window and can't get the date to be recognized.
The formula shown in my select expert is:
Code:
{TABLE.AGENCY} = "ABC" and
{TABLE.ENTRYDATE} >= Minimum({?dateRange}) and
{TABLE.ENTRYDATE} < (Maximum({?dateRange}) + 1)
where dateRange is a Date Range parameter. I've also tried using separate start and end date parameters like:
Code:
{TABLE.AGENCY} = "ABC" and
{TABLE.ENTRYDATE} >= {?startDate} and
{TABLE.ENTRYDATE} < ({?endDate} + 1)
With this formula, the start date is recognized, but not the end date. Can someone please tell me what's wrong with my syntax?
Also, I'm adding one to the end date because entrydate is an oracle type date field with both date and time.