Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DoCmd.Maximize in report causes problem with taskbar?

Status
Not open for further replies.

CompuSolve

Programmer
Jun 16, 2006
15
US
Hi -

Typically in all my reports I put:

Code:
Private Sub Report_Activate()
   DoCmd.Maximize
End Sub

This is so that the report opens maximized. However, when I do this, I don't get a taskbar entry for the report. I can see it in the "Window" menu in Access, but can't get to it by using Alt-Tab or selecting a program from the Taskbar.

If I don't use the maximize code, I do get a Taskbar entry.

Question: How can I open a report maximized and still get an entry in the taskbar?

TIA,

Eric
 
Tools > Options > View > Windows in Taskbar=yes

________________________________________________________
Zameer Abdulla
Help to find Missing people
Sharp acids corrode their own containers.
 
ZmrAbdulla:

I have Windoes In Taskbar set to yes. When the report is opened without the DoCmd.Maximize, it appears in the taskbar. When DoCmd.Maximize is used it does not. I am attemtping to maximize reports when they are opened and still have them appear in the taskbar.

Any ideas?
 
The report might be set to
Modal=Yes
PopUp=Yes

________________________________________________________
Zameer Abdulla
Help to find Missing people
Sharp acids corrode their own containers.
 
Nope.

In my troubleshooting I created an AutoReport: Columnar based on a table with 1 record. The report appeared in the taskbar when run. The only change I make is to add DoCmd.Maximize to the open event. The report then does not appear in the taskbar when run.

Are you seeing different behavior when doing the same thing?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top