ACC2: Combo Box's AfterUpdate Event Fails (125593)
The information in this article applies to:
This article was previously published under Q125593 SYMPTOMS
Moderate: Requires basic macro, coding, and interoperability skills.
If you choose a combo box's drop-down arrow, close the drop-down box
without selecting an item, and then type an entry in the text portion of
the combo box, the combo box's AfterUpdate event fails to update the
information in the combo box.
CAUSE
The combo box's Column property is not updated if you enter a value in the
combo box manually after choosing the drop-down arrow.
RESOLUTION
To work around this problem, requery the combo box as the first action in
your event procedure or event macro. For example, given a combo box named
MyCombo, you could requery the combo box with the following Access Basic
statement:
Me!MyCombo.requery
STATUS
Microsoft has confirmed this to be a problem in Microsoft Access
version 2.0. This problem no longer occurs in Microsoft Access
version 7.0.
REFERENCES
For more information about combo box properties, search for "combo box:
properties," and then "Combo Box Control Properties" using the Microsoft
Access Help menu.
For more information about the Requery method search for "Requery," and
then "Requery Method" using the Microsoft Access Help menu.
Modification Type: | Major | Last Reviewed: | 11/6/2000 |
---|
Keywords: | kbbug kbusage KB125593 |
---|
|