title: MS Access OpenForm acDialog option does not seem to work
body: <p>This</p>
  
  <pre><code>DoCmd.OpenForm fnew, , , , , acDialog
  </code></pre>
  
  <p>Doesn't seem to stop code execution for some reason. Is it because I'm calling the function that has this method from another function and that is messing it up?
  E.g.</p>
  
  <pre><code>func1
  &lt;code&gt;
  Call func2
      &lt;func2 code&gt;
      DoCmd.OpenForm fnew, , , , , acDialog
  &lt;back to func1 code that executes even though i dont want it to until the form closes&gt;
  </code></pre>