Hi,
You can only maximized the report, however, if the Form is set to PopUp
= True and is Maximized, your report will always go behind the form.
Try the Report’s OnOpen event to hide the popup form. Like…
Forms!YourFormName.Visible = False
Than, in the report’s OnClose event,
Forms!YourFormName.Visible = True.
PC User wrote:
>I have a question about using the API hide access window module. This
>works ok for my forms, but the report preview window always gets
>hidden or shows up behind the form. How can I use this module and have
>the preview reports in front of the form? I use the code from the
>website "The Access Web " to show only the active form, but is
>cumbersome to figure out how to effectively do a report preview and
>return to the previous form.
>
>Thanks,
>PC
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200703/1