Use either of the following methods to resolve this problem.
Method 1
Create a parameter query in Microsoft Access. You can use the query-by-form
technique and specify a control on a form as a parameter; you can also
define the parameter in the query itself and specify its data type as
Date/Time. For example:
Field: TimeField
Criteria: [Enter Time]
For additional information about the query-by-form technique, please click the article number below to view the article in the Microsoft Knowledge Base:
209645 ACC2000: How to Use the Query-by-Form (QBF) Technique
Method 2
Create the following expression in the query to extract the time portion of
the field:
Expr1: CVDate(Format([<Name of Time Field>],"hh:mm:ss AM/PM"))
You can then enter the literal time value enclosed in number signs (#) on
the
Criteria row of this expression.