question911
MIS
Below, I added the selection criteria to the "selection formula" in Crystal Report 9. This selection formula is using crystal functions, which slows performance. I had to add the "date" function because the acdgroupsstats.d_time field is a string datatype. Is there an alternative selection criteria formula I can use to pass as much SQL to the the backend (Informix 7)?
date({acdgroupstats.d_time}) >= currentdate - 1 and date({acdgroupstats.d_time}) < currentdate
date({acdgroupstats.d_time}) >= currentdate - 1 and date({acdgroupstats.d_time}) < currentdate