Information between specific dates

P

partner

I have been trying with no luck to pull a query of individuals with a birth
date after 8/1/2003 and before 7/31/2004. i am unable to get any information.
when i do get information it is only for dates in july but with all the
years.
I am fairly new to Access, I have been online and in the Access for Dummies
books but i can't seem to find what i need.
I also need to be able to pull individuals by age such as (0-3 months), (4-6
months), and (6-12months old).
Can anyone help?
 
J

Jerry Whittle

Show us the SQL for the query that somewhat works.. Open the query in design
view. Next go to View, SQL View and copy and past it here.
 
P

partner

While trying to get the information for you i finally stumbled upon my
problem. For some reason my Birth Date field was set to text instead of
Date/Time.
Thank you for your time.
 
J

John Spencer

It sounds to me as if your dates are being stored in a TEXT field and not in
a dateTime field. If so, you are going to have problems pulling date
ranges.

So, the first question is what type of field is the birthdate?

After you answer that perhaps you can post the SQL view of your query. (In
design view, select View: SQL from the menu, copy and paste the text).

--
John Spencer
Access MVP 2002-2005, 2007-2008
Center for Health Program Development and Management
University of Maryland Baltimore County
..
 

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