OK, gotcha. You need to extract the time from the data shown and compare it to other time parameters.
First, I"m using your FIRST data criterion for the answer, i.e.,
01/03/2007 03:32 pm
as opposed to your second post with the time format missing a colon:
01/03/2007 0332 pm
The first criterion is recognized by Access and VBA as a proper date format, while the second criterion is not. For instance,
IsDate(#01/03/2007 03:32 pm#) returns true, while
IsDate(#01/03/2007 0332 pm#) returns false.
The simple solution would be to convert the column containing the date fields from Text to Date/Time. Once you do that, then the following Where clause in the Date/Time field,
([datetime]-Int([datetime]))>=#6:00:00 AM# And ([datetime]-Int([datetime]))<=#6:45:00 AM#
returns only the data that you define in your parameters.
If you don't want to change the table field type to Date/Time, or your data does not include the colon in the hour format, then you will have to use string manipulation to extract the "0632 am" segment from the full data field, add the colon, convert the value to a time value, then compare it with the parameters as above. All in all, this would take considerable time to set up.