Newbie - Finder using DBLookupComboBox

Posted on 2010-01-02
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.
Question by:alexangus
    LVL 22

    Accepted Solution

    You are not using the correct component.
    Instead of reinventing the wheel you can try using devexpress
    components (vcl) from :
    LVL 22

    Assisted Solution


    Author Comment

    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.
    LVL 22

    Expert Comment

    I suggest you try devexpress....

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    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…
    In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    746 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

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now