Ver Mensaje Individual
  #13  
Antiguo 20-11-2007
juniorSoft juniorSoft is offline
Miembro
 
Registrado: abr 2005
Posts: 178
Reputación: 20
juniorSoft Va por buen camino
ok aqui esta el metodo AppyUpdates modificado

function TCustomClientDataSet.ApplyUpdates(MaxErrors: Integer): Integer;
var
RootDataset: TCustomClientDataset;
Aux:OleVariant;
begin
CheckBrowseMode;
RootDataset := Self;
while RootDataset.FParentDataSet <> nil do
RootDataset := RootDataset.FParentDataset;
with RootDataset do
if ChangeCount = 0 then
Result := 0 else
begin
Aux:=DoApplyUpdates(Delta, MaxErrors, Result);
if not VarIsNull(Aux) then
Reconcile(Aux);
end;
end;

Última edición por juniorSoft fecha: 20-11-2007 a las 20:48:52.
Responder Con Cita