DataEntry Property

Applies To

Form.

Description

You can use the DataEntry property to specify whether a bound form opens to allow data entry only.

Setting

The DataEntry property uses the following settings.

Setting Description Visual Basic
Yes The form opens showing only a blank record. True (-1)
No (Default) The form opens showing existing records. False (0)


You can set the DataEntry property in a form’s property sheet, a macro, or using Visual Basic.

This property can be set in any view.

Remarks

The DataEntry property is effective only when a form has a valid RecordSource property setting and the AllowAdditions property is set to Yes.

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

See Also

AllowAdditions Property; AllowDeletions Property; AllowEdits Property; Enabled, Locked Properties; RecordsetType Property.