Can I check if a Field has changed

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Thomas J.
Posts: 95
Joined: Mon 21 Nov 2005 12:16
Location: Germany

Can I check if a Field has changed

Post by Thomas J. » Mon 20 Oct 2008 10:52

Hello all,

is it possible to check whether the field has changed or not before the update is done? I use a TMyQuery compnent.

Thanks 4 your help
Thomas

Thomas J.
Posts: 95
Joined: Mon 21 Nov 2005 12:16
Location: Germany

Post by Thomas J. » Mon 20 Oct 2008 10:57

:D
TField->OldValue and TField->NewValue

Sorry for the post

swierzbicki
Posts: 451
Joined: Wed 19 Jan 2005 09:59

Post by swierzbicki » Tue 21 Oct 2008 11:22

You should better use :

TField->OldValue and TField->Value

NewValue is supposed to be used with TClientDataset

Post Reply