ACC: No "Can't Add Records" Data Mode Arg for OpenForm 95/97Last reviewed: May 30, 1997Article ID: Q131585 |
The information in this article applies to:
SYMPTOMSNovice: Requires knowledge of the user interface on single-user computers. When you are setting the OpenForm macro action's Data Mode argument, you can select Add, Edit, or Read Only. However, the Data Mode argument does not have a setting that you can select that prevents adding new records to a form.
RESOLUTIONTo work around this behavior, use Visual Basic code to pass a True or False value in the OpenArgs argument of the OpenForm action to set the AllowAdditions property in the form's Load event. The following example demonstrates how you can use the OpenForm macro action's OpenArgs argument to pass the specified AllowAdditions setting for use in a form. CAUTION: Following the steps in this example will modify the sample database Northwind.mdb. You may want to back up the Northwind.mdb file, or perform these steps on a copy of the Northwind database.
STATUSThis behavior is by design. |
Keywords : FmsProp kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |