Results 1 to 3 of 3
  1. #1
    snoopy is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2012
    Posts
    53

    Red face checking if current year

    Hi community,

    I am searching for a simple criteria in a query. I've just want to check if the selected year is the current one.

    In specific row there just types of year.

    Eg.
    2012
    2013
    2012
    2012
    2014

    At the end it just have to show only 2012, cause current year. Hopefully someone understands and could help me out with

  2. #2
    Kirsti is offline Competent Performer
    Windows 7 32bit Access 2003
    Join Date
    Jan 2012
    Location
    New Zealand
    Posts
    172
    Hi there,

    In the field row of your query: Year([YourField])

    and in the Criteria row of the same field: Year(Now())

    This will only return those values where the year is 2012. Is that what you need?

  3. #3
    snoopy is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2012
    Posts
    53
    He,

    that is exactly what I am searched for

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

Similar Threads

  1. Auto fill Current year
    By Bhat59 in forum Forms
    Replies: 3
    Last Post: 10-17-2011, 08:56 PM
  2. Checking if a year exists via DLookup
    By walter189 in forum Programming
    Replies: 6
    Last Post: 07-22-2011, 10:37 PM
  3. Current Month and Year-To-Date
    By DSnipeFunk in forum Access
    Replies: 4
    Last Post: 05-31-2011, 11:38 AM
  4. Filet Records by Current Year
    By jbarrum in forum Access
    Replies: 6
    Last Post: 11-19-2009, 11:34 AM
  5. Changing a date to the current year
    By fdnyfish in forum Access
    Replies: 1
    Last Post: 03-01-2008, 08:34 AM

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