J
Jeff Klein
I have a query that has [Date] in the criteria. When I run the query by
itself it asks me to enter the [Date]. this works great although I want to
run this query from a form. On the form I have a text box that I type in
the date and when I click the command button the date in the text box will
set str_date = text1.value and show the query. I thought I could replace
the [Date] in the query with [str_date] but it still asks me to enter the
str_Date. (I have str_Date as Public) How do I get the value in the text
box to run in the query?
itself it asks me to enter the [Date]. this works great although I want to
run this query from a form. On the form I have a text box that I type in
the date and when I click the command button the date in the text box will
set str_date = text1.value and show the query. I thought I could replace
the [Date] in the query with [str_date] but it still asks me to enter the
str_Date. (I have str_Date as Public) How do I get the value in the text
box to run in the query?