Form.AllowFormView Property (Access)
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Form.AllowFormView Property (Access)

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 A variable that represents a Form object.

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

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
© 2016 Microsoft