I have a report that was created in a very old version of Crystal Reports that used a record selection of:
{timesheet.date} in LastFullMonth
This worked well, but since upgrading to Crystal Reports 2008 it no longer returns any records. The SQL generated by this is:
SELECT `project`.`project_name`, `timesheet`.`date`, `timesheet`.`hours`
FROM `timesheet` `timesheet` INNER JOIN `project` `project` ON `timesheet`.`project_id`=`project`.`project_id`
WHERE (`timesheet`.`date`>={d '2008-11-01'} AND `timesheet`.`date`<={d '2008-11-30'})
ORDER BY `timesheet`.`date` DESC
I don't know if it makes any difference, but the database containing the fields is an older version of Foxpro. The field timesheet.date is a date field.
I thought that there might be something else wrong with the report so I began creating a new report from scratch and get the same results in the new report as soon as I add the record selection formula above. Can someone please point me in the right direction for correcting this?
{timesheet.date} in LastFullMonth
This worked well, but since upgrading to Crystal Reports 2008 it no longer returns any records. The SQL generated by this is:
SELECT `project`.`project_name`, `timesheet`.`date`, `timesheet`.`hours`
FROM `timesheet` `timesheet` INNER JOIN `project` `project` ON `timesheet`.`project_id`=`project`.`project_id`
WHERE (`timesheet`.`date`>={d '2008-11-01'} AND `timesheet`.`date`<={d '2008-11-30'})
ORDER BY `timesheet`.`date` DESC
I don't know if it makes any difference, but the database containing the fields is an older version of Foxpro. The field timesheet.date is a date field.
I thought that there might be something else wrong with the report so I began creating a new report from scratch and get the same results in the new report as soon as I add the record selection formula above. Can someone please point me in the right direction for correcting this?