Report.CurrentView property (Access)

You can use the CurrentView property to determine how a report is currently displayed. Read/write Integer.



expression A variable that represents a Report object.


The CurrentView property uses the following settings.

Setting Report displayed in:
0 Design view
5 Print Preview
6 Report view
7 Layout view

Use this property to perform different tasks depending on the current view. For example, an event procedure could determine which view the form is displayed in and perform one task if the form is displayed in Form view or another task if it's displayed in Datasheet view.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.