notex
|
| Posted: 05/02/2003, 6:00 AM |
|
I have two tables, contact_list and contact_person. When some delete contact_person record, all related entries in contact_list should be cascade delete as well.
Just wondering how to do two delete from sql in ccs.
Though I don't expect any answer here
|
|
|
 |
Edd
|
| Posted: 05/03/2003, 12:04 AM |
|
The best method is to put it into a trigger in the database so the rules are consistent.
If you can't use a trigger (i.e. MySQL) then in the AfterDelete event code the delete of the subsequent data,
Hope this helps 
Edd
|
|
|
 |
|