acFormView

Name

Value

Description

acDesign1The form opens in Design view.
acFormDS3The form opens in Datasheet view.
acFormPivotChart5The form opens in PivotChart view.
acFormPivotTable4The form opens in PivotTable view.
acLayout6The form opens in Layout view.
acNormal0(Default) The form opens in Form view.
acPreview2The form opens in Print Preview.

When opened from VBA, a form will open in Form View even if the form properties specify DataSheet view, unless an alternate view is specified.

“Like tourists huffing and puffing to reach the peak we forget the view on the way up” ~ Friedrich Nietzsche

Related

Access Enumerations - MSDN
OpenForm - Open a form.


 
Copyright © 1999-2024 SS64.com
Some rights reserved