title: EOF and BOF in ASP
body: <p>I'm converting an ASP Page to JAVA/JSP</p>
  
  <p>I think I have an understanding of .MoveNext but, I'm not sure what .EOF and .BOF are doing.</p>
  
  <p>Can anyone Help me understand what this ASP code is doing? </p>
  
  <p><strong>rsVerifyBase.MoveNext</strong>
  (I believe this is just moving to the next line, But I'm not sure)</p>
  
  <p><strong>rsVerifyBase.EOF</strong> ?</p>
  
  <p><strong>rsVerifyBase.BOF</strong> ?</p>
  
  <p>Including sample code so you can see what I'm looking at</p>
  
  <p>Now that I have a better understanding, is it relative to Java?  </p>
  
  <p>if so is there something similar in Java?</p>
  
  <p>My connection is using JDBC Driver instead of the original ADODB which is ASP</p>
  
  <p>Sample Code:</p>
  
  <pre><code>Do while not rsVerifyBase.EOF and not rsVerifyBase.BOF
                          sS = rsVerifyBase("")
                          sE = rsVerifyBase("")
                          if (rsVerifyBase("") &gt; cdate(dateString)) AND (InStr(sStart,sS)=0) then%&gt;
                              &lt;tr&gt;&lt;td&gt;The &lt;%=rsVerifyBase("")%&gt; currency is not valid until &lt;%=rsVerifyBase("Start_Date")%&gt;.&lt;/td&gt;&lt;/tr&gt;
                          &lt;%  sStart = sStart &amp; sS
                          end if
                          if (rsVerifyBase("") &lt; cdate(dateString)) AND (InStr(sEnd,sE)=0) then%&gt;
                              &lt;tr&gt;&lt;td&gt;The &lt;%=rsVerifyBase("")%&gt; currency is not valid after &lt;%=rsVerifyBase("End_Date")%&gt;.&lt;/td&gt;&lt;/tr&gt;
                          &lt;% sEnd = sEnd &amp; sE
                          end if
                          rsVerifyBase.MoveNext
                      loop
  </code></pre>