Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I'm using SQL database with Delphi 7 what I need to dois filter a database, with SQL code? My current setup is TADOConnection, connected to the SQL database, then ADOTable, connected to the ADOConnection, pointed to the correct table and a Datasource. Now on the search form I want it to filter with the information selected (Field name selected from a combobox and a value entered into a editbox) I want to make use of SQL code, I need to know how do I Filter the ADOTable or do I have to make use of Tquerry? and how do I connect the querry to the SQL database and table ?