Printing a report within a tab (1 Viewer)

darren_access

Registered User.
Local time
Today, 06:35
Joined
Jan 8, 2018
Messages
57
I am wondering how to print a report that is rendering inside of a tab within a form. I have tried a print-preview macro tied to a button, which works on the standalone report, but throws a "You can't switch views error" when clicked while rendering the report inside of a tab.

Any advice is welcome!

Thanks!
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 09:35
Joined
Feb 19, 2002
Messages
43,257
Although you can render a report within a form, in 20+ years, I've never found a reason to do it. Just because you can do something, doesn't mean you should or that all other features will continue to work which is apparently what is happening here. I don't make my users view a report before they print it. I give them the option on the form to preview or print directly or output to .pdf, and sometimes to output to Excel. If they choose to preview first, they would use the ribbon to print.

There may be a trick to get around this issue but if no one recommends one, stop embedding the report in the form.
 

Users who are viewing this thread

Top Bottom