This topic is locked

After Edit Event Values

10/3/2007 10:14:54 PM
ASPRunnerPro General questions
M
Michael7 author

Hi,
I have a master detail relationship. when you go to the details page then add a new record or edit an existing one I would like it to then redirect back to the master page and open the master record for inline editing. this is so it can be marked as complete.
<%
Sub Afteradd()

Response.Redirect "/myproject/ouput/mypage_list.asp? ''''''where the master-detail value was = to the detail record just added'''''
%>
thankyou for your assistance.

Michael

Sergey Kornilov admin 10/5/2007

Michael,
in AfterAdd event you can use keys("KeyColumnName") go get an id of the added record and pass it to another page.
To open a record for inline editing check the following article:

http://www.asprunner.com/forums/index.php?showtopic=6076