Ver Mensaje Individual
  #2  
Antiguo 17-07-2006
santi33a santi33a is offline
Miembro
 
Registrado: jun 2005
Posts: 208
Reputación: 22
santi33a Va por buen camino
simplemente preguntas
Código Delphi [-]
 if ADOQuery1.state = dsInsert then begin
  // estoy insertando
  end
 else if ADOQuery1.state = dsEdit then begin
 // estoy editando
 end;

Normalmente esto se usa en el evento BeforePost del ADOQuery

Santiago
Responder Con Cita