Setting Focus to a Report

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a button on a form that calls up a form Dialog box with 2 radio
buttons on it. When you select a specific button, it opens a report in
Preview. Then the Dialog box is closed. This is working fine, except the
report is always hidden behind my remaining form. I need to show the report,
then when the user is finished reviewing it and closes it, the original form
will still be there. This is to eliminate them having to manually switch to
the report window from the form window.

Hope I was clear enough. Is there an easy way to do this? I tried the
setfocus and can't get that to work.

Any suggestions?

I'd appreciate any input.

Thanks,

Rachel
 
Also, if I don't close the Dialog box after I open the report in preveiw, the
report does have the main focus and my main form is behind it. My Dialog box
is still open and when I hit CLOSE button on it, the main form is now the
focus and my report is behind it again.

Thanks.
 
Back
Top