Bennie47250
Programmer
Using Crystal Ver. 7.0 against a DB2 (AS400) table with a 3rd party ODBC driver
When the report run using CurrentDate -1 to pull the previous days records, the report takes over 5 minutes to run. However if I use just CurrentDate, the report runs in less than 15 seconds.
Why is this occurring and how can I work around it?
The report will be scheduled to run each day but I prefer to have reports run in the morning for the previous day. I do this because if a report fails to run or doesn’t run properly, it is easier to recover using Current Date -1.
Thanks
Bennie
When the report run using CurrentDate -1 to pull the previous days records, the report takes over 5 minutes to run. However if I use just CurrentDate, the report runs in less than 15 seconds.
Why is this occurring and how can I work around it?
The report will be scheduled to run each day but I prefer to have reports run in the morning for the previous day. I do this because if a report fails to run or doesn’t run properly, it is easier to recover using Current Date -1.
Thanks
Bennie