Connecting Tech Pros Worldwide Forums | Help | Site Map

Run time error 2501

Newbie
 
Join Date: Oct 2009
Posts: 1
#1: 4 Weeks Ago
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.OpenReport "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's Avatar
Moderator
 
Join Date: Dec 2006
Location: Bangalore ,India
Posts: 7,511
#2: 4 Weeks Ago

re: Run time error 2501


more information required.
Reply