|
-
Mar 12th, 2001, 12:55 PM
#1
Thread Starter
New Member
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|