The information in this article applies to:
SYMPTOMS
Moderate: Requires basic macro, coding, and interoperability skills.
CAUSEThe 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:
STATUSMicrosoft has confirmed this to be a problem in Microsoft Access version 2.0. This problem no longer occurs in Microsoft Access version 7.0. MORE INFORMATIONA combo box's Column property is not updated if you type an entry in the combo box manually after choosing the combo box's drop-down arrow. If you are copying the value of the combo box's Column property to another control with the AfterUpdate event, you must requery the combo box as outlined in the "Resolution" section earlier in this article in order update the value of the Column property before you copy the value to another control. Steps to Reproduce ProblemCAUTION: Following the steps in this example will modify the sample database NWIND.MDB. You may want to back up the NWIND.MDB file, or perform these steps on a copy of the NWIND database.
Note that you can substitute the Recalc method for the Requery method. The Recalc method may provide better performance if you are not performing many floating-point operations. If you are performing many floating-point operations, the Requery method may provide better performance. 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.
Keywords : kbusage FmsCmbo |
Last Reviewed: April 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |