Form.
You can use the DataEntry property to specify whether a bound form opens to allow data entry only.
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 forms property sheet, a macro, or using Visual Basic.
This property can be set in any view.
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.
AllowAdditions Property; AllowDeletions Property; AllowEdits Property; Enabled, Locked Properties; RecordsetType Property.