query by time of day

G

Guest

I'm trying to query for a specific range of records that fall over a number
of days (i.e. a week) but are only within a certain time period (1:220 am -
2:00 am).
 
S

strive4peace

field --> TimeOfDate: TimeValue([datefield])
criteria --> between Between TimeSerial(1,22,0) And
TimeSerial(2,0,0)

TimeSerial(Hour As Integer, Minute As Integer, Second As
Integer)

TimeValue(Time As String)


Warm Regards,
Crystal
Microsoft Access MVP 2006

*
Have an awesome day ;)

remote programming and training
strive4peace2006 at yahoo.com

*
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top