moi
Joined: 21 Jan 2005
Posts: 12
Posted: 2005-10-10 16:08
Back to top
Reply with quote
|
Hi,
I am looking to obtain data that has been displayed in the record prior to a trigger script being run, but can only seem to locate the $this->rec value. If as part of the record a field of 'Name' had also been displayed, (but was not part of oldrecs/newrecs) is there anyway that I can obtain it as a variable without executing another SELECT statement on the record id?
Thanks,
Moi
|
michal
Joined: 17 Jun 2003
Posts: 537
Location: Slovakia
Posted: 2005-10-11 11:20
Back to top
Reply with quote
|
prior to a before trigger ?
in before trigger, there is already $oldrec (which is obtained by a select from db).
|
|
Post new topic
Reply to topic
|
|
|