Which trigger will work
Hi,
There exist a trigger in Developer call "post commit",it fires just after commit command ? Similarly I want to do some work after submit button pressed(sucessful submission in database),I mean after commit on database (I guess both are same)? which asp event will suit me, or what is the best way to do it?
My requirement is when user submit the form say its product details, I save it into my database. I have written function for sending email. I want when form is successfully saved into database then one email should go to relevant user.
1) If record is not saved into database function should not run.
Else function should work.
I can use onSubmit, but I guess onSubmit fires before submit. is not it? Please guide.
Thanks in advance
Regards
__________________
om prakash kumar
|