ACC: Cannot Open Form to Disallow Adding New Records (147154)
The information in this article applies to:
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q147154 Novice: Requires knowledge of the user interface on single-user computers.
SYMPTOMS
When you open a form that has the AllowAdditions property set to No, the
form opens, allowing 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 A_EDIT or acEdit.
RESOLUTION
Omit the Data Mode argument setting so that Microsoft Access uses the
property settings defined by the form.
REFERENCES
For more information about OpenForm, search the Help Index for "OpenForm,"
or ask the Microsoft Access 97 Office Assistant.
Modification Type: | Major | Last Reviewed: | 10/20/2003 |
---|
Keywords: | kbprb KB147154 |
---|
|