How to find the changed records in dataset?
Posted on 2002-05-16
I'm using cached updates and in some cases there are Null values in some fields. Butt my database can not handle
these values. I would like to fill these fields with an empty string (or one space) before they are updated.
How can I see if a record in a dataset has been changed?
I would like to use something as follows:
if MyDataSet.ChangeCount > 0 then
while not MyDataSet.Eof do
// Here I would like to know if this particular record
// has been changed.
// if changed then field := ' ';
Is this the proper way to do this?
I tryed OnReconcile but there I can't change my fieldvalue anymore.