Solved

Deleting Records in Master/Slave Tables

Posted on 1998-02-06
3
268 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

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

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

708 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

19 Experts available now in Live!

Get 1:1 Help Now