Phantom Printer

T

TeeSee

I have a very simple OnClick event on a Cmd button that opens a form
using DoCmd.OpenForm .........

When I try the same thing with DoCmd.OpenReport the report does not
open but rather is sends the report to a printer automatically. I have
no reference to a printer in my entire project.

Any thoughts??
 
J

Jeff Boyce

"Opening" a report is roughly analogous to printing it (reports ARE intended
to be printed, right?). If you want to open the report in Print Preview
mode, take a look at Access HELP for the correct syntax for the
DoCmd.OpenReport command.

Regards

Jeff Boyce
Microsoft Office/Access MVP
 
Top