Setting Focus to a Report

R

RFrechette

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
 
R

RFrechette

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top