Solved

DBCombo box

Posted on 1998-07-30
5
291 Views
Last Modified: 2010-05-03
I have a DBCombo box set up with an Access database using Jet. According to the help on the DBCombo it says that there is some search capability by entering 1 or more characters in the text part of the combo. According to the help, with the basic matching if you press a character multiple times it should increment thru each record with that character, and with the extended matching as you type it will bring up the first record that matches the string you typed.
I can't get ANY searching to happen. When I type in the text box it doesn't position on the list, it doesn't bring up a matching record. It's just like typing in a normal text box. Did I miss a property setting or what???
0
Comment
Question by:chaos_59
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 

Expert Comment

by:hansbos
ID: 1467325
Chaos_59,

Try setting the property Style of the DBComboBox to
2 - dbcDropdownList and the propert MatchEntry to 1 - dblExtendedMatching.

Hans

0
 
LVL 1

Author Comment

by:chaos_59
ID: 1467326
I just tried this and it doesn't work. With the control defined the user can't enter anything in the text box part of the control, which is fine, but it still doesn't retrieve or even position the list at the character that was entered. No positioning or selection is occurring.
0
 

Expert Comment

by:hansbos
ID: 1467327
Chaos_59,

The selection mechanisme is only activated when you click on the combo box button, when you see all the list items. Does this work in your program?

Hans
0
 
LVL 1

Author Comment

by:chaos_59
ID: 1467328
I've tried every combination of the control I can think of. There is still no selection taking place. Do I need to have the database defined in a particular way? I currently have it defined as a table, using access and jet.

0
 

Accepted Solution

by:
hansbos earned 50 total points
ID: 1467329
Chaos_59,

Using 'table' seems to make the difference. I was using 'dynaset'.

Hans
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses
Course of the Month10 days, 21 hours left to enroll

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question