This topic is locked

Adding a _list page link to an _edit page

7/19/2005 9:59:00 AM
ASPRunnerPro General questions
jmisson author

Hi,
Many thanks for your help on numerous ocassions. I am back again with another query.
I have an _edit page, I would like to add a link to this page, that opens a _list page that is filtered to display only the records related to the Primary Key (MasterKey) of the _edit page that is opening the list page.
What would be the code to do this?
Many thanks
Julie

Sergey Kornilov admin 7/20/2005

Julie,
here is how you can do it:

Response.write "<a href=Cars_list.asp?masterkey=" & Request("editid") & ">list page</a>"


Put this code where you like to display link to the list page.