Run time error 2501

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Craig2000
    New Member
    • Oct 2009
    • 1

    Run time error 2501

    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
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    more information required.

    Comment

    Working...