Article ID: 207684
Article Last Modified on 6/24/2004
APPLIES TO
- Microsoft Access 2000 Standard Edition
This article was previously published under Q207684
Novice: Requires knowledge of the user interface on single-user computers.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
For a Microsoft Access 2002 version of this article, see
289659.
SYMPTOMS
When you type data into a new record on a form that is based on a query or
an SQL statement, you receive one of the following error messages:
Field cannot be updated.
Multiple-step operation generated errors. Check each status value.
When you click
OK, you can continue editing and then save the record.
CAUSE
This behavior occurs when you try to update a read-only field in a record by using either the DefaultValue property or Visual Basic for Applications.
RESOLUTION
Do not use the DefaultValue property or Visual Basic for Applications to edit read-only controls.
REFERENCES
For more information about calculated fields, click Microsoft Access Help on the Help menu, type calculating fields in sql functions in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For more information about calculated controls, click Microsoft Access Help on the Help menu, type create a calculated control on a form or report in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For more information about the DefaultValue property, click Microsoft Access Help on the Help menu, type defaultvalue property in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Additional query words: default value prb
Keywords: kberrmsg kbprb KB207684