R
rebeca
I have an access database that when a button is selected, it runs 4
queries then populates the information in a spreadsheet. The 4 queries
have the same parameter, yesterday's date. Currently the user needs to
enter the same date 4 times.
I've created an input form instead of launching the queries via macro
when the button is selected.. The input form asks the user to enter
the date. Then VB code takes over and launches the macro. However, the
date is not passing through to the queries. I have [forms]!
[SMMSQueryDate]![QueryDate1] listed in the condition box on all 4
queries. What have I done wrong? Is it because the VB code calls the
macro and not the individual queries?
Any help would be appreciated.
queries then populates the information in a spreadsheet. The 4 queries
have the same parameter, yesterday's date. Currently the user needs to
enter the same date 4 times.
I've created an input form instead of launching the queries via macro
when the button is selected.. The input form asks the user to enter
the date. Then VB code takes over and launches the macro. However, the
date is not passing through to the queries. I have [forms]!
[SMMSQueryDate]![QueryDate1] listed in the condition box on all 4
queries. What have I done wrong? Is it because the VB code calls the
macro and not the individual queries?
Any help would be appreciated.