Results 1 to 4 of 4
  1. #1
    Dave14867's Avatar
    Dave14867 is offline Competent Performer
    Windows 10 Access 2010 32bit
    Join Date
    Nov 2016
    Location
    Upstate NY
    Posts
    353

    Can't get desired results for query between dates

    Hello all,

    I have a query in the attached database called Tool Cal Query by Cal Date and I cannot seem to get it to output the desired results. What I need is for it to output the tools that have a cal due date between 2 dates (like the first and last days of the month) I have tried "Between [Start Date] and [End Date]" but I don't get the expected results.

    Can someone take a look and let me know what I am doing incorrectly.

    Thanks



    Dave

    Calibration - Query Issue.zip

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    21,695
    What do you expect, and what do you enter? I used that criteria and entered 4/1/18 and 4/30/18 and get dates in April.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Dave14867's Avatar
    Dave14867 is offline Competent Performer
    Windows 10 Access 2010 32bit
    Join Date
    Nov 2016
    Location
    Upstate NY
    Posts
    353
    pbaldy,

    It's working now, it didn't when I had that same statement before, it was giving me no results.

    Any ideas why it would do that?

    I am getting the expected results now also.

    Thanks

    Dave

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    21,695
    Glad it's working for you now. Hard to say why it didn't before without seeing the query. Perhaps there was another criteria being applied?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 6
    Last Post: 03-01-2018, 03:55 AM
  2. Replies: 5
    Last Post: 12-02-2017, 06:54 PM
  3. Query not producing the desired data
    By WAVP375 in forum Access
    Replies: 7
    Last Post: 01-14-2016, 02:18 PM
  4. LIKE query does not give desired results
    By MarksinMO in forum Queries
    Replies: 3
    Last Post: 09-03-2015, 06:58 AM
  5. Replies: 7
    Last Post: 10-03-2014, 05:50 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 - Senior Forums