Microsoft
Software
Hardware
Network
Question : Run-time error 2501 The OpenReport action was canceled
Experts,
The above run-time error is created after I close a report that has no data. Heres the sequence:
frmAccountingReports
cmdPreview_Click()
Dim pReport as String
pReport = Me.cboNameReport.Column(2)
DoCmd.OpenReport pReport, acViewPreview
In the report NoData event:
MsgBox No Data Found
Cancel = True
DoCmd.Close acForm, frmAccountingReports
DoCmd.OpenForm frmMainMenu
Answer : Run-time error 2501 The OpenReport action was canceled
could it be the service pack? big big posibility
get the fixes
http://support.microsoft.c
om/kb/9456
74
http://support.microsoft.c
om/kb/9567
22
Random Solutions
VBA code to determine Bookmark name and copy it.
Adding apps to a Live cd. (phlak, knoppix,slackware)
ActiveWorkbook.SaveAs Error 1004 with VBAProject Password Protected
Trying to use get-mailbox to list all mailboxes in forest
Enable Macros in Microsoft Access 2007
How to password protect with PWS?
Doing a date loop in rails with step
Exchange 2007 Recover EDB from BKF file
IIS 6.0 Locks Up Serving ASP - IISSTATE Log Included
STARTING WINDOWS XP WITH THE HELP OF RECOVERY CONSOLE