A
|
alang 2/26/2008 |
PHPR uses a primary table for list/edit/add etc even though you may join other fields from other tables in the SQL. You need to use code in the "Before record updated" event to ensure that all fields NOT in this primary table in the $values array are "unset" before calling "return true;". If you also want to update these "joined" fields in your database (in other tables), you need to do this manually in the event code prior to unsetting them. |
D
|
dakk author 3/5/2008 |
PHPR uses a primary table for list/edit/add etc even though you may join other fields from other tables in the SQL. You need to use code in the "Before record updated" event to ensure that all fields NOT in this primary table in the $values array are "unset" before calling "return true;". If you also want to update these "joined" fields in your database (in other tables), you need to do this manually in the event code prior to unsetting them.
|
A
|
alang 3/5/2008 |
I am not familiar with the oci_.. commands but:
|
D
|
dakk author 3/6/2008 |
I am not familiar with the oci_.. commands but:
|
D
|
dakk author 3/6/2008 |
found the answer changed .$values to .$oldvalues which is |