ACC: Error Updating Field When Adding New Record to Form (174005)
The information in this article applies to:
- Microsoft Access 2.0
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q174005 Novice: Requires knowledge of the user interface on single-user computers.
SYMPTOMS
When you enter 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.
In Microsoft Access version 2.0 and 7.0
Field can't be updated.
In Microsoft Access 97
Field can't be updated.
The field can't be updated because another user or process has
locked the corresponding record or table.
When you click OK, you can continue editing and then save the record.
CAUSE
You have tried to edit a read-only field in the record by using either the
DefaultValue property or Visual Basic for Applications.
NOTE: Visual Basic for Application is called Access Basic in Microsoft
Access 2.0.
RESOLUTION
Do not use the DefaultValue property or Visual Basic for Applications to
edit read-only controls.
STATUS
This behavior is by design.
REFERENCES
For more information about calculated field, search the Help Index for
"calculated fields, queries" or ask the Microsoft Access 97 Office
Assistant.
For more information about calculated controls, search the Help Index for
"calculated controls, creating" or ask the Microsoft Access 97 Office
Assistant.
For more information about default values for controls, search the Help
Index for "DefaultValue property" or ask the Microsoft Access 97 Office
Assistant.
Modification Type: | Major | Last Reviewed: | 5/28/2003 |
---|
Keywords: | kberrmsg kbprb KB174005 |
---|
|