Form.DataEntry property (Access)

Use the DataEntry property to specify whether a bound form opens to allow data entry only. The Data Entry property doesn't determine whether records can be added; it only determines whether existing records are displayed. Read/write Boolean.

Syntax

expression.DataEntry

expression A variable that represents a Form object.

Remarks

This property can be set in any view.

The DataEntry property has an effect only when the AllowAdditions property is set to Yes.

Setting the DataEntry property to Yes by using Visual Basic has the same effect as choosing Data Entry on the Records menu. Setting it to No by using Visual Basic is equivalent to choosing Remove Filter/Sort on the Records menu.

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.