J
|
Jane 7/1/2009 |
Hi, |
U
|
uludag author 7/2/2009 |
Hi Jane, Hi, Unfortunately PHPRunner do not support to add detail records to the master view page automatically. You need to select and print detail records in the custom event (Insert PHP code snippetoption on the Visual Editor tab) manually for that. |
J
|
Jane 7/2/2009 |
Hi, global $dal; $rs = $dal->academicstaff->Query("IDField=".$_REQUEST["editid1"],""); $data = db_fetcj_array($rs); echo "Books table "; $rs2 = $dal->books->Query("DetailKey=".$data["MasterKey"],""); while ($data2 = db_fetch_array($rs2)) { echo "FieldName1: ". $data2["FieldName1"]." "; echo "FieldName2: ". $data2["FieldName2"]." "; }
|
U
|
uludag author 7/2/2009 |
Hi Jane, global $dal; $rs = $dal->academicstaff->Query("IDField=".$_REQUEST["editid1"],""); $data = db_fetcj_array($rs); echo "Books table "; $rs2 = $dal->books->Query("DetailKey=".$data["MasterKey"],""); while ($data2 = db_fetch_array($rs2)) { echo "FieldName1: ". $data2["FieldName1"]." "; echo "FieldName2: ". $data2["FieldName2"]." "; } |
J
|
Jane 7/2/2009 |
I recommend you to publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages and I'll help you with sample code. |
U
|
uludag author 7/2/2009 |
I sent it. I recommend you to publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages and I'll help you with sample code. |