Ver Mensaje Individual
  #2  
Antiguo 22-03-2010
Avatar de Al González
[Al González] Al González is offline
In .pas since 1991
 
Registrado: may 2003
Posts: 5.604
Reputación: 30
Al González Es un diamante en brutoAl González Es un diamante en brutoAl González Es un diamante en brutoAl González Es un diamante en bruto
Una vez posicionado en un registro, puedes usar el método UpdateStatus.

Código Delphi [-]
If CDS.UpdateStatus = usUnmodified Then

De la ayuda de Delphi:
Cita:
usUnmodified The current record has no unapplied updates.
usModified The current record has unapplied modifications.
usInserted The current record has been inserted but the insertion was not applied.
usDeleted The current record represents a deleted record, where the deletion has not yet been applied.
Otra opción es realizar una consulta SQL dando el ID del registro como parámetro.

Saludos.

Al González.
Responder Con Cita