I have a ReportFilter form with this code in the button:
It works OK, except that the report excludes the current day's records. Or, possibly, I should say, the last day's records. I've tried tweaking the '<' and '>' with '=' and '+1' etc to no avail.Code:DoCmd.OpenReport "JobsReport", acViewPreview, , "outTime>=#" & (StartDate) & "# and outTime<= #" & (EndDate) & "#"
What could be wrong?