Hello,
I have a form that I'm currently using as a search screen, and I'm having trouble passing a range to one field in a query.
I want to call a date range, let's say between date1 and date2 and pass that value to my [Date] field in the query, however I cannot figure out how to do this... I already have two date boxes in the form.
Below is an example of another value I'm sending to the query through VB. It is then queried through a button in the form...
I have a form that I'm currently using as a search screen, and I'm having trouble passing a range to one field in a query.
I want to call a date range, let's say between date1 and date2 and pass that value to my [Date] field in the query, however I cannot figure out how to do this... I already have two date boxes in the form.
Below is an example of another value I'm sending to the query through VB. It is then queried through a button in the form...
Code:
' Check for LIKE Client Name If Me.Text2 > "" Then varWhere = varWhere & "[Client Name] LIKE """ & Me.Text2 & "*"" AND " End If
Comment