AcOpenDataMode enumeration (Access)

Specifies the data entry mode when opening a table, query, stored procedure, view, or user-defined function.

Name Value Description
acAdd 0 The user can add new records but can't view or edit existing records.
acEdit 1 The user can view or edit existing records and add new records.
acReadOnly 2 The user can only view records.

Support and feedback

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.