MelodyRogueAngel
Programmer
Hi how do you connect a certain ADOQuery.SQL.Text value to a variable? Here's an example however it's wrong:
...
Var
sAnimal, sNumber : String;
...
sNumber := edtNumber.text;
sAnimal := ADOQuery.SQL.Text := 'Select Name_Of_Animal From Animals Where Number = ' + sNumber;
...
...
Var
sAnimal, sNumber : String;
...
sNumber := edtNumber.text;
sAnimal := ADOQuery.SQL.Text := 'Select Name_Of_Animal From Animals Where Number = ' + sNumber;
...