Cetin,
Thanks for your reply. I fixed it by putting the AM/PM first in the sorting column, then the corresponding time, so that AM07:45 now comes before PM01:00 (making primary order of column character dependent instead of numerical). Guess it wasn't that hard if I had thought about it more <g>
Thanks,
Mark
>
>Ooops. It would be :
>
>ctot("^2000/1/1 "+left(evt,at('-',evt)-1))
>
>Cetin
Mark Rietman