Hi,
I am trying to update two three tables and if all of them were successfully updated, I need to send an email to the user..
I am using cn.BeginTrans and cn.CommitTrans route. My backend is SQL Server 7.
Why doesn't the cn.CommitTransComplete method work for me ?
I mean , I have given the event script inside a <%%> tags. Even then it doesn't work, why ? Here is a code snippet:
In advance, Thanks!
RR
I am trying to update two three tables and if all of them were successfully updated, I need to send an email to the user..
I am using cn.BeginTrans and cn.CommitTrans route. My backend is SQL Server 7.
Why doesn't the cn.CommitTransComplete method work for me ?
I mean , I have given the event script inside a <%%> tags. Even then it doesn't work, why ? Here is a code snippet:
Code:
<%
Sub cn_CommitTransComplete
'THE AUTOEMAIL-
Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
'.... and so on...
%>
In advance, Thanks!
RR