다음을 통해 공유


DoCmd.OpenDataAccessPage Method (Access)

The OpenDataAccessPage method carries out the OpenDataAccessPage action in Visual Basic.

Syntax

.OpenDataAccessPage(DataAccessPageName, View)

An expression that returns a DoCmd object.

Parameters

Name

Required/Optional

Data Type

Description

DataAccessPageName

필수

Variant

A string expression that's the valid name of a data access page in the current database. If you execute Visual Basic code containing the OpenDataAccessPage method in a library database, Microsoft Access looks for the form with this name, first in the library database, then in the current database.

View

선택

AcDataAccessPageView

The view in which to open the data access page. In Microsoft Access 2010, this must be set to acDataAccessPageBrowse.

참고 항목

개념

DoCmd Object

DoCmd Object Members