pass ms access database field to another page

Discussion in 'Databases' started by aspbeginner, Jul 28, 2009.

  1. #1
    hi,

    how do i pass the value of a ms access database field from page 1 to page 2
    this is the code that i'm trying to modify:
    <a href="send.asp?Rec=<%=rs("RecNo")%>&Safe=<%if rs("PW")<>"" then response.write "True"%>">DOWNLOAD</a></p>

    RECNo is a record number of a table

    what should come out is i should be able to catch the "file name of that particular record (or whatever value this field has)" and pass it on to the second page. and how do i catch the value to the 2nd page. i'm using vbscript and asp.

    thank you
     
    Last edited: Jul 28, 2009
    aspbeginner, Jul 28, 2009 IP
  2. Bharat Kumar Dhaker

    Bharat Kumar Dhaker Active Member

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    81
    #2
    Use session for the same. Assign value to session on first page and then on second page access session value.
     
    Bharat Kumar Dhaker, Apr 24, 2014 IP