PC Review


Reply
Thread Tools Rate Thread

API hide access window

 
 
PC User
Guest
Posts: n/a
 
      24th Mar 2007
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

 
Reply With Quote
 
 
 
 
storrboy
Guest
Posts: n/a
 
      24th Mar 2007
I haven't tried this so I'm guessing.
Have you tried setting the report's Pop-Up property to True?
Near as I can tell in order for the main window to be hidden there
must be a pop-up form visible. This means that the form is supposed to
stay on top of other forms (windows). If the report were a pop-up as
well, it should open in front of the last window (form or other db
object).

 
Reply With Quote
 
PC User
Guest
Posts: n/a
 
      26th Mar 2007
I have Access 2000 which doesn't have PopUp properties for reports.
Is there another solution or can I create a PopUp property for all
reports?

Thanks,
PC

 
Reply With Quote
 
storrboy
Guest
Posts: n/a
 
      26th Mar 2007
On Mar 25, 6:03 pm, "PC User" <pc_u...@SoftHome.net> wrote:
> I have Access 2000 which doesn't have PopUp properties for reports.
> Is there another solution or can I create a PopUp property for all
> reports?
>
> Thanks,
> PC



You can't make an intrinsic property like that.
Have you tried minimizing the active form first?

Screen.ActiveForm.SetFocus
DoCmd.Minimize
DoCmd.OpenReport....

 
Reply With Quote
 
AccessVandal via AccessMonster.com
Guest
Posts: n/a
 
      26th Mar 2007
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

 
Reply With Quote
 
PC User
Guest
Posts: n/a
 
      27th Mar 2007
Thanks for your reply. I tried your suggestion, but I haven't gotten
it to work properly. Have you tested this method?

Thanks,
PC

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hide Access Window, Database Window, etc Showing only User Forms????? Bob Microsoft Access VBA Modules 3 6th Dec 2009 03:35 AM
Hide Access Window Jasper Recto Microsoft Access 5 6th Nov 2008 04:16 PM
Hide Access Window =?Utf-8?B?U3R1Sm9s?= Microsoft Access 0 9th Oct 2006 08:12 PM
Automated Access launch causing Access window to fail to hide =?Utf-8?B?SDJPQk9XTA==?= Microsoft Access VBA Modules 7 12th Jul 2006 02:17 PM
Hide Access Window zbook Microsoft Access Forms 1 17th Sep 2004 02:11 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:53 PM.