Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Givng focus to report in preview mode

Status
Not open for further replies.

moonbase

Programmer
Nov 18, 2002
57
GB
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.
 
Your first form might be modal=yes, popup=yes or opened as "acModal"


________________________________________________________
Zameer Abdulla
Help to find Missing people
Sharp acids corrode their own containers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top