1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved: Access 2007: date Query

Discussion in 'Business Applications' started by JPLamb, Apr 13, 2008.

Thread Status:
Not open for further replies.
  1. JPLamb

    JPLamb Thread Starter

    Joined:
    Jan 27, 2005
    Messages:
    577
    Hi,

    I believe this is a really easy thing to do but i can not get it to work,

    I have a table that contains a name and the dates that they are on holiday. i am wanting to have a query that will show me everyone who is on holiday in February.

    I thought this was simple but i have not been able to get it to work, i think i am missing something really really simple.

    I have attached a copy of the table, the table is part of a college project and all data is fictional.

    The attachment is zipped so it could be attached

    Thanks
    James
     

    Attached Files:

  2. OBP

    OBP

    Joined:
    Mar 8, 2005
    Messages:
    19,895
    James, to find all dates for February can be done in 2 ways, you can use from the 1st (startdate) to the 29th or 28th (eneddate) and then type in the Query Criteria Row
    between 01/02/2008 and 29/02/2008
    or you could use the Date part or date Format to extract February form you date and then compare it to February, but that only works if you have one years worth of data.
    I can't help with your zipped file as I do bnot have Access 2007.
     
  3. JPLamb

    JPLamb Thread Starter

    Joined:
    Jan 27, 2005
    Messages:
    577
    Thanks, it worked and was simple, thanks for your help much appreciated.

    James(y)
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/703202

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice