T
Tony Williams
I have a command button on a form that should open a report. I wanted to
create an Event Procedure on the OnClick event to open the report but it
doesn't appear in the Microsoft Access Class Objects window in theVBA
editor. In fact only one of my reports does. Why is this?
The code I am using is
Private Sub Command22_Click()
DoCmd.OpenReport "rptGroupPapers", acViewPreview
End Sub
But when I click the button I get a message that says the report doesn't
exist!!
Anyone help?
TIA
Tony Williams
create an Event Procedure on the OnClick event to open the report but it
doesn't appear in the Microsoft Access Class Objects window in theVBA
editor. In fact only one of my reports does. Why is this?
The code I am using is
Private Sub Command22_Click()
DoCmd.OpenReport "rptGroupPapers", acViewPreview
End Sub
But when I click the button I get a message that says the report doesn't
exist!!
Anyone help?
TIA
Tony Williams