Results 1 to 3 of 3
  1. #1
    bozin is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Aug 2015
    Posts
    2

    Doing a Date query with conditions

    I am trying to do a date query with conditions in excel but it don't seem to work
    I am trying to do a query on a table on the birthdate column and I need the records of all athletes that were born on or after 1/1/2008. Below is what I did but it doesn't seem to work. Can someone help

    Created a design view
    chose the birth date field
    and the criteria row I typed


    >=#1/1/2008#

  2. #2
    bozin is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Aug 2015
    Posts
    2
    I meant access, not excel

  3. #3
    Micron is offline Virtually Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    Go to query design view, copy and paste the sql into your next posting. We need to know if there is more than one table involved. Would be helpful if you could open the table(s) in design view and check the birthdate field properties to see what data type it is (number, text, date/time). These are Access tables, yes? You could also look at the table directly and ensure there are values in the birthdate field.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Query insert with too many conditions...?
    By gmaster in forum Queries
    Replies: 1
    Last Post: 05-19-2014, 11:49 AM
  2. Replies: 1
    Last Post: 12-22-2012, 12:38 PM
  3. Update Query - Multiple SETS and WHERE conditions
    By jasonbarnes in forum Queries
    Replies: 26
    Last Post: 12-15-2010, 01:08 PM
  4. Query result based upon two field conditions
    By diane802 in forum Access
    Replies: 35
    Last Post: 01-08-2010, 06:31 PM
  5. Query on multipl conditions.
    By Goldenbird in forum Queries
    Replies: 0
    Last Post: 06-28-2009, 11:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums