Delphi .NET (2) Database (75) Delphi IDE (239) Network (517) Printing (1037) Strings (2086) VCL (4255) Windows with Delphi (38)
Exchange Links About this site Links to us 
New related comments Number of comments in the last 48 hoursGeneral BDE Limits 3 new comments
Detecting database changes 1 new comments
|
Detecting database changes
This article has not been rated yet. After reading, feel free to leave comments and rate it.
Do you need to determine if a user has changed any of the fields of a displayed record, but hasn't yet posted the record?
If so, you can check the current state of the database via the datasource associated with it.
To do so, simply write the following code:
 | |  | |
if (Datasource1.State in dsEditModes) then
{...code you want to execute...} | |  | |  |
If the datasource's State property is dsEdit, dsInsert or dsSetKey,
this statement will evaluate as true.
Content-type: text/html
Comments:
|
anonymous from United States
|
|
|
That's a cunning answer to a chligenalng question
|
|
|
You've maganed a first class post
|
|
anonymous from Lansing, United States
|
|
|
I enjoy your blog blog post.. relaxed cnolriogs & motif. Can any person styling this phenomenal internet site yourself or even undertake any person rely on someone else so it will be are employed in ones condition? Plz behave considering that I really!|mirielle planning to style my best web-site plus may wish to find out the place u obtained these due to. thank you so much http://taapkdfs.com [url= http://iyrscyrx.com..cyrx[/url] [link= http://ryczhjqc.com..jqc[/link]
|
|
anonymous from Venezuela
|
|
|
The Twitter application page will open. This is good if you’ve got some<a href=' http://youqlwghyeo.com'> tuoshand</a> followers, but as you get much more and much more the usefulness of this tool is downgraded.
|
|
|
We're looking at it for a few thnigs: first as a 'cache' database in front of the production databases as emergency failover (even a cluster can crash, so we have a very limited set of features we support). It is an internet based application so saying 'go away we're down' isn't an option. We'll pull some amount of data into an XE database hourly and on failure point the app servers to it. We'll have about 5% functionality, but it is important functionality to 90% of the clients. Having lost the RAC a few times, this is a nice emergency solution.Second place is to remove the mySql/SQLServer/Postges/Access ... databases the business units have created over the years. With ODBC/JDBC and PHP/Perl interfaces, we don't change the applications, just the database underneath them.Then we can leverage the production DBA and engineering resources to help manage them until we can replace each one into a RAC. (Funny how the business units want our help in managing and tuning until we try to take them into our control.) http://bysirsrwfh.com [url= http://oysczeihm.co..eihm[/url] [link= http://yzaslkoxhe.c..xhe[/link]
|
|
anonymous from Brazil
|
|
|
|
|
anonymous from Germany
|
|
|
|
|
anonymous from Poland
|
|
|
|
|