T
|
thesofa 9/10/2008 |
In general, how can I access the values of a few fields from a master record to pre-populate a detail record screen? Event code? Custom values? There is an example using events for ASP Runner, but I'm using PHP Runner... Thanks
|
J
|
Jane 9/11/2008 |
Jay, global $conn,$strTableName; if (@$_REQUEST["masterkey1"]) { $str = "select Field1, Field2 from MasterTable where Key=".$_REQUEST["masterkey1"]; $rs = db_query($str,$conn); $data = db_fetch_array($rs); $_SESSION["Field1"] = $data["Field1"]; $_SESSION["Field2"] = $data["Field2"]; } |