By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,836 Members | 2,097 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,836 IT Pros & Developers. It's quick & easy.

Problem when reaching EOF

P: n/a
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
Nov 9 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"leo" <le****@hotmail.com> wrote in message
news:eK**************@TK2MSFTNGP14.phx.gbl...
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
%>
Nov 9 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.