Valores OldValue
Como Puedo ver todos los Valores OldValue en una tabla detalle
y no solo el ultimo como me esta sucediendo con Interbase y el
CacheUpdate Activado
with modDatos.tbDetalle do
begin
if not IsEmpty then
begin
First;
while not Eof do
begin
case UpdateStatus of
usModified: Modificar(FieldByName('CANTIDAD').OldValue);
usInserted: Insertar(FieldByName('CANTIDAD').NewValue);
usDeleted: Borrar(FieldByName('CANTIDAD').OldValue);
end;
next;
end;
end;
ApplyUpdates;
end;
Solo funciona para el ultimo valor modificado en el detalle pues solo ese muestra los dos valores OldValue y NewValue, en los demas el valor OldValue es igual al NewValue
Última edición por RicardoNavarro fecha: 26-04-2007 a las 02:13:44.
|