2007 Reports

A

Arturo

When I open a report in 2007 I would it to open maximized. Currently, it
opens in the corner with the banner and navigation pane present. How do I get
a full screen on open and still allow me to show my toolbars.

thank you.
 
G

Gina Whipp

Arturo,

You didn't mention how you were opening the report, so I assumed it is a
button. You can use this command...

DoCmd.Maximize

....with the button that you are using to open the report.

--
Gina Whipp
2010 Microsoft MVP (Access)

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

When I open a report in 2007 I would it to open maximized. Currently, it
opens in the corner with the banner and navigation pane present. How do I
get
a full screen on open and still allow me to show my toolbars.

thank you.
 
P

Paul Shapiro

Arturo said:
When I open a report in 2007 I would it to open maximized. Currently, it
opens in the corner with the banner and navigation pane present. How do I
get
a full screen on open and still allow me to show my toolbars.

I use VBA code in the event handlers for Report_Activate and deactivate:
Private Sub Report_Activate()
On Error Resume Next
DoCmd.Maximize 'Maximize the preview window
End Sub

Private Sub Report_Deactivate()
On Error Resume Next
DoCmd.Restore 'Restore normal window size
End Sub

This maximizes the report when it's the active window, and returns to normal
size when the report is not the active window.
 
D

De Jager

Arturo said:
When I open a report in 2007 I would it to open maximized. Currently, it
opens in the corner with the banner and navigation pane present. How do I
get
a full screen on open and still allow me to show my toolbars.

thank you.
 
G

Georges LAUFER

Arturo said:
When I open a report in 2007 I would it to open maximized. Currently, it
opens in the corner with the banner and navigation pane present. How do I
get
a full screen on open and still allow me to show my toolbars.

thank you.
 
J

Jörn Bosse

Hello,

you can use the following procedure:

Private Sub Report_Open(Cancel As Integer)
DoCmd.Maximize
End Sub
 

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