Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 138
  • Last Modified:

Tquery internal cache data

Before I post the data I want to compare the data in cache and the data when I open the query.

My question is

How to get the orig data when I open the query?

ex:

qryMy.Open ;
qryMy.fieldByname('Name').AsString := 'Joe' ;

after the above line I lost the orig data, beside save to a var is there a way to get the old data.

Thanks.

JL
0
jlislo
Asked:
jlislo
1 Solution
 
kretzschmarCommented:
set cachedUpdates true,

then you can access the oldvalue and newvalue-propertys of the tfield
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now