title: How do I skip to the next record on a find within a for each progress4gl?
body: <p>I've been working on a code that runs a <code>for each</code> within another <code>for each</code> and a <code>find</code> inside it, and I need to skip the record found by the <code>find</code> statement if it doesn't match the second <code>for each</code>'s value, but I'm unintentionally skipping the table on the first <code>for each</code>.</p>
  
  <pre><code>for each &lt;table&gt;.
     for each &lt;table1&gt;.
        find &lt;table2&gt; where &lt;table2&gt;.&lt;code&gt; = &lt;table1&gt;.&lt;code&gt; no-lock no-error.
        if not avail &lt;table2&gt; 
        then next.
     end.
  end.
  </code></pre>
  
  <p>Instead of skipping <code>&lt;table1&gt;</code> when not found, it's skipping <code>&lt;table&gt;</code>, Is there a way to fix this?</p>
  
  <p><strong><em>Version</em></strong>:</p>
  
  <p>OpenEdge Release 10.2B</p>
  
  <p><strong>Warning:</strong>
  I'm a newbie at progress</p>