Ver Mensaje Individual
  #2  
Antiguo 04-10-2017
Avatar de roman
roman roman is offline
Moderador
 
Registrado: may 2003
Ubicación: Ciudad de México
Posts: 20.269
Reputación: 10
roman Es un diamante en brutoroman Es un diamante en brutoroman Es un diamante en bruto
A ver, no conozco del tema pero intenta así:

Código Delphi [-]
FDScript.SQLScripts.Clear;

with FDScript.SQLScripts.Add do
begin
  SQL.Add( 'Delete from Articulos;' );
  SQL.Add( 'Delete from Cabezal;' );
  SQL.Add( 'Delete from Proveedores;');
  SQL.Add( 'Delete from Stock;');
end;

FDScript.ValidateAll;
FDScript.ExecuteAll;
FDConnection.Commit;

LineComment Saludos
Responder Con Cita