Solved

Unexpected Query Result Working with Dates in a Microsoft Access 2013 Web App

Posted on 2014-11-14
4
214 Views
Last Modified: 2014-11-14
I am working on a scheduling app that should exclude a player from the schedule if (s)he will not be available (due to vacation, training, or some other issue) on the date the schedule is being created.  This seems to work fine except in one case where the start date of the player's unavailability begins in one year and ends in the next.  Here's an example:

Start Date: 12/22/2014
End Date:  01/05/2015
Schedule Date: 12/29/2014

Obviously the Schedule Date falls between the Start Date and the End Date however this player continues to show up on the schedule that I create for 12/29/2014.

I'm attaching a copy of the record that should be affected by the query as well as the query itself. Please let me know if you need additional information.  Thanks in advance for your help.
Capture1.PNG
Capture2.PNG
0
Comment
Question by:penlandt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 51

Accepted Solution

by:
Gustav Brock earned 500 total points
ID: 40443686
Here you state End Date:  01/05/2015
However, the screenshot states End Date:  01/05/2014
That may explain what you see.

/gustav
0
 
LVL 1

Author Closing Comment

by:penlandt
ID: 40443699
Oh. My. God.  So sorry to bother you with that.  I clearly need a vacation. ;-)
0
 
LVL 51

Expert Comment

by:Gustav Brock
ID: 40443717
The second pair of eyes, you know.

/gustav
0
 
LVL 1

Author Comment

by:penlandt
ID: 40443724
Indeed I do.  Thank you again.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question