title: .EOF VB, VBA for End Of File
body: <p>Pertaining to VBA:</p>
  
  <p>Does the following mean if a record does not exist:</p>
  
  <pre><code>    strSQL = "Select * from tblRes  where ID = '" &amp; Forms!Pg!PID &amp; "'"
      rs.Open strSQL, conn, adOpenDynamic, adLockOptimistic
      If rs.EOF Then
  </code></pre>
  
  <p>Does <code>rs.EOF</code> mean that the select result did not return anything? </p>