Thanks for your time,
I am using Querry. and using below conditions
where a.keydoccheck = 18
and a.CheckedAsOf >= '4/02/2010'
and format(timevalue([a.starttime3]), "Short Time") > "05:30")
(where keydoccheck, checkedasof and stattime3 are filed name of particular table.)
your formula...