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.
DoCmd.OpenReport "ReportName", acViewPreview
After the report is opened I issue the following command to close the form that collected the filtering criteria ...
Me.Close
The form closes however the report, which I wanted to stay open in the foreground, is hidden. Any idea why this is happening?