Hi all,
I am developing a report using Crystal reports 2008 which pulls up info from a table with couple million rows. The report has a date range prompt which will narrow down the selection to few thousands when the report is run. Since my SQL query doesnt have this date filter (the date range will be an user input), crystal reports is trying to read all the records and then apply this date range prompt.
In the Crystal reports user guide, there is a reference to push the selection to database than do it in the crystal report. But in my case the selection (date range) is user driven. As per suggestions from the user guide, I incorporated the parameter prompt (from and to date) into the "select expert" -> "Record" as {Command.DATE} in {?From date} to {?To Date}. But it doesnt seem to help. Am I doing something wrong ? Is there a way to push this prompt to the sql query so that the report doesnt read all records and then filter out the date range.
Any thots / suggestions are appreciated.
regards
Joe.