Hello All:
<%
Do While Not RecordSet.EOF
If IsArray(vData) Then
iIndex = iIndex + 1
Redim Preserve vData(3,iIndex)
Else
redim vData(3,iIndex)
End If
vData(0,iIndex) = RecordSet("DOCUMENT_ID"
vData(1,iIndex) = RecordSet("REVISION"
vData(2,iIndex) = RecordSet("URL"
vData(3,iIndex) = RecordSet("TITLE"
RecordSet.MoveNext
Loop
%>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY>
<form name=form1 >
<SELECT NAME="links" id="links" SIZE=1 style="width=300px">
<%
for iRow = 0 to ubound(vData, 2)
Response.Write "<option value=""" & vData(0, iRow) & """>" & vData(3, iRow)
next
%>
</SELECT>
<p>
<p>
<p>
<INPUT TYPE=BUTTON VALUE=GO id=BUTTON3 name=BUTTON3 value="GO" >
<p>
<p>
</form>
I'm having problem getting REVISION and URL for the TITLE select from the combobox. When the uses selects some title from the combobox I need to get corresponding
REVISION and URL from array created in server side. Any suggestions ?
Thanks
<%
Do While Not RecordSet.EOF
If IsArray(vData) Then
iIndex = iIndex + 1
Redim Preserve vData(3,iIndex)
Else
redim vData(3,iIndex)
End If
vData(0,iIndex) = RecordSet("DOCUMENT_ID"
vData(1,iIndex) = RecordSet("REVISION"
vData(2,iIndex) = RecordSet("URL"
vData(3,iIndex) = RecordSet("TITLE"
RecordSet.MoveNext
Loop
%>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY>
<form name=form1 >
<SELECT NAME="links" id="links" SIZE=1 style="width=300px">
<%
for iRow = 0 to ubound(vData, 2)
Response.Write "<option value=""" & vData(0, iRow) & """>" & vData(3, iRow)
next
%>
</SELECT>
<p>
<p>
<p>
<INPUT TYPE=BUTTON VALUE=GO id=BUTTON3 name=BUTTON3 value="GO" >
<p>
<p>
</form>
I'm having problem getting REVISION and URL for the TITLE select from the combobox. When the uses selects some title from the combobox I need to get corresponding
REVISION and URL from array created in server side. Any suggestions ?
Thanks