How to stop my report from automatically printing on load?

X

x

DoCmd.OpenReport "BasicProductInformation",acpreview ????

-----Original Message-----
I have a button on my switchboard that opens a report.
Unfortunately, if I use this button the report prints
automatically and doesnt even open.
If I open the report through my database window then I
can view the report normally and it doesnt start printing
automatically.
Here is the code attached to the button of my switchboard:

Private Sub Option2_Click()

DoCmd.Minimize
DoCmd.OpenReport "BasicProductInformation"

End Sub

Nothing too complicated there. Is there an option I need
to select or deselect or something?
 
Top