Re: Search Problems in Delphi Database


[ Related Articles and Replies ] [ DelphiLand Discussion Forum ]

Posted by webmaster Guido on August 01, 2002:

In Reply to: Search Problems in Delphi Database posted by bashiro on July 27, 2002:

: I am new to delphi programming and this course has helped me a lot. My question is about searching for datas in Access database (table). If I write the search code how do I see the searched elements ? Should I create a butom and a new form where the user will input the seach choice and then press the button ? And will delphi create a form automatically to display the results or should I create the display form in addition?


The user must be able to input what he is searching for, so you need at least one edit-component for this purpose, plus a button to start the search. It doesn't matter on which form you put these components. If you already have a form with a grid that shows the database contents, you can add them there. Or use a button that opens a new form with the edit-box(es) and "start searching"-button.

Delphi does not automatically create a form that shows search results, you'll have to code everything yourself.


Related Articles and Replies:

Turbo Delphi Explorer
Database programming with the latest FREE Delphi version. Download and install!
     


DelphiLand Discussion Forum