K
knowshowrosegrows
I have a form that lets me choose a region and a date range and when I hit
the cmdRunRpt button it opens the report using those parameters.
The current VBA code I have for the cmdRunRpt button is:
DoCmd.OpenReport "rptEventInfoByRegion/Date", acPreview, , "Reg LIKE '" &
Me.ChooseRegion & "'"
This works great for allowing me to choose the Region. I now need the code
to use the text boxes StartDate and EndDate to set the date range parameters
of the report.
Can someone take the above code and add some that will include the date range?
the cmdRunRpt button it opens the report using those parameters.
The current VBA code I have for the cmdRunRpt button is:
DoCmd.OpenReport "rptEventInfoByRegion/Date", acPreview, , "Reg LIKE '" &
Me.ChooseRegion & "'"
This works great for allowing me to choose the Region. I now need the code
to use the text boxes StartDate and EndDate to set the date range parameters
of the report.
Can someone take the above code and add some that will include the date range?