I use query with 4 params (2 params of integer type, 2 params of string type). Provider: InterBase/FireBird, UniDac: 1.20.
After I opened query, params of string type disappeared !
When I looked them closer I saw that their names was truncated (2 chars - left side).
Error in Params
i have almost the same error, multiple execution of the same query cause string params truncation (2 chars, left side)
this is a sample code
first execution, param causale = 'FERIE'
second execution, param causale = 'RIE'
third execution, param causale = 'E'
4th to 10th execution, param causale = ''
this is a sample code
Code: Select all
Q.SQL.Clear;
Q.SQL.Add('INSERT INTO CARTELLINOGIU (CAUSALE, DATA) VALUES (:CAUSALE, :DATA)');
Q.ParamByName('causale').AsString := 'FERIE';
for j:=1 to 10 do
begin
Q.ParamByName('data').AsDateTime := Date+j;
Q.Execute;
end;
second execution, param causale = 'RIE'
third execution, param causale = 'E'
4th to 10th execution, param causale = ''