Ver Mensaje Individual
  #6  
Antiguo 19-06-2024
Avatar de Casimiro Noteví
Casimiro Noteví Casimiro Noteví is offline
Merodeador
 
Registrado: sep 2004
Ubicación: En algún lugar.
Posts: 32.669
Reputación: 10
Casimiro Noteví Tiene un aura espectacularCasimiro Noteví Tiene un aura espectacular
Es que no debería usar "add" sino:
Código Delphi [-]
DM.QueryCuentasPorCobrar.SQL.text := 'DELETE FROM CuentasPorCobrar WHERE idColegiatura = :Cuenta';
O depende del componente que esté usando:

Código Delphi [-]
DM.QueryCuentasPorCobrar.SelectSQL.text := 'DELETE FROM CuentasPorCobrar WHERE idColegiatura = :Cuenta';
Responder Con Cita