[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Newbie - Finder using DBLookupComboBox

Posted on 2010-01-02
4
Medium Priority
?
441 Views
Last Modified: 2013-11-23
I am new to programming and Dephi and have Delphi 2010. I have worked through Introducing Delphi Programming 4th ed and have Marco Cantu's Delphi 2005 book. Find it difficult to read but I am not giving up as I realy like delphi. I am now trying my first small app.
I have a Pervasive database with lots of tables (around 600) and want to build a custom viewer of stock items and summary info. I am using ODBC and dbGo ADO Connection and DataSet plus the rest. I can access the correct tables. There are about 4000 items.
What I need is a finder that I can type in the first few characters of the code and it will narrow down the list. I founf the DBLookupComboBox to be the closest to what i need, except it only sorts on the first character. So if I type "c" it goes to where the c's start, but I may want "cf" or "csz" which is some pages down.

Is there any way to change this on the component to sort on more character positions (I could not find how)?
Am I using the correct component?
Do I need to design my own?

Happy New Year and Prosperity to all Delphi community.
0
Comment
Question by:Alex Angus
  • 3
4 Comments
 
LVL 22

Accepted Solution

by:
senad earned 2000 total points
ID: 26163354
You are not using the correct component.
Instead of reinventing the wheel you can try using devexpress
components (vcl) from :
http://www.devexpress.com/
0
 
LVL 22

Assisted Solution

by:senad
senad earned 2000 total points
ID: 26163362
0
 

Author Comment

by:Alex Angus
ID: 26165605
I take it these are developments from other companies.

Do they all work with Delphi 2010?
From various forums it seems there are some compatibility problems compared to earlier versions of Delphi.

I will have a look at these and revert.
0
 
LVL 22

Expert Comment

by:senad
ID: 26166567
I suggest you try devexpress....
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

873 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