Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » Multi2 -> popup2 not calling _cm_pre_updateRecord?
Multi2 -> popup2 not calling _cm_pre_updateRecord? [message #1785] Fri, 31 October 2008 11:18 Go to next message
bonzo_bcn is currently offline  bonzo_bcn
Messages: 152
Registered: June 2008
Senior Member
I have a multi2 screen with a popup2 for adding records, this really just updates the child record with the id of the parent.

The multi2 displays a league and it's teams. With the popup2 you can 'assign' teams to the league.

I'm trying to customise _cm_pre_updateRecord, but with the debugger I'm finding it doesn't get called, is this correct?

Can you point me to where should I look to check why it isn't being called?
Re: Multi2 -> popup2 not calling _cm_pre_updateRecord? [message #1786 is a reply to message #1785] Fri, 31 October 2008 13:20 Go to previous message
AJM is currently offline  AJM
Messages: 2349
Registered: April 2006
Location: Surrey, UK
Senior Member
When you use a popup the only custom methods which are called are as follows:

This is described in http://www.tonymarston.net/php-mysql/infrastructure-faq.html #faq17b.

The _cm_pre_updateRecord() method has nothing to do with popup processing, and is only used when a record is being updated.


Previous Topic: Custom validation
Next Topic: Insertorupdate and autoincrement
Goto Forum:
  


Current Time: Tue May 07 15:06:51 EDT 2024

Total time taken to generate the page: 0.00946 seconds