Ver Mensaje Individual
  #9  
Antiguo 28-07-2011
negrokau negrokau is offline
Miembro
NULL
 
Registrado: abr 2011
Posts: 210
Reputación: 14
negrokau Va por buen camino
Talking

probe con este y me tira este error:
undeclared identifier: parameters
Código Delphi [-]
DM.CONSULTA.CLOSE;
DM.CONSULTA.SQL.Text:= 'UPDATE ORDENES SET ESTADO = :B WHERE NRO_ORDEN = :A ';
DM.CONSULTA.Parameters[0].Value:= 'ACTIVO';
DM.CONSULTA.Parameters[1].Value:= Edit1.Text;
DM.CONSULTA.ExecSQL;
DM.Transaction.CommitRetaining;
Responder Con Cita