Only changed fields do arrive in the events.
In insert event both values are changed -> arrives in insert event
In update event no value is changed    -> so they do not arrive in update
event.
I think in your case you changed the detail key so that it arrives in the
update event again.

Cheers,
Henner

> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Im 
> Auftrag von [EMAIL PROTECTED]
> Gesendet: Freitag, 6. August 2004 23:47
> An: [EMAIL PROTECTED]
> Betreff: [dbforms] Sub-Forms and Interceptors
> 
> Hi.
> 
> I have a situation in which I use a master-detail form (Form 
> and Sub-Form).  
> 
> I'm trying to insert and update records into the details 
> table. (In an Entity
> Relationship Model it would look like this:   MASTER ----< DETAIL   )
> 
> When the "preInsert" method from the detail's interceptor 
> class is executed, the
> 2 keys really arrive (master and detail keys), but in the 
> case of the "preUpdate" method only the "detail record's key" 
> arrives.  What happen? 
> 
> Please help.
> 
> Thank you.
> 
> 
> -------------------------------------------------------------
> Este Mensaje se envio a traves de http://www.usb.edu.co/correo
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you noticed the 
> changes on Linux.com, ITManagersJournal and NewsForge in the 
> past few weeks? Now, one more big change to announce. We are 
> now OSTG- Open Source Technology Group. Come see the changes 
> on the new OSTG site. www.ostg.com 
> _______________________________________________
> DbForms Mailing List
> 
> http://www.wap-force.net/dbforms
> 



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to