Form.AllowPivotChartView property (Access)
Returns or sets a Boolean indicating whether the specified form may be viewed in PivotChart view. True if PivotChart view is allowed. Read/write.
expression.AllowPivotChartView
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 PivotChart view valid for the specified form, and then opens the form in PivotChart view.
Forms(0).AllowPivotChartView = True
DoCmd.OpenForm FormName:=Forms(0).Name, View:=acFormPivotChart
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.