Solved

DBCombo box

Posted on 1998-07-30
5
290 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

752 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