Thanks for that (I am still learning).
But it still brings up an error message.
The error message is Run-time error '2585':
This action can't be carried out while processing a form or report event
For the record what I now have is:
Public Sub Report_Open(intResult As Integer)
' Don't open...
I have a Report that is designed to respond to a form so I have put a bit of VBA code on the "On Open" property of the form. What I *want* to happen is that a message box appears telling the user that the report is reliant upon the form and give them the option of opening the form.
What I have...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.