Solved

Tquery internal cache data

Posted on 2001-06-04
1
128 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
ID: 6153612
set cachedUpdates true,

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
indy tidtcpclient threading issue 8 63
Find and Replace Stream with 0s 8 56
Convert MS Word document to a PDF file 9 62
PHP preg_replace code convert to Delphi 14 32
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Edureka is one of the fastest growing and most effective online learning sites.  We are here to help you succeed.

911 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

20 Experts available now in Live!

Get 1:1 Help Now