Report Position.

  • Thread starter Thread starter Elaine
  • Start date Start date
E

Elaine

I am trying to position a report on the screen so that the entire report can
be seen without using scroll bars. The reports are small and easily fit
onto one screen. However, when I pull up the report it is off center and I
have to use the scoll bars to position it. I will be using this on the
screen only, and have no interest in printing it.

Can someone tell me how to make a report "full screen" without having to
reposition it? Thanks for your help.

Elaine Johnson
 
Hi Elaine,
Try a couple of different things:
1. Saw this a while back, but it's not available to me in
my copy of Access 97, so I can't vouch for it:
type "DoCmd.Maximize" (no quotes) in the OnOpen property
of the report.
2. I use a one-line macro - Command is "Maximize" (no
quotes). Then I pick this macro from the drop list of the
OnOpen property of the report.

Hope this helps you.
 
Elaine said:
I am trying to position a report on the screen so that the entire report can
be seen without using scroll bars. The reports are small and easily fit
onto one screen. However, when I pull up the report it is off center and I
have to use the scoll bars to position it. I will be using this on the
screen only, and have no interest in printing it.

Can someone tell me how to make a report "full screen" without having to
reposition it?


In the procedure that opens the report, add these lines
immediately after the DoCmd.OpenReport

DoCmd.Maximize
DoCmd.RunCommand acCmdSizeToFit
 
Back
Top