Stevehewitt
IS-IT--Management
Hi Everyone,
I have the following three criteria in my query:
(Hope that makes some sort of sense!)
As you can see, the query shows all records that were completed between two dates on a form, it also shows all records that were entered into the system between the two dates, and it shows all records on the previous day of the txtStartDate field after 6:00pm.
My question is how can make it so that the query will not include any records after 6:00pm on the txtEndDate field?
Hope this makes sense, any help appreciated.
Cheers,
Steve.
"They have the internet on computers now!" - Homer Simpson
I have the following three criteria in my query:
Code:
DateCompleted:
Between ([Forms]![frmReportDateSpecific]![txtStartDate]) And ([Forms]![frmReportDateSpecific]![txtEndDate])
[b]OR[/b]
DateIn:
Between ([Forms]![frmReportDateSpecific]![txtStartDate]) And ([Forms]![frmReportDateSpecific]![txtEndDate])
[b]OR[/b]
DateIn:
[Forms]![frmReportDateSpecific]![txtStartDate]-1 AND TimeIn: >#17:59:59#
(Hope that makes some sort of sense!)
As you can see, the query shows all records that were completed between two dates on a form, it also shows all records that were entered into the system between the two dates, and it shows all records on the previous day of the txtStartDate field after 6:00pm.
My question is how can make it so that the query will not include any records after 6:00pm on the txtEndDate field?
Hope this makes sense, any help appreciated.
Cheers,
Steve.
"They have the internet on computers now!" - Homer Simpson