title: delphi has ExecSQL succeeded or failed
body: <p>Hello i've this function to update my Access DB using TUniQuery :</p>
  
  <pre><code>var
    Res:Boolean;
  begin
  Res:=false;
    try
    with MyQuery do
    begin
      Active := false;
      SQL.Clear;
      SQL.Add('Update MYTABLE');
      SQL.Add('set username='+QuotedStr(NewUserName));
      SQL.Add(',password='+QuotedStr(NewPassword));
      SQL.Add('where username='+QuotedStr(ACurrentUserName));
      ExecSQL;
      Res:=true;
    end;
    except
    Res:=False;
    end ;
    Result:=Res;
  end;
  </code></pre>
  
  <p>Is the use of Try ... except enough to KNOW when " ExecSQL " succeeds or fails ?</p>
  
  <p>or is there any other better approach ?</p>
  
  <p>thank you</p>