Solved

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

Posted on 2014-11-14
4
207 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
  • 2
  • 2
4 Comments
 
LVL 49

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 49

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now