Results 1 to 3 of 3
  1. #1
    dae2604 is offline Novice
    Windows Vista Access 2007
    Join Date
    Oct 2010
    Posts
    1

    Smile Help with Access Query

    hi I'm newby in Access pls help me with this simple query

    I had a Table named ORDERS,

    In the ORDERS Table I had A Field named >> OrderDate

    i want to show all the Oders with the current System month and year

    e.g today is Oct/21/2010 then all of the orders for the month of OCT and year 2010



    Many Thanks!!

  2. #2
    Rixxe is offline Blessed Bear
    Windows 7 Access 2007
    Join Date
    Sep 2010
    Location
    London (Essex ... yep!)
    Posts
    184
    Guessing something like this:

    Code:
    SELECT Orders.*
    FROM Orders
    WHERE OrderDate = Oct/*/2010
    Really odd date format, the '*' should just allow any day.

    Or

    You can just use the filter option if its in a table.

  3. #3
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    SELECT Orders.*
    FROM Orders
    WHERE month(OrderDate) = month(date())

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

Similar Threads

  1. SQL Query in Access
    By DaveyJ in forum Queries
    Replies: 1
    Last Post: 06-17-2010, 12:26 PM
  2. New to access and need help with query
    By zero3ree in forum Access
    Replies: 1
    Last Post: 02-12-2010, 05:03 AM
  3. Access Query
    By malaysarkar in forum Queries
    Replies: 0
    Last Post: 11-26-2009, 12:57 PM
  4. Sql server query to MS access query
    By blazixinfo@yahoo.com in forum Queries
    Replies: 0
    Last Post: 07-07-2009, 08:12 AM
  5. Access Query
    By LinneaUD13 in forum Queries
    Replies: 0
    Last Post: 06-05-2009, 03:46 PM

Tags for this Thread

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