If you don't know how to find out the data type of time stamp, then you could try a bit of trial and error. I'm assuming that it is datetime, but Crystal has two different datetime formats.
If it's a "date time string" try this:
DTStoTime({applicationstat.timestamp})>Time(8,0,0)
If it's just a "date time" try this:
DateTimeToTime({applicationstat.timestamp})>Time(8,0,0)
Each time we're converting it to a time field, and then comparing it against a time field of the same data type that we've just created with time().
Can you let me know how you get on?
Regards,
Darryl
www.darrylbeckford.co.uk |