M
Mishanya
I have report wich runs 1) filtered by the ClientID value from the form it
runs from (by strWhere criteria in its VBA code) and 2) filtered by
date-range from the same form (the Date field of the report' query has the
parameters wich "catch" StartDate and EndDate entered in the form).
I run the report by either of 2 buttons with acPreview and acNormal VBA
commands (for viewing and printing respectively) .
Now I've added button programmed with built-in Acces Macro OutputTo command
to export the report directly to Shapshot. But it does not take care of the 2
mentioned filters.
How can I fix the Macro or maybe put VBA code instead to export the report
directly to Snapshot without previewing having both conditions executed?
runs from (by strWhere criteria in its VBA code) and 2) filtered by
date-range from the same form (the Date field of the report' query has the
parameters wich "catch" StartDate and EndDate entered in the form).
I run the report by either of 2 buttons with acPreview and acNormal VBA
commands (for viewing and printing respectively) .
Now I've added button programmed with built-in Acces Macro OutputTo command
to export the report directly to Shapshot. But it does not take care of the 2
mentioned filters.
How can I fix the Macro or maybe put VBA code instead to export the report
directly to Snapshot without previewing having both conditions executed?