C
|
cgphp 10/25/2011 |
In the Before record updated event of table T2 set the OwnerID field value to the old value: $values['OwnerID'] = $oldvalues['OwnerID']; |
S
|
Sami author 10/25/2011 |
In the Before record updated event of table T2 set the OwnerID field value to the old value: $values['OwnerID'] = $oldvalues['OwnerID'];
Undefined variable: oldvalues |
C
|
cgphp 10/25/2011 |
Sorry, I had misunderstood your request. $oldvalues is only available for the Edit page. Try to update the record after it has been added in the "After record added" event: global $conn;
|
S
|
Sami author 10/25/2011 |
It shows a php error n°256 Unknown column 'admin' in 'where clause'
|
![]() |
Sergey Kornilov admin 10/26/2011 |
If primary key is a text field you need to add single quotes around key value: global $conn; |