austin3515
Board Regular
- Joined
- Dec 19, 2010
- Messages
- 80
Button on form opens report in print preview. I've tried everything, including docmd.selectobject "report." But most of the time, the form that includes button will print when I click the printer icon located on the ribbon- NOT the report.
I even tried hiding the form when the report is open. I tried acdialogue setting when report is open (that didn;t work because there was no pritner icon available on the "pop-up window." I tried setting the report to Modal. I tried creating a brand new report with some simple data to see if it was my report, but the same behavior appeared. And lastly I imported all objects into a new database to see if that would help. It did not.
What the heck is going on? I've done no less than hundreds of reports and never had this issue, ever. I had read somewhere that an "on timer" event will constantly cause the report to lose focus, but I do not have one of those.
I even tried hiding the form when the report is open. I tried acdialogue setting when report is open (that didn;t work because there was no pritner icon available on the "pop-up window." I tried setting the report to Modal. I tried creating a brand new report with some simple data to see if it was my report, but the same behavior appeared. And lastly I imported all objects into a new database to see if that would help. It did not.
What the heck is going on? I've done no less than hundreds of reports and never had this issue, ever. I had read somewhere that an "on timer" event will constantly cause the report to lose focus, but I do not have one of those.