Problem when reaching EOF

L

leo

Hello guys

I have a problem when reaching the end of file (EOF). Is there any way I can
start at the beggining of file (BOF) when looped second time

sample code

<%
Do While Not rstA.EOF

Do While Not rstB.EOF 'automatically disregard when the second
loop comes coz it reached the EOF

rstB.Movenext
Loop

rstA.Movenext
Loop
rstA.Close
%>

Plss help

Thanks
Leo
 
M

McKirahan

leo said:
Hello guys

I have a problem when reaching the end of file (EOF). Is there any way I can
start at the beggining of file (BOF) when looped second time

[snip]

<%
Do While Not rstA.EOF

rstB.MoveFirst
Do While Not rstB.EOF

rstB.MoveNext
Loop

rstA.MoveNext
Loop
rstA.Close
%>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top