joey o.
Oct 12th, 2000, 03:05 PM
What I'm trying to do is to write a link that connects to any given part of the array.
I've chosen a recordset and I do this:
do until Query.EOF
'bunch of stuff
<a href= setup.asp name =TimestampQ(i) value=Query("TimeStamp")>
<%=Query("TimeStamp")%></a><br>
<%i=i+1%>
lOOP
'IN THE PAGE I CALL UP I DO THIS:
Dim Connect,Crit, Query, var
Crit = Request.Form("TimeStampQ")
Set Connect = Server.CreateObject("ADODB.Connection")
Connect.Open "NewSite"
SQLstr = "Select * from Tracking where TimeStamp = '" & Crit & "'"
Set Query = Connect.Execute (SQLstr)
Do Until Query.EOF
%>
I've chosen a recordset and I do this:
do until Query.EOF
'bunch of stuff
<a href= setup.asp name =TimestampQ(i) value=Query("TimeStamp")>
<%=Query("TimeStamp")%></a><br>
<%i=i+1%>
lOOP
'IN THE PAGE I CALL UP I DO THIS:
Dim Connect,Crit, Query, var
Crit = Request.Form("TimeStampQ")
Set Connect = Server.CreateObject("ADODB.Connection")
Connect.Open "NewSite"
SQLstr = "Select * from Tracking where TimeStamp = '" & Crit & "'"
Set Query = Connect.Execute (SQLstr)
Do Until Query.EOF
%>