Results 1 to 2 of 2
  1. #1
    Lounger
    Join Date
    Jan 2006
    Posts
    43
    Thanks
    0
    Thanked 0 Times in 0 Posts

    query for January (Access 2000)

    How can I limit the query to the dates during January? My query consists of orderid, invoicedate, liters, etc.How can I make my query have a crteria 1 for january ?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: query for January (Access 2000)

    Add a calculated column to your query:

    M: Month([OrderDate])

    Set the criteria for this column to 1.

    Note: this will select records for January in any year. If you want to limit it to records from this year only, add another calculated column:

    Y: Year([OrderDate])

    Set the criteria for this column to 2006.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •