title: Access - Report opens and then is hidden when opening form is closed
body: <p>I am using Access 2003 and I have a form that collects some filtering criteria for the report. Once the criteria is entered the user clicks and "OK" button and the report is launched using the following VBA.</p>
  
  <pre><code>DoCmd.OpenReport "ReportName", acViewPreview
  </code></pre>
  
  <p>After the report is opened I issue the following command to close the form that collected the filtering criteria ...</p>
  
  <pre><code>Me.Close
  </code></pre>
  
  <p>The form closes however the report, which I wanted to stay open in the foreground, is hidden. Any idea why this is happening?</p>