Solved

Deleting Records in Master/Slave Tables

Posted on 1998-02-06
3
273 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

705 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