This topic is locked

linking records ?

5/1/2008 5:34:58 PM
PHPRunner General questions
M
mrjtdude author

is there a way to DELETE record 'one' and record 'two' by just deleting record 'one'....

in other words i want record 'one' to be the directory and record 'two' to be it's subdirectory (linked)
table:one

field:one

record:one

|

| (record: one & two linked together)

|

table:two

field2:two

record:two
Regards,

mrjtdude
Regards,

mrjtdude

Sergey Kornilov admin 5/1/2008

You can use BeforeDelete event for this purpose. Execute second delete query in this event.