Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 16 Jan 2022, 11:07

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: 28 Oct 2012, 10:52 
Offline

Joined: 22 Apr 2012, 18:35
Posts: 21
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group