ggoldberg
MIS
- Feb 7, 2003
- 27
I would like to give the user the option to "Print" or "Preview" a report. I am trying to run this report from a "popup" and "modal" calling form, but when I choose "Preview" for the report (OpenReport "report1",acViewPreview),
the report is always hidden behind the calling form. I have tried to hide the calling form in it's own code by setting it's visibility to false before I call the report and to true after the report closes. I have used both
me.visible and forms!myForm.visible to do this, but in either case, the calling form continues to obscure to view'd report. I have also tried to hide/unhide the calling from from the open and close events in the report,
but have had the same problem.
Can anyone show me how to hide the calling form while the view'd report is open?
Thanks,
Gerry Goldberg
the report is always hidden behind the calling form. I have tried to hide the calling form in it's own code by setting it's visibility to false before I call the report and to true after the report closes. I have used both
me.visible and forms!myForm.visible to do this, but in either case, the calling form continues to obscure to view'd report. I have also tried to hide/unhide the calling from from the open and close events in the report,
but have had the same problem.
Can anyone show me how to hide the calling form while the view'd report is open?
Thanks,
Gerry Goldberg