I have a query that uses another query and a table that need to join on a date. The date must use the date/time value for the results to be accurate. The result set of the first query does show date/time in the result. However the second query never finds a join from the first query and the table because (I'm presuming) the join in the second query is NOT using the time part of the field. I "proved" this when I did another query using >= and < than the date range and I got the proper result set.
Using DateValue(date) doesn't work because I lose the time stamp. Will I have to query the hour and minutes using Hour(date) and Minute(date) to create a proper join? Or is there another way to join a query result column with a table column that will not lose the time stamp?
Sure hope I explained that well enough!
Ken
Using DateValue(date) doesn't work because I lose the time stamp. Will I have to query the hour and minutes using Hour(date) and Minute(date) to create a proper join? Or is there another way to join a query result column with a table column that will not lose the time stamp?
Sure hope I explained that well enough!
Ken