Results 1 to 2 of 2
  1. #1
    GinaFlan is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2014
    Location
    Texas
    Posts
    68

    Query 3 months back, I have the name of the month there is no date added per request

    I am looking to query for 2 months back from the current month including the current month's data, my data entry however is by the for the month of (the name of a month). I did by the name of the month per request.




    Is there any chance I can code it? I found the code below.


    DateDiff("m", -3, Date()) and Date()



    BETWEEN DateSerial(Year(Date()),Month(Date())-3,1) ANDDateSerial(Year(Date()),Month(Date()),0)

  2. #2
    GinaFlan is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2014
    Location
    Texas
    Posts
    68
    I realized I would have to use MonthName() it's probably not possible I am guessing

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

Similar Threads

  1. Replies: 3
    Last Post: 02-23-2014, 02:06 PM
  2. Replies: 1
    Last Post: 09-09-2013, 09:56 PM
  3. Replies: 10
    Last Post: 11-17-2012, 12:38 AM
  4. First of the Month, Following 2 Months in Query
    By sainttomn in forum Queries
    Replies: 5
    Last Post: 07-06-2011, 03:51 PM
  5. Query criteria, add 5 months to date
    By thart21 in forum Queries
    Replies: 1
    Last Post: 03-29-2010, 05:09 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