S
Scott A
I have a report that is based on a query. I would like
to use a form that lets the user select the start and end
dates for the report.
I've tried entering the form information into the query
grid like this...
Between #[Forms]![myform]![txtStartDate]# And #[Forms]!
[myform]![txtEndDate]#
....but I get messages that tell me my syntax is invalid.
So I'm back to the drawing board and looking for some
advice on the following:
1. What is the best way to pass the dates entered in the
form to the query as valid parameter values?
2. How to program the 'Apply' button on the form so that
it a) passes the parameters to the query and b)displays
the report with the parameters applied.
Thanks!
Scott
to use a form that lets the user select the start and end
dates for the report.
I've tried entering the form information into the query
grid like this...
Between #[Forms]![myform]![txtStartDate]# And #[Forms]!
[myform]![txtEndDate]#
....but I get messages that tell me my syntax is invalid.
So I'm back to the drawing board and looking for some
advice on the following:
1. What is the best way to pass the dates entered in the
form to the query as valid parameter values?
2. How to program the 'Apply' button on the form so that
it a) passes the parameters to the query and b)displays
the report with the parameters applied.
Thanks!
Scott