Hi there,
I use Crystal Reports and Crystal Enterprise v10, reporting from an Oracle 9i database in a Unix environment.
For this report, I have a single table data source that contains records of jobs run. Each record contains the job's Start_DateTime and the Finish_DateTime - however, they exist in the table as string values.
Simply converting these values using CDateTime() - and then using a DateTime range parameter to drive the record selection on the Start_DateTime - works a treat in the Crystal Reports environment.
However, as soon as I publish it to CE and run it there, I get inconsistencies in the records returned. By the way, the time value is important because I need to report on a period beginning on one day at 7am and ending 24 hrs later at 7am. Eg. 07-Aug-06 (7am) to 08-Aug-06 (7am).
The symptom I got today, using the above example, was that in CR, I correctly received 7 records based on the 24 hr period. Running it in CE, however - against the very same database - only returned 1 records. I tried extending the parameter value and found that when I went back as far as 11pm on 06-Aug-06 to 7am on 08-Aug-06, it returned an extra record for 07-Aug-06 at 0:04am. This still means that it skipped 6 records that all have a Start_DateTime of between 07-Aug-06 8:43am to 8:04pm - that DO show up in the version run on Crystal Reports. Bizarre!
Please note that I have double checked that:
a) they were run against the same data source
b) these symptoms have been verified at least 3 or 4 times, so the data has not changed between runs.
If anyone has any experience with this behaviour, or any advice, it would be much appreciated.
Many thanks,
Mike
(Sydney, Australia)
I use Crystal Reports and Crystal Enterprise v10, reporting from an Oracle 9i database in a Unix environment.
For this report, I have a single table data source that contains records of jobs run. Each record contains the job's Start_DateTime and the Finish_DateTime - however, they exist in the table as string values.
Simply converting these values using CDateTime() - and then using a DateTime range parameter to drive the record selection on the Start_DateTime - works a treat in the Crystal Reports environment.
However, as soon as I publish it to CE and run it there, I get inconsistencies in the records returned. By the way, the time value is important because I need to report on a period beginning on one day at 7am and ending 24 hrs later at 7am. Eg. 07-Aug-06 (7am) to 08-Aug-06 (7am).
The symptom I got today, using the above example, was that in CR, I correctly received 7 records based on the 24 hr period. Running it in CE, however - against the very same database - only returned 1 records. I tried extending the parameter value and found that when I went back as far as 11pm on 06-Aug-06 to 7am on 08-Aug-06, it returned an extra record for 07-Aug-06 at 0:04am. This still means that it skipped 6 records that all have a Start_DateTime of between 07-Aug-06 8:43am to 8:04pm - that DO show up in the version run on Crystal Reports. Bizarre!
Please note that I have double checked that:
a) they were run against the same data source
b) these symptoms have been verified at least 3 or 4 times, so the data has not changed between runs.
If anyone has any experience with this behaviour, or any advice, it would be much appreciated.
Many thanks,
Mike
(Sydney, Australia)