7up
Mar 12th, 2001, 11:55 AM
Hi guys,
I have a loop to write out the contents of my query.
<%
do while NOT oRSv.EOF
Response.Write "<option value='" & oRSv("Date") & "'>"
Response.Write oRSv("Date") & "</option>   "
Response.Write "<option value='" & oRSv("Step") & "'>"
Response.Write oRSv("Step") & "</option><br>"
oRSv.MoveNext
Loop
oRSv.Close
Set oRSv=nothing
%>
its in an asp page but its writting out my data 5 times instead of once. because the number of frecords differ everytime I have no way of stopping this.
Any Ideas?
I have a loop to write out the contents of my query.
<%
do while NOT oRSv.EOF
Response.Write "<option value='" & oRSv("Date") & "'>"
Response.Write oRSv("Date") & "</option>   "
Response.Write "<option value='" & oRSv("Step") & "'>"
Response.Write oRSv("Step") & "</option><br>"
oRSv.MoveNext
Loop
oRSv.Close
Set oRSv=nothing
%>
its in an asp page but its writting out my data 5 times instead of once. because the number of frecords differ everytime I have no way of stopping this.
Any Ideas?