vidhu Messages: 14 Registered: February 2010 Location: SURINAME
Junior Member
Hello sir ,
If I have to delete a record of mother table,first i want to delete a record of mother table.so I thought pre_delete_record is good for that one.Am i right or wrong?
AJM Messages: 1206 Registered: April 2006 Location: Surrey, UK
Senior Member
If you are trying to delete a record from table 'A', but at the same time you wish to delete any associated records from table 'B', then you can achieve this automatically by creating a relationship between table 'A' (the parent) and table 'B' (the child) and setting the relationship type to 'CASCADE'. This is documented in dict_related_column(multi4).Tony Marston http://www.tonymarston.net http://www.radicore.org