i have a simple relationship which is shown in the link below

http://www.flickr.co.. .N06/6948010043/

after doing much research i cannot find a proper way of deleting rows which are linked in all 3 tables.

Where am i going wrong in my code thanks



This is the code i am using currently



Code:
strsql = "delete *  from  cg_security_user_right
...