title: Access VBA Loop with Dcount Condition
body: <pre><code>rcount = DCount("F1", "T1")
  
  Do While rcount &gt; 0
  
  DoCmd.OpenQuery "q1"
  
  Loop
  </code></pre>
  
  <p>Can anyone tell me while this code won't work?  It loops through, but seemingly ignores the condition of <code>rcount &gt; 0</code></p>