J
|
jtforstner author 1/5/2007 |
2 tables = Requests & Users Requests holds database entries Users holds user account login, password & email On the add page the "EnteredBy" field autopopulates using the default value of Session("UserID") How do I create an After Record Update event on the Edit page that checks to see if "FIELD1" has been changed from the default value of 'Unanswered' and e-mail to the user in the "EnteredBy" field? Thanks, Jeremy
|
![]() |
Sergey Kornilov admin 1/7/2007 |
It's hard to understand if you talking about adding or editing a record. set rstmp = Server.CreateObject("ADODB.Recordset") |
J
|
jtforstner author 1/8/2007 |
It's hard to understand if you talking about adding or editing a record. In case of Add you can use something like this in AfterAdd event: set rstmp = Server.CreateObject("ADODB.Recordset")
|
J
|
Jane 1/9/2007 |
Jeremy, Function BeforeEdit(dict, where) email=dict("EnteredBy") message = "Record " & dict("RequestID") & " has been updated." subject="Sample subject" sendmail email, subject, message BeforeEdit = True End Function |