Hi, there is some code in a formula that compares a date time column to a date parm in Crystal. It works ok if the date time column has a zero time portion but does not if there is a time (which most of the columns do).
The code is:
{Command.STMOD_HIST_DATE} in {?Reg Date From} to {?Reg Date To} then
So ?Reg Date From and ?Reg Date To = 2012-5-30
So for a STMOD_HIST_DATE = 30/05/2012 00:00:00 it picks it up ok, but
For STMOD_HIST_DATE = 30/05/2012 15:33:00 it dosent.
I did try to change the parm to a date time but it is so embedded in the report it pretty much wipes it out.
So how can I change the {Command.STMOD_HIST_DATE} expression just to compare the date portion?
Thanks,
JD.