Can someone tell me what the error is?
with IBQuery1 do begin SQL.Clear; SQL.Add (query); if not IBTransaction4.Active then IBTransaction4.StartTransaction; try ExecSQL; IBTransaction4.Commit; except IBTransaction4.Rollback; end;
Can someone tell me what the error is?
with IBQuery1 do begin SQL.Clear; SQL.Add (query); if not IBTransaction4.Active then IBTransaction4.StartTransaction; try ExecSQL; IBTransaction4.Commit; except IBTransaction4.Rollback; end;
IBQuery1.Close; IBQuery1.SQL.Clear; IBQuery1.Sql.Add(''); IBQuery1.Open;
Your query is not recorded in IBQuery1.Sql and look at it yourself (just throw a Memo1 on the form):
SQL.Add(запрос); Memo1.Text:=SQL.Text;
Source: https://ru.stackoverflow.com/questions/309365/
All Articles