Solved

Deleting Records in Master/Slave Tables

Posted on 1998-02-06
3
270 Views
Last Modified: 2010-04-04
I have a database application that has one master table with 3 slaves. They are linked together by the common field of title. How can I delete a record from the master table and have the corresponding titles deleted from the other tables?

Thanks
JE
0
Comment
Question by:JohnE
3 Comments
 
LVL 5

Expert Comment

by:JimBob091197
ID: 1358416
Which database are you using?  Some databases do support this kind of referential integrity, and will delete the records for you if you set it up to do so.
0
 
LVL 8

Accepted Solution

by:
ZifNab earned 150 total points
ID: 1358417
Have a look at the borland technical support pages for this :
http://www.borland.com/devsupport/delphi/ti_list/TI2837.html
0
 
LVL 5

Expert Comment

by:ronit051397
ID: 1358418
Paradox, Oracle and Informix support Cascade Deleting.
Also you can use Table1.BeforeDelete event.
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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

863 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

24 Experts available now in Live!

Get 1:1 Help Now