Blue
White
Purple
Green
Red
Orange
Blue Light
White Light
Purple Light
Green Light
Red Light
Orange Light
Anyone knows the syntax to call on a field from the master_table if I am in the child?
Hi,you can select master values in the custom event (Insert PHP code snippet option on the Visual Editor tab). Here is a sample code:
global $strTableName,$dal;$rstmp = $dal->MasterTableName->Query("MasterKey=".$_SESSION[$strTableName."_masterkey1"],"");$datatmp = db_fetch_array($rstmp);echo "Field1: ".$datatmp["Field1"]."";echo "Field2: ".$datatmp["Field2"]."";
where Field1, Field2 and MasterKey are your actual field names, MasterTableName is your actual table name.
Thanks