Jim,
Do you mean you wish to print the report without previewing it?
DoCmd.OpenReport "ReportName"
or..
DoCmd.OpenReport "ReportName", , ,Where clause here
Jim,
I do believe you are mistaken.
The default argument for OpenReport is acViewNormal.
Only acView Preview or acViewDesign need to be set, otherwise it prints.
DoCmd.OpenReport "ReportName"
sends the report directly to the printer.
To print just the data of a form:
File + Page Setup + Margins
Check the 'Print Data Only' box.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.