Normally the query look likes this : 'select * from table where id in (1,2,3)', it wil gives the asked records.
In Delphi I use a parameter:
Code: Select all
Myquery1.SQL.Text := from table where id in (:id);
MyQuery1.Params[0].Value := eparams.text;
Is there a way to get the proper value (1,2,3) when I use Params?