I am starting with a linked OBDC table with a date formatted as Short Text. Example: 20191112 07:22:32.54
Q1 breaks down and rebuilds the the date and time
SELECT log.DATE_TIME, Mid([DATE_TIME],5,2) AS TMONTH, Mid([DATE_TIME],7,2) AS TDAY, Left([DATE_TIME],4) AS TYEAR, CDate([TMonth] & "/" & [TDay] & "/" & [TYear]) AS TDATE, Mid([DATE_TIME],10,5) AS TTIME, [TDate] & " " & [TTime] AS TDATETIME
FROM log
My goal for Q2 is to have the user prompted to enter a range of dates (which have have done successfully in other access databases with no issue)
The Criteria I entered is: >="#" And [Enter Start Date] And "#" And <="#" And [Enter End Date] And "#"
The query runs, however returns no results.
When I hardcode a date range in the Criteria formatted as follows: >=#11/12/2019# And <=#11/14/2019#, it returns the desired results.
Question: what can I do to fix the Criteria to allow the user to enter a range of dates and receive the desired results?
Any guidance would be appreciated.