So the thing is that I have this code
Code: Select all
with spPersonaAdd do
begin
Params.Clear;
Params.CreateParam(ftString, 'nombre', ptInput);
Params.CreateParam(ftString, 'apellidoP', ptInput);
Params.CreateParam(ftString, 'apellidoM', ptInput);
ParamByName('nombre').AsString := nombre;
ParamByName('apellidoP').AsString := apellidoP;
ParamByName('apellidoM').AsString := apellidoM;
ExecProc;
end;
So my question is, is there a way to reset the TSQLStoredProc ? or how should I aboard this?
Thanks in advance