Solved

Typing help (autocompletion) in DBComboBox

Posted on 1998-07-05
6
210 Views
Last Modified: 2010-04-04
I have a database app. in which one of the fields is "author". When the user starts entering the author name I want to be able to give "typing help" (eg IE4 address bar). That is as they type the author name it will compare it to the items in the combobox and bring up the nearest match as they continue to type - autocompletion style.

Thanks

John
0
Comment
Question by:JohnE
[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
6 Comments
 

Expert Comment

by:SOLHJOO
ID: 1357105
Please check DBlookupcombo or DBlookuplist....
0
 
LVL 3

Accepted Solution

by:
Matvey earned 200 total points
ID: 1357106
Freeware Edit and ComboBox components that work this way:

http://bes.trendline.co.il/torry/vcl/lbcb/lucombo.zip

Chreers, bosism@netvision.net.il
0
 
LVL 2

Expert Comment

by:kjteng
ID: 1357107
All the list box and combobox has the "autocompletion" feature if the list is sorted. However if you are using delphi 1, the autocompletion works only when the (16bits) program is running under windows95. When delphi 1 program runs under win3.11, the listbox/combobox works differently: if you continuously press a character, the next items beginning with that character will be selected. eg If you press B repeately, you may get Ball, followed by Bell, Bill, Bull ... etc.

0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 3

Expert Comment

by:Matvey
ID: 1357108
I think I've even seen some control like this as a db-aware. Lookup of some kind with this option. I'll try to find it again...
0
 
LVL 3

Expert Comment

by:Matvey
ID: 1357109
OK, I found it, but it's not what I thought. Close, but not better than the one I posted above. If you still want to take a look: http://bes.trendline.co.il/torry/vcl/packs/accomp.zip

Anyway, what I'd do if I was on your place, is get the list of all the names like
SELECT DISTINCT Name FROM Authors;
And then post them all to the autocompletion list (in the first pair of components I posted).
0
 

Author Comment

by:JohnE
ID: 1357110
Thanks Matvey, I used the component from your first answer and worked my code around it and it works fine!

John
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month4 days, 4 hours left to enroll

630 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