Microsoft KB Archive/149776

= BUG: BACKSPACE Key Doesn't Reset Matching on DBList or DBCombo =

Article ID: 149776

Article Last Modified on 6/24/2004

-

APPLIES TO


 * Microsoft Visual Basic 6.0 Learning Edition
 * Microsoft Visual Basic 6.0 Professional Edition
 * Microsoft Visual Basic 6.0 Enterprise Edition
 * Microsoft Visual Basic 4.0 Standard Edition
 * Microsoft Visual Basic 4.0 Professional Edition
 * Microsoft Visual Basic 4.0 32-Bit Enterprise Edition

-



This article was previously published under Q149776



SYMPTOMS
Pressing the BACKSPACE key, after typing a search argument in a DBList or DBCombo control, does not clear the search argument when the MatchEntry property is set to 1-Extended Matching as shown in the online Help.



STATUS
Microsoft has confirmed this to be an issue in the Microsoft products listed at the beginning of this article. Microsoft is researching this issue and will post new information here in the Microsoft Knowledge Base as it becomes available.



RESOLUTION
Use the HOME key to move to the top of the list and to reset matching.



MORE INFORMATION
The online Help topic, Implementing the DBList and DBCombo controls, states that the search argument is cleared when the user presses the BACKSPACE key. This does not occur.

Steps to Reproduce Behavior
 Start 32-bit Visual Basic 4.0. If it is already running, on the File menu, click New Project. Add a Data and a DBList control to the Form1 form.  Set the indicated properties of the following controls:   Control     Default Name   Property           Value ---

Data       Data1          DatabaseName       BIBLIO.MDB RecordSource      Authors

DBList     DBList1        DataSource         Data1 RowSource         Data1 BoundColumn       Author DataField         Author ListField         Author MatchEntry        1-Extended Matching  On the Run menu, click Start, or press F5. Type a character and note that the first author name matching the character is highlighted. When you press the BACKSPACE key, nothing happens.

Additional query words: kbVBp400bug kbVBp600bug kbdse kbDSupport kbVBp DBList DBCombo MatchEntry kbControl

Keywords: kbbug KB149776

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.