I have a report that has a SubReport placed under the report footer based on an SQL query.
I wish to open the report, have the query run and then view the report, but NOT print it. (the SQL query runs automatically, right?)
Something like . . .
DoCmd.OpenReport,acViewPreview . . .
But this isn't working.
Where have I gone wrong?
Thanks . . .
I wish to open the report, have the query run and then view the report, but NOT print it. (the SQL query runs automatically, right?)
Something like . . .
DoCmd.OpenReport,acViewPreview . . .
But this isn't working.
Where have I gone wrong?
Thanks . . .