My design has a Master form [frmSearch] containing two date pickers.
[Forms]![frmSearch]![StartDate]
[Forms]![frmSearch]![EndDate]
It also has a cmd button [cmdSearch] that executes a query [qryTicketSearch] based on the dates selected from the date pickers.
Between [Forms]![frmSearch]![StartDate] And [Forms]![frmSearch]![EndDate]
The results are displayed on a subform [frmTicketsSub] that is bound to the query.
The query is actually much more complex but this is the general gist of it. The query works fine when ran alone. The problem is when I execute the query from the form using the date pickers. It works but it omits any data that falls on the StartDate. For example; if I search for dates between 10/1/11 to 10/3/11, I get only values from 10/2/11 & 10/3/11. Data from 10/1/11 is excluded. If I move my StartDate back one date (i.e. 9/30/11) it works fine.
It doesn't do this when I execute the query alone and supply the dates manually.
Any ideas?
Thanks in advance!
-Tim