Bennie47250
Programmer
Using Crystal version 7.0 with i-series (AS400) DB2 database files.
I have several reports that are running thru a 3rd party report scheduler (Cizer) and the reports are designed to pull data for orders entered for the current date. (mydayefield = CurrentDate )
Occasionally Cizer will fail prior to running the report for the current day so the next morning I have to run the reports manually. If I change the selection formula to Current date -1, (mydayefield = CurrentDate -1) the report takes about 9 minutes to run. However if I change the Set Print Date/Time to the previous days date, the report will run in 30 seconds or less.
Any thoughts as to why it takes so long to run with the Current date -1 formula and how to improve it?
I have several reports that are running thru a 3rd party report scheduler (Cizer) and the reports are designed to pull data for orders entered for the current date. (mydayefield = CurrentDate )
Occasionally Cizer will fail prior to running the report for the current day so the next morning I have to run the reports manually. If I change the selection formula to Current date -1, (mydayefield = CurrentDate -1) the report takes about 9 minutes to run. However if I change the Set Print Date/Time to the previous days date, the report will run in 30 seconds or less.
Any thoughts as to why it takes so long to run with the Current date -1 formula and how to improve it?