Share via


AllowFormView Property [Access 2003 VBA Language Reference]

Returns or sets a Boolean indicating whether the specified form may be viewed in Form View. True if Form View is allowed. Read/write.

expression.AllowFormView

expression Required. An expression that returns one of the objects in the Applies To list.

Remarks

Use the AllowDatasheetView, AllowFormView, AllowPivotChartView, or AllowPivotTableView properties to control which views are allowed for a form.

Example

The following example makes Form View valid for the specified form and then opens the form in Form View.

Forms(0).AllowFormView = True
DoCmd.OpenForm FormName:=Forms(0).Name, View:=acNormal

Applies to | Form Object

See Also | AllowDatasheetView Property | AllowPivotChartView Property | AllowPivotTableView Property