[size="4"]I have a project with one master and multiple detail tables using the same field to link. I want to use one field in the master table for the detail table preview popup and click-able link. I could make the link work but not the popup preview. I know I am stuck at the recId part. This is my code (master table list page-view as --custom)[/size]
[size="3"]
$masterquery="mastertable=mymastertable";
$masterquery.="&masterkey1=".$data["linkfield"];
$value="<A href=\"".$data["fieldA"]."_list.php?".$masterquery."\" id=\"master_".$data["fieldA"]."_".$_SESSION["recId"]."\" > ".$value." </A>";
[/size]
[size="4"]Note: One of the detail tables' name =$data["fieldA"]. I could not figure out the recId variable in PHP and how to call it with the custom code in list page. Please help me. Thanks.[/size]