If the query ask for intervalending then it doesn't recognize that name asa
field name. Check the spelling of the field name.
--
John Spencer
Access MVP 2002-2005, 2007-2008
Center for Health Program Development and Management
University of Maryland Baltimore County
.
It doesn't seem to work. My field name is "Intervalending". When I
replace "YourDateField" with "Intervalending" in the code you gave and
run the query, I get a popup box that says "(Intervalending)" and has
a space for me to type in something. It doesn't just bring up the data
with filtered result. any idea?
Use an additional calculated field like this ---
Expr1: [YourDateField]-Int([YourDateField])
and criteria of ---
Not Between #6:00:00 AM# And #10:00:00 AM#
- Show quoted text -- Hide quoted text -
- Show quoted text -