This topic is locked

Master/Detail View Page

7/4/2009 1:31:37 PM
PHPRunner General questions
S
swanside author

Hello.
My two tables are linked ( Main and Child ) and on the list page for the master table (Main), I have the link to the list for the details table (Child), but I dont want it to go to the list of the details table (Child), I want it to go to the View of the details table (Child)
How can this be done please?
Thanks

Paul.

J
Jane 7/6/2009

Paul,
use List page: After record processed event on the Events tab for this purpose.

Here is a sample:

$record["DetailTableName_dtablelink_attrs"]=" href=\"DetailTableName_list.php?editid1=".$data["IDField"]."\" ";

S
swanside author 7/6/2009

Thanks Jane