Código Delphi [-] .... If active then close; SQL.clear; ....
.... If active then close; SQL.clear; ....