Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Problem when reaching EOF

Reply
Thread Tools

Problem when reaching EOF

 
 
leo
Guest
Posts: n/a
 
      11-09-2005
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


 
Reply With Quote
 
 
 
 
McKirahan
Guest
Posts: n/a
 
      11-09-2005
"leo" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
%>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Windows] Any way to distinguish ^C Induced EOF from ^Z EOF? Jan Burse Java 67 03-14-2012 12:21 AM
ifstream eof not reporting eof? SpreadTooThin C++ 10 06-15-2007 08:49 AM
fread hangs before reaching eof() sweety C Programming 1 03-06-2006 09:12 AM
if EOF = -1, can't a valid character == EOF and cause problems? Kobu C Programming 10 03-04-2005 10:40 PM
Cisco PIX 501 Problem reaching internal networks Andre Cisco 1 02-25-2005 04:25 PM



Advertisments