![]() |
Sergey Kornilov admin 7/7/2010 |
You need to setup default values for those fields to session variable.
|
L
|
lucas author 7/7/2010 |
You need to setup default values for those fields to session variable. i.e. field "Emp_FirstName", default value $SESSION["Emp_FirstName"] BeforeDisplay event: $_SESSION["Emp_FirstName] = $data["Emp_FirstName"]; Full BeforeDisplay event code:
|
D
|
Dale 7/7/2010 |
A quick stab it for you. |
L
|
lucas author 7/7/2010 |
A quick stab it for you. Note your section where the error begins. $_SESSION["Emp_FirstName] = $data["Emp_FirstName"]; $_SESSION["Emp_LastName] = $data["Emp_LastName"]; $_SESSION["Emp_EmailAddress] = $data["Emp_EmailAddress"]; $_SESSION["Emp_BranchID] = $data["Emp_BranchID"]; should be ( note the " missing in the $_SESSION variables. $_SESSION["Emp_FirstName"] = $data["Emp_FirstName"]; $_SESSION["Emp_LastName"] = $data["Emp_LastName"]; $_SESSION["Emp_EmailAddress"] = $data["Emp_EmailAddress"]; $_SESSION["Emp_BranchID"] = $data["Emp_BranchID"];
|
A
|
ann 7/8/2010 |
Lucas, |
L
|
lucas author 7/8/2010 |
Lucas, select f_product, f_func fields as dependent dropdowns (from the field f_client). In order to do it check 'How to setup dependent dropdown boxes on Edit/Add pages' article: http://xlinesoft.com/phprunner/php-database.htm
|
A
|
ann 7/9/2010 |
Lucas, |
![]() |
romaldus 7/13/2010 |
Lucas, unfortunately, there is no other way fill in values on fly.
|