Solved

DB updates?

Posted on 1998-01-25
7
162 Views
Last Modified: 2010-04-04
Hi!

How can I detect if other DB programs makes change to my DB?
I am using Delphi 3.0 Prof w/BDE
0
Comment
Question by:chrb
  • 3
  • 3
7 Comments
 
LVL 8

Expert Comment

by:MikeP090797
ID: 1357535
If you mean while your app is off, you can save your db's size and check it later. The chances are, if the db changes, the size will change too
0
 

Author Comment

by:chrb
ID: 1357536
I meen while the program is running. It is a Paradox table.
0
 
LVL 1

Expert Comment

by:millerw
ID: 1357537
While a table is running, use a callback function with the BDE.  It is called cbTABLECHANGED.  Also check out the DBICheckRefesh and DBIForceRefresh BDE functions.

BTW--check those all out in the BDE API Help file.

Need more help, just write,
Scott
0
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.

 
LVL 1

Expert Comment

by:millerw
ID: 1357538
http://www.borland.com/devsupport/bde/delphifiles.html

Try the component on this page--here is the description:

Delphi table change notification component with example: This sample component does all the BDE API work for you to give notification when a Paradox table has changed.  Fully configurable; check interval time and custom event allows you to do anything you want when the table has changed. Simply install the new TTable component (TRegisterTable in RegisterTable.pas) and compile the included project. This component will work with all table types, but will only use the callback with Paradox table types.

If you like this, just reject the current answer and I'll post this as the answer.

Have fun,
Scott
0
 

Author Comment

by:chrb
ID: 1357539
Thanks Millerw, please post as answer :)

Chr
0
 
LVL 1

Accepted Solution

by:
millerw earned 70 total points
ID: 1357540
http://www.borland.com/devsupport/bde/delphifiles.html

Try the component on this page--here is the description:

Delphi table change notification component with example: This sample component does all the BDE API work for you to give notification when a Paradox table has changed. Fully configurable; check interval time and custom event allows you to do anything you want when the table has changed. Simply install the new TTable component (TRegisterTable in RegisterTable.pas) and compile the included project. This component will work with all table types, but will only use the callback with Paradox table types.

Have fun,
Scott
0
 

Author Comment

by:chrb
ID: 1357541
Thanks!
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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
A simple description of email encryption using a secure portal service. This is one of the choices offered by The Email Laundry for email encryption. The other choices are pdf encryption which creates an encrypted pdf of your email and any attachmen…

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

23 Experts available now in Live!

Get 1:1 Help Now