Buttons Prints instead of Opens

chazup

New member
Local time
Today, 05:22
Joined
Aug 13, 2009
Messages
8
When I click the button it's supposed to open another report, instead it prints it. Here's the code"

Code:
Private Sub cmdGraphTotalBilled_Click()
DoCmd.OpenReport "Graph Total Billed 24"
End Sub

I've used the same function in other places and it works fine.
 
you need to change to:

DoCmd.OpenReport "Graph Total Billed 24", acViewPreview
 
Working Now, Thanks
 

Users who are viewing this thread

Back
Top Bottom