Hello, I am still very new to Access and have an issue that surfaced after importing data from another database. I have 2 criteria to a query to add “Search by Date” and “Search by Date Range” with the control on a form “frmProductionReports”. The Search by Date Range works great but the Search by Date yields no results. When I set up the tables and queries, I did not specify any format criteria but the data I imported to the tables was set to “general” format, thereby giving me Date and Time. The text buttons on the Form were originally set to “Short Date” which worked fine with the dummy data I added during the build stage. Now that I added official data… the problem surfaced! Is there a method to either fix or work around this issue?
Form (frmProductionReports)
Between [Forms]![frmProductionReports]![txtStrtDateSum] And [Forms]![frmProductionReports]![txtEndDateSum] Or [Forms]![frmProductionReports]![txtDateSum]
To run the query, I have set a command button (ProductionResultsSummary) with a macro “On Click” as follows:
Query: qryUnionQryProdDataSummary (pulled from a union query)