consejo, porque no usas format a veces las consultas salen más transparentes:
Código Delphi
[-]
QueryUpdate.SQL.Text:= format('UPDATE autos SET CANTIDAD=%d+%d WHERE codigo="%s" ',
[ dbEdit3.field.asInteger, strToIntDef(txtAgregar.text, 0), txtCodigo.text ] );
bueno dije a veces
ah por cierto, en TDBEdit resulta mejor trabajar con la propiedad field que con el text