C
|
cgphp 11/17/2012 |
Where did you add the code above? Please, tell us in which event has been added. |
S
|
sancarlosantioquia author 11/17/2012 |
Where did you add the code above? Please, tell us in which event has been added. What is the foreign key of the details table?
|
![]() |
Sergey Kornilov admin 11/19/2012 |
Okay, as far as I understand you need to update make field in carsmodels table when make field in carsmake changes. |
S
|
sancarlosantioquia author 11/20/2012 |
Okay, as far as I understand you need to update make field in carsmodels table when make field in carsmake changes. Use the following code in carsmake BeforeEdit event: CustomQuery("update carsmodels set make='".$values["make"]."' where make='".$oldvalues["make"]."'");
|