I have a report that works from a query with parameters that are entered into a small popup form.
When the user is finished viewing the report they would like to enter new parameters (Beginning and ending dates) for the report (without closing and reopening the form)
I installed a command button, which re-opens the small form to enter dates.
However, when the new dates are entered and the "Okay" button is clicked the user sees nothing happen -- UNTIL the refresh button is clicked, then the new parameters/dates show.
How /where can I put the refresh command, into the macro or query or wherever, to include the "REFRESH" command automatically when the "Okay" button is clicked?
Thanks in advance for your help.
When the user is finished viewing the report they would like to enter new parameters (Beginning and ending dates) for the report (without closing and reopening the form)
I installed a command button, which re-opens the small form to enter dates.
However, when the new dates are entered and the "Okay" button is clicked the user sees nothing happen -- UNTIL the refresh button is clicked, then the new parameters/dates show.
How /where can I put the refresh command, into the macro or query or wherever, to include the "REFRESH" command automatically when the "Okay" button is clicked?
Thanks in advance for your help.