ACC2: AddNew Method Uses Table Default ValuesLast reviewed: June 8, 1997Article ID: Q115898 |
The information in this article applies to:
SYMPTOMSNovice: Requires knowledge of the user interface on single-user computers. The documentation for the AddNew method in Microsoft Access version 2.0, states the following for when you add a new record using the AddNew method,
This method sets the fields to Null (the default values specified for a table-type Recordset in Design view of the corresponding table aren't used).This statement is incorrect.
RESOLUTIONThe documentation should state the following:
This method sets the fields to either Null or to the default value specified in Design view of the corresponding table.When you add a new record using the AddNew method, the default values in a table are used since default values are enforced at the database-engine level in Microsoft Access version 2.0. In Microsoft Access version 1.x, default values are not used when you add a new record using the AddNew method.
REFERENCESMicrosoft Access "Language Reference," version 2.0, Appendix B, "Data Access Reference," page 666 For more information about the AddNew method, search for "AddNew" then "AddNew Method (Data Access)" using the Microsoft Access Help menu. |
Keywords : kbprg MdlEdit
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |