|
|
Sergey Kornilov admin 10/6/2005 |
|
Here is how you can do this. See my changes in bold. response.redirect "table_name_here_list.asp?message=Record updated" message="<div class=message><<< " & "Record updated" & " >>></div>"
response.redirect "table_name_here_list.asp?message=Record was added" message="<div class=message><<< " & "Record was added" & " >>></div>"
call WriteTableHeader if Request(message)<>"" then response.write "<div class=message><<< " & Request(message) & " >>></div>" end if call loopRs(rs, CLng(PageSize)) |
|
|
A
|
ashumak 2/9/2006 |
|
IS this done in the template editor? Do I need to add to all three? |
|
|
|
Sergey Kornilov admin 2/9/2006 |
|
Yes, you need to use Template Editor and you need to apply all three. |
|
|
A
|
ashumak 2/10/2006 |
|
Tried it (using 4)... |
|
|
|
Sergey Kornilov admin 2/12/2006 |
|
Alan, Response.Redirect "Teleleads_list.asp" |
|
|
A
|
ashumak 2/13/2006 |
|
"Got it" |
|
|
C
|
ccurnutt 2/21/2006 |
|
This does not work for me! (I must be an idiot!) |
|
|
|
Sergey Kornilov admin 2/21/2006 |
|
Syntax error here that was fixed in later build. Should be the following: Sub AfterAdd() |
|
|
A
|
ashumak 2/23/2006 |
|
Got it working, however, afetr editing a record, it goes back to the basic list, not the list as shown before the edit. Any work around for this? |
|
|
|
Sergey Kornilov admin 2/24/2006 |
|
Alan, Response.Redirect "showmaster_list.asp?action=backtolist" |
|