Article ID: 824189 - Last Review: June 8, 2004 - Revision: 1.3 The AutoExpand property may not work when ANSI-92 syntax is enabled and the Combo Box RowSource does not use DISTINCT values This article applies only to a Microsoft Access database (.mdb).
Moderate: Requires basic macro, coding, and interoperability skills. On This PageSYMPTOMSWhen you enable ANSI-92 SQL syntax in a database, and the RowSource property for a combo box on the form does not include the DISTINCT keyword, the AutoExpand feature of the combo box may not work. In addition, if you type the value that is a part of the list, and then you shift the focus to another control on the form, you may receive the following error message: The text you entered isn't an item in the list. Select an item from the list, or type the text that matches one of the listed items. WORKAROUNDTo work around this problem, add the DISTINCT keyword to the
RowSource property of the combo box. For example, the RowSource property of the combo box may contain the following query: STATUS Microsoft
has confirmed that this is a problem in the Microsoft products that are listed
at the beginning of this article.
MORE INFORMATIONSteps to Reproduce the Problem
REFERENCES
For more information about the AutoExpand property, click Microsoft
Access Help on the
Help menu, type AutoExpand property in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
| Article Translations
|
Back to the top
