I have a form with a button to print a report. This calls a second form to enter criteria and display the report in preview mode. The second form then closes. I am left with my report preview behind the first form. I have to click on the report to bring it into focus for viewing/printing.
How do I give the report focus in code? It seems as though the setfocus method isn't applicable to the report object.
Thanks in anticipation.
How do I give the report focus in code? It seems as though the setfocus method isn't applicable to the report object.
Thanks in anticipation.