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
 
This is checked.

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top