WantToKnowMore
Programmer
Hi all,
I am calling a report from a form using the following VBA code:
docmd.OpenReport "rpt-5",acViewPreview,,,, "DownloadProcess"
In my report, I set Pop Up to No, and Modal to Yes. The report is created and displayed, but my code keeps on truckin...
I thought that the modal would make the code stop and wait until the user closed the report.
I also tried to use acDialog for the WindowMode in vba, and that worked the report stopped, but I had no way to print it.
Can anyone shove me in the right direction in order to make VBA wait until the user looks at the report?
I await an answer.....!!
I am calling a report from a form using the following VBA code:
docmd.OpenReport "rpt-5",acViewPreview,,,, "DownloadProcess"
In my report, I set Pop Up to No, and Modal to Yes. The report is created and displayed, but my code keeps on truckin...
I thought that the modal would make the code stop and wait until the user closed the report.
I also tried to use acDialog for the WindowMode in vba, and that worked the report stopped, but I had no way to print it.
Can anyone shove me in the right direction in order to make VBA wait until the user looks at the report?
I await an answer.....!!