Solved

Tquery internal cache data

Posted on 2001-06-04
1
127 Views
Last Modified: 2010-04-06
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
Comment
Question by:jlislo
1 Comment
 
LVL 27

Accepted Solution

by:
kretzschmar earned 100 total points
Comment Utility
set cachedUpdates true,

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

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now