What happens if you open the query recordset, print the report, close the report and close the query recordset and set it to nothing.
Then re-open the query recordset, output the report to pdf and then close the query.