473,396 Members | 1,938 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Date/Time in Advanced Filter/Sort

I'm trying to select records between 2 different times, but I can't
seem to get Access to see anything other than the date. For instance,
criteria "Between #11/12/2001 1:45:00 PM# and #11/12/2001 2:45:00 PM"
returns all records on the 12th. Is there a trick here somewhere?
The field is date/time format. Do I have to do something to split the
date and time apart in order to get the filter to work right?
Nov 12 '05 #1
1 8773
3 thoughts
one is the problem with UK date format dd/mm/yyyy and US format mm/dd/yyy.
It could be that it thinks you are using a US date. Check your regionsl
settings on the control panel.

Secondly there is a missing closing "#" in your criteria

Thirdly although you may key in "Between #11/12/2001 1:45:00 PM# and
#11/12/2001 2:45:00 PM" and add the hash to "Between #11/12/2001 1:45:00 PM#
and #11/12/2001 2:45:00 PM#"
it gets changed to "Between #11/12/2001 13:45:00# And #11/12/2001
14:45:00#", so why not key it in that way

Phil
"Scott Dunham" <sj******@comcast.net> wrote in message
news:fd**************************@posting.google.c om...
I'm trying to select records between 2 different times, but I can't
seem to get Access to see anything other than the date. For instance,
criteria "Between #11/12/2001 1:45:00 PM# and #11/12/2001 2:45:00 PM"
returns all records on the 12th. Is there a trick here somewhere?
The field is date/time format. Do I have to do something to split the
date and time apart in order to get the filter to work right?

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: zaceti | last post by:
I'm new to MySQL and I am having a problem selecting the highest valued date/time for a particular day. Here is the table structure: ...
1
by: MX1 | last post by:
Hi all, I have a form with a dropdown field on it that is a concatenation of LastName, FirstName and Middle Initial. For example, John A Brown shows up as "Brown, John A." I'm tring to filter...
2
by: Mike Sweetman | last post by:
I have a form Form1 which when the Advanced Filter/Sort is used creates a form(maybe) with a title 'Form1Filter1 : Filter'. When I apply the filter to Form1 it is applied, but the value of...
4
by: Nhmiller | last post by:
This is directly from Access' Help: "About designing a query When you open a query in Design view, or open a form, report, or datasheet and show the Advanced Filter/Sort window (Advanced...
2
by: Tim Marshall | last post by:
The following is happening in two instances in A2003. The one I s\describe is the easiest one. Theme controls and autocorrupt have been turned off long ago. An unbound main form with a list...
7
by: 4004 | last post by:
Where am I going wrong? I have a form which has a record for each date on which I teach. It has a subform which shows the classes that I teach that day. So I want to be able to click on a...
3
by: matturbanowski | last post by:
Hi, I have a date/time field in a SQL2000 database, and what I would like to do is to filter on a specific part of the field, for example the time or hour. Supposing I have a set of data for...
0
by: Andrew Meador - ASCPA, MCSE, MCP+I, Network+, A+ | last post by:
I am running Access 2007. I have a report that I want to filter. I can go into Advanced...Advanced Filter/Sort... and setup a filter that works fine on the report when I apply it. When in this...
0
by: Andrew Meador - ASCPA, MCSE, MCP+I, Network+, A+ | last post by:
I am running Access 2007. I have a report that I want to filter. I can go into Advanced...Advanced Filter/Sort... and setup a filter that works fine on the report when I apply it. When in this...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.