Ver Mensaje Individual
  #5  
Antiguo 05-01-2006
aledieb aledieb is offline
Miembro
 
Registrado: jun 2005
Ubicación: Buenos Aires, Argentina
Posts: 141
Reputación: 19
aledieb Va por buen camino
Probaste el refresh, supongo que si.

También existe
Cita:
Refetches the active record and the records that precede and follow it.
type TResyncMode = set of (rmExact, rmCenter);
procedure Resync(Mode: TResyncMode); virtual;
Description
Resync is used internally by other dataset methods to resynchronize the dataset with underlying physical data when making calls that may change the internal cursor position. Applications should use the Refresh method instead of calling Resync.
Mode indicates optional processing that Resync should handle. If Mode contains rmExact, Resync raises an exception if Resync is called when the cursor is not positioned on a valid record. If Mode contains rmCenter, Resync positions the active record in the center of all buffered records.
Regardless of Mode, Resync also activates the buffers for the active record, retrieves prior and subsequent records for display purposes, and triggers a dataset change event.
No probe este ultimo metodo, pero se supone que realiza un refresco del query.

Espero que te sirva
__________________
Suerte
Alejandro
Responder Con Cita