ACC: Cannot Process Close Action in Report's OnOpen PropertyID: Q94926
|
Moderate: Requires basic macro, coding, and interoperability skills.
When you attempt to process a Close action in a macro that is assigned to a
report's OnOpen property, you may receive the following error message.
In Microsoft Access for Windows 95 version 7.0:
A macro specified as the OnOpen, OnClose, OnFormat, OnRetreat, OnPage, or OnPrint property setting contains an invalid action for the property.
Can't run this action while processing a form or report event
Can't run this action while processing a report event
This action can't be run while processing a form or report event.
Do not use a Close action in a macro that is assigned to a report's OnOpen property.
This behavior is by design.
Macro Name Action
-------------------
CloseForm Beep
Close
CloseForm Actions
---------------------
Close
Object Type: Form
Object Name: Form1
Save: No (In Microsoft Access 7.0 only)
Macro Name Action
--------------------
CloseReport Beep
Close
CloseReport Actions
-----------------------
Close
Object Type: Report
Object Name: Report1
Save: No (In Microsoft Access 7.0 only)
Keywords : kbusage RptProp
Version : 1.0 1.1 2.0 7.0
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: March 13, 1999