Pues no, parece que no me lo llevo
Código Delphi
[-]
var Val:Variant;
begin
With Datamodule6 do begin
With Guarda_Colega do begin
Close;
With SQL do begin
Text := 'INSERT INTO TColegas (indicativo, nombre, apellido1, apellido2) Values (:indicativo, :nombre, :apellido1, :apellido2)';
if edit9.Text = EmptyStr then
Val := NULL
else
Val := edit9.text;
ParamByName('indicativo').Value:=Val;
ExecSQL;
end;
end;
end;