EventMode property (report)

Examples


The EventMode property specifies whether report events occur for the original or modified version of the report.

Syntax

report.EventMode [= mode]

Parameters

report – A report object.

mode – A constant specifying when events occur:

[spacer]

Constant

Description

emOriginalOnly

Report events occur only for the original version of the report.

emModifiedOnly

Report events occur only for the modified version of the report.

emNever

Report events don’t occur for the report.


Comments

If you modify a report using the Report Writer, you must set the EventMode property to emModified if you want VBA events to occur for the modified report. To change the EventMode property for the report object, use the Visual Basic Properties window.


Documentation Feedback