>Hi Jos,
>
>Thanks for the tip. Do you think this would work?
>
>set filter to between(ctot(ttoc(datetime,2)),{08:00:00 PM},{11:00:00 PM})
Yes would work. All would resolve to time values on 12/30/1899.
However due to internal math with datetime values you might miss some records which are appaerantly on 8 PM or 11 PM. For this reason I suggest you to make char based comparison. ie:
set filter to between(substr(ttoc(datetime,1),9),'20','23')
Cetin