次の方法で共有


Report.CurrentView Property (Access)

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

Version Information

Version Added: Access 2007

Syntax

expression .CurrentView

expression A variable that represents a Report object.

Remarks

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.

See Also

Concepts

Report Object Members

Report Object