I have a report in Crystal 8.5 and I am trying to input parameters to include from 1 date and time to another date and time. The date and time fields are numeric(AS400) and seperate fields. I want Crystal to include records between these date and time fields. There may be an issue where the parameter is 10:30 pm of one day to 6:30 am of next day(shift reporting) or from 5:30 pm of on til 5:29 pm of another. I cannot get the selection statement correct. Would appreciate any help.
{?Startdate}={O2OPUT00.O2PRDT} and
{O2OPUT00.O2PRTM}>=173000 or
{?Stopdate}={O2OPUT00.O2PRDT} and
{O2OPUT00.O2PRTM}<=173000 and
{O2OPUT00.O2PAKU} > 0.00
The above code works for 1 specific day but I need either for several days or specific hours within that day.
Thabnks