Opening Multiple Instances of a Report

  • Thread starter Thread starter ExcelMan
  • Start date Start date
E

ExcelMan

I have a report that I produce in multiple versions by passing a
different OpenArgs parameter to it each time.

Problem is, I want the user to be able to view multiple versions of it
in preview mode after hitting a button. Right now, when I do that, the
first version of the report disappears and only the second (or last)
version remains on screen. I can open a modal dialog box between
opening each version, and this allows the user to view the reports
consecutively, but only the last report can be clicked on and moved
around.

Does anyone know how I can open multiple versions of ths SAME report
and have them all be on the screen in the normal preview mode where the
user can move around, setup, next page, or print from the preview
window?

Thanks.
 
Presumably you are using the New keyword to open multiple instances.

Each instance needs a different variable, and you must maintain the scope of
the variables until they are closed. One way to do that it so create a
custom collection for the instances. There is an example of how to do that
for forms in this link:
http://allenbrowne.com/ser-35.html
 
Back
Top