Greetings,
I'm struggling to pass the following statement to the server, via Selection Criteria, to improve processing time... can anyone improve on this. I've tried some old techniques but i'm stumpred at present.
Cheers
(
If {?Morning/Evening}='Morning'
then CDate({INC_DATA.U_DATE4}) in DateTime(CurrentDate,Time(00,00,00)) to DateTime(CurrentDate,Time(23,59,59))
else
If {?Morning/Evening}='Evening'
then CDate({INC_DATA.U_DATE4}) in DateTime(CurrentDate,Time(00,00,00)) to DateTime((CurrentDate+1),Time(10,00,00))
)
I'm struggling to pass the following statement to the server, via Selection Criteria, to improve processing time... can anyone improve on this. I've tried some old techniques but i'm stumpred at present.
Cheers
(
If {?Morning/Evening}='Morning'
then CDate({INC_DATA.U_DATE4}) in DateTime(CurrentDate,Time(00,00,00)) to DateTime(CurrentDate,Time(23,59,59))
else
If {?Morning/Evening}='Evening'
then CDate({INC_DATA.U_DATE4}) in DateTime(CurrentDate,Time(00,00,00)) to DateTime((CurrentDate+1),Time(10,00,00))
)