Results 1 to 1 of 1

Thread: How to store a value in a variable when the link clicked????

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2001
    Location
    PortLand, OR
    Posts
    10

    Question How to store a value in a variable when the link clicked????

    Please give me anything if you think that helps, thanks


    I'm working on an index.asp page which will display all the links. Each of these links associates to its record in a sql table. When the users click on one of these links. It will pop up a main.asp page. This main.asp has 2 frames(navigation.asp(top), report.asp(bottom)). I try to display the right report when the main.asp loaded. For example, there are 5 links: 1, 2, 3, 4, 5, 6 If users click on number 4 link, main.asp will be loaded with two frames and the bottom should display the report of this record which file name is report4.html (this file name is already in the sql table).

    Note: There is a htmlFile_Name field in the sql table. This field stores the Report_.html file for each record.

    index.asp code:
    <a href="main.asp"><%=rs("index_link")%></a>

    How do I store the report_.html in a variable when the link clicked.

    I appreciate your help

    LynnJ
    Last edited by LynnDang; Feb 22nd, 2002 at 04:38 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width