When I click the button it's supposed to open another report, instead it prints it. Here's the code"
I've used the same function in other places and it works fine.
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.