My module will run fine, but when I want to open a report that's not populated I get the error. (As if the end user made a mistake) Here's an example of the code.
' Prints EE List
DoCmd.OpenRepor t "rptEE_List ", acViewNormal, "", "", acNormal
DoCmd.Close acReport, "rptEE_List "
When the rptEE_List has no data, I have an event procedure relaying that to the user, but then I get the Run Time error 2501 after that.
Please help!
Thanks
' Prints EE List
DoCmd.OpenRepor t "rptEE_List ", acViewNormal, "", "", acNormal
DoCmd.Close acReport, "rptEE_List "
When the rptEE_List has no data, I have an event procedure relaying that to the user, but then I get the Run Time error 2501 after that.
Please help!
Thanks
Comment