I have a runtime created query that may or may not need some specific params to be used more than once. If I use ParamByName in a query like
select field1
from table1
where field2 = :a
and field2 in(select field3 from table2 where field3 = :a)
What happens when I call
MyQuery.ParamByName('a').AsString:= 'something';
Will both params be filled?