ACC2000: Form with AllowAdditions Set to No Allows New Records (208521)
The information in this article applies to:
This article was previously published under Q208521 SYMPTOMSNovice: Requires knowledge of the user interface on single-user computers.
When you open a form that has the AllowAdditions property set to No, the form allows you to add records.
CAUSE
The form is being opened programmatically by the OpenForm action with
the Data Mode argument in the macro set to Edit. If you're using Visual Basic, the Data Mode argument is set to acFormEdit, A_EDIT or acEdit.
RESOLUTION
Omit the Data Mode argument setting so that Microsoft Access uses the property settings defined by the form.
REFERENCESFor more information about the OpenForm action, click Microsoft Access Help on the Help menu, type openform action in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Major | Last Reviewed: | 6/24/2004 |
---|
Keywords: | kbprb KB208521 |
---|
|