Hi 
So I am using a syntax something like:
and it works well...except it doesnt include the first Date.
example: if i run it without dates, it works fine, shows ALL of them. if i run it with the start date as say...july 1, it will show all dates from july 2 til the end date. if i run it with the start date as july 2, it will show july 2 and onwards.
it seems like it is only inclusive for the end condition, because the end condition does work well...
any thoughts why it isnt working?
Thanks!!
So I am using a syntax something like:
Code:
DateStr = "And [Date] between #" & Me.datePickStart.Value & "# And #" & Me.datePickEnd.Value & "#"
criteria = "ProjectID = '" & frm_button.Text_ProjID.Column(0) & "'" & DateStr
more code...
....
....
DoCmd.OpenReport "rptsql", acViewReport, , criteria
example: if i run it without dates, it works fine, shows ALL of them. if i run it with the start date as say...july 1, it will show all dates from july 2 til the end date. if i run it with the start date as july 2, it will show july 2 and onwards.
it seems like it is only inclusive for the end condition, because the end condition does work well...
any thoughts why it isnt working?
Thanks!!