Forum Moderators: open
SELECT *, TimeIn, TimeOut
FROM YourTable
WHERE ((DateDiff("h",[TimeIn],[TimeOut])>3));
the asterisk, would be replaced with the other fields you actually want if the asterisk is too much.. but I think you have to name your time in/out fields specifically.
Suzy