I have a table with 6 fields and I will like to
link the query parameters from 5 edit controls. I can do the linking with 1 edit control, but I need help to extend the linking to five controls. My source code is like this:
procedure TForm1.Button1Click(Sender: TObject);
var SQL_Pattern, Temp: String;
if Query1.State <> dsInactive then
if Edit1.Text <> '' then begin
SQL_Pattern := Edit1.Text;
Temp := 'SELECT * FROM CROP WHERE Protein = ';
TEmp := Temp + SQL_Pattern;
The other 4 fields are oil, height, yield, and lodging.
I will also appreciate solving the problem in any way that is possible. Thank you for your help.