ACC: Can't Change Combo Box Value If ControlSource AutoNumberLast reviewed: May 7, 1997Article ID: Q95450 |
The information in this article applies to:
SYMPTOMSNovice: Requires knowledge of the user interface on single-user computers. After you set the ControlSource property of a combo box to a field that has an AutoNumber data type (or Counter in versions 1.x and 2.0), if you try to change the value in the combo box you receive the following message on the status bar: In Microsoft Access 7.0 and 97
Control can't be edited; it's bound to AutoNumber field <field name>.In Microsoft Access 1.x and 2.0
Control can't be edited; it's bound to Counter field <field name>. CAUSEThe control source of a combo box is a table field where Microsoft Access writes your combo box selection. By design, modifications to an AutoNumber field are not allowed. Therefore, if the ControlSource property of a combo box is set to an AutoNumber field, Microsoft Access cannot update the value in the AutoNumber field; therefore, you cannot change the combo box value. Microsoft Access gives you the message to tell you why it cannot update the combo box control.
RESOLUTIONEither change the data type of the field now in the ControlSource property of the combo box, or set the ControlSource property to a field that does not have an AutoNumber (or Counter) data type.
MORE INFORMATION
Steps to Reproduce Behavior
REFERENCESFor more information about combo boxes, search on "combo boxes," and then "Binding columns to fields" using the Microsoft Access 97 Help Index. |
Keywords : FmsCmbo kberrmsg kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |