User Tools

Site Tools


rttk:uc:cacheupdates

This is an old revision of the document!


Case: Cached Updates

Cached updates can be difficult to understand / diagnose, Marshal allows you to look at the dataset and database at the same time to understand what is pending and written to the actual database.

Implementation details

For this demo I use the form create event to start Marshal. Here is the code:

uses
  dmMainComp,   VCL.SE.RTTK.Marshal, Vcl.Clipbrd;
 
{$R *.dfm}
 
procedure TfrmCachedUpdates.FormCreate(Sender: TObject);
begin
  inherited FormCreate(Sender);
  RegisterDS(qryProducts);
  TSERTTKWorker.ShowMarshal;
end;

Recreation

Start the demo sample Qry_CachedUpdates.

rttk/uc/cacheupdates.1628575785.txt.gz · Last modified: 2021/08/10 06:09 by wikiadmin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki