Solved

Deleting Records in Master/Slave Tables

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

730 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