eyal_barouk
Joined: 14 Jun 2004
Posts: 1
Posted: 2004-06-14 16:24
Back to top
Reply with quote
|
Hi,
I have a trigger set to be activated after a new record is inserted.
I need to use the same newly generated ID (autoincremented) and put it in another table.
In the trigger file I have tried to use:
$id = $newvals["id"];
But $newvals["id"] alwaise comes empty.
What can I do?
Thanks.
|
michal
Joined: 17 Jun 2003
Posts: 537
Location: Slovakia
Posted: 2004-06-18 11:59
Back to top
Reply with quote
|
this should be solved in the main class since CVS version 1.143.
$this->rec variable is set correctly to autoincrement value.
|
|
Post new topic
Reply to topic
|
|
|