Is there a chance to edit the SQL code without erasing it? I Need the Query for much more tables and fields, and i can't add them all in the code it is more then 800 symbols
And this is much as i know about delphi whit sql:
Form4.ADOQuery1.SQL.Clear;
Form4.ADOQuery1.SQL.ADD('SELECT * FROM SKTech WHERE SKtech.Tech='+#39+ComboBox1.Text+#39+';');
Form4.ADOQuery1.Active := true;
As you can see i'm using sql whit combobox to chose different fields to show. This code works perfectly, but i can't add all my tables & fields... Is only way to do this is to store all the query in multiple strings?
TADOQuerycomponent though). However, the question is how comfortable will this be for you.[delphi] sql parametershere, which will make your life much easier (and your code much more secure.