EhLib.Com https://forum.ehlib.com/en/ |
|
MemTable.FieldByName.NewValue-OldValue https://forum.ehlib.com/en/viewtopic.php?f=5&t=181 |
Page 1 of 1 |
Author: | arnikos [ 28 Oct 2012, 10:52 ] |
Post subject: | MemTable.FieldByName.NewValue-OldValue |
Dear Dmitry I have the following problem with MemTable: I use a TmemTableEh Component with Property CachedUpdate=True, connected to a DatasetDriver Component with DataProvider a TQuery Component. In my program the code is as below: MemTable.open; MemTable.Edit; ... < After Editing > if MemTable.FieldByName('fieldname').OldValue<>MemTable.FieldByName('fieldname').NewValue then <do something> else <do something else> The problem is that MemTable.FieldByName('fieldname').OldValue allways return Null and not the old Value of the Field. EhLib V5.6 Best regards Nicholas |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |