A
Andrew
Hi All,
I have a control button on a report that should open up Print Preview for
the report so the user can select print parameters (for local or network
printing selection etc...) but when the Print Preview window opens up, it
doesn't have any focus.
You can not select anything, the screen is frozen.
Private Sub Command79_Click()
DoCmd.OpenReport "My Report", acViewPreview
End Sub
Of course, if you refresh it manually (F5) or minimize/maximize, no problem,
you have focus again.
What is wrong here? How do I add focus to the Print Preview window after it
opens up?
Andrew
I have a control button on a report that should open up Print Preview for
the report so the user can select print parameters (for local or network
printing selection etc...) but when the Print Preview window opens up, it
doesn't have any focus.
You can not select anything, the screen is frozen.
Private Sub Command79_Click()
DoCmd.OpenReport "My Report", acViewPreview
End Sub
Of course, if you refresh it manually (F5) or minimize/maximize, no problem,
you have focus again.
What is wrong here? How do I add focus to the Print Preview window after it
opens up?
Andrew