Opening = Printing?

HowardChr

Noob
Local time
Today, 04:16
Joined
Apr 26, 2007
Messages
35
Hmm.. I have a command button on a form have the following code: "DoCmd.OpenReport "Hazards"". When I press the button, instead of Opening the report, it prints it! I'm confused... any ideas?
 
Nevermind, forgot the acPreview. Should have been:
DoCmd.OpenReport "hazards", acPreview
 
Yea. dont post the same message twice
 

Users who are viewing this thread

Back
Top Bottom