Add record directly from master page |
10/4/2010 3:58:29 PM |
PHPRunner General questions | |
J
joeedel author
Searched all over the forums and can't find the answer, I want to be able to add a child record directly from the master page. I have a master table "Students" and want to add attendance records to the "Data" table (with the pertinent info from the student table such id already filled in). As it works now I have to view the student's records in the data table then click the "Add" button creating an extra step. If I could just replace the view links that phrunner creates with other code I could get it to work. For example the view link that phprunner creates ends up making this link
http://localhost/attendance/_data_add.php?mastertable=_student&masterkey1=268
|
|
![]() |
Sergey Kornilov admin 10/4/2010 |
This is a built-in option. Double-click on Master-Details relationship link and choose details records to appear on Add/Edit/View pages of Master table. |
J
|
joeedel author 10/5/2010 |
This is a built-in option. Double-click on Master-Details relationship link and choose details records to appear on Add/Edit/View pages of Master table. You can also display child records inline on master list page and add new child records right there.
|
A
|
ann 10/6/2010 |
Joe, |