ACC2000: Can't Add, Edit, or Delete Records on Data Access Page (201990)
The information in this article applies to:
This article was previously published under Q201990 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SYMPTOMS
You are not able to add a new record, or to edit or delete an existing record on a data access page.
CAUSE
You may experience this problem if any of the following conditions are true: - The page's data source does not have a primary key, unique constraint, or unique index.
-or-
- There is not a primary key, unique constraint, or unique index in the schema of the page.
-or-
- The page does not have a Record Navigation control.
RESOLUTION
To resolve this problem, take the appropriate action from the following list of items:
- Add a primary key, unique constraint, or unique index to the page's data source.
- Add the primary key, unique constraint, or unique index to the schema of the page.
To add one of these fields to the schema, add a primary key, unique constraint, or unique index field to the design of the page. This automatically adds the field to the page's schema. If you do not want this field to appear on the page, delete it from the page; it remains in the schema. - Add a Record Navigation control to the page.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. MORE INFORMATION
To see if the page schema has a primary key, unique constraint, or unique index click the Page tab of the Field List, and then look through the tree structure for one of these fields.
REFERENCESFor more information about Primary Keys, click Microsoft Access Help on the Help menu, type primary property in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For more information about Unique Indexes, click Microsoft Access Help on the Help menu, type unique property in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For more information about the CONSTRAINT Clause, click Microsoft Access Help on the Help menu, type constraint clause in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For more information about inserting a Record Navigation control, click Microsoft Access Help on the Help menu, type add a record navigation control to a data access page in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Minor | Last Reviewed: | 7/16/2004 |
---|
Keywords: | kbDAP kbpending kbprb KB201990 |
---|
|