Why doesn't my report window remember its size?

  • Thread starter Thread starter Nigel M
  • Start date Start date
N

Nigel M

Why doesn't my report window remember its size? I've:

[1] Turned of autoresize in the report properties
[2] Opened the report in Print Preview
[3] Set zoom to 100%
[4] Sized the form by dragging the borders of the window
[5] Clicked Save in the File menu (it isn't on the toolbar)

Next time I open it, the blasted thing is too small again.
 
To maximize the window: put in Report_Open
DoCmd.Maximize

To set the Zoom of the report: where you open the report
DoCmd.RunCommand acCmdZoom100

HTH,
Debbie


| Why doesn't my report window remember its size? I've:
|
| [1] Turned of autoresize in the report properties
| [2] Opened the report in Print Preview
| [3] Set zoom to 100%
| [4] Sized the form by dragging the borders of the window
| [5] Clicked Save in the File menu (it isn't on the toolbar)
|
| Next time I open it, the blasted thing is too small again.
|
|
|
| --
| Nigel M
| "Occam's razor is not always sharp"
 
To maximize the window: put in Report_Open
DoCmd.Maximize

To set the Zoom of the report: where you open the report
DoCmd.RunCommand acCmdZoom100

With respect, I don't think it's the zoom that is the problem, that part
stays at 100% - it's the size of the window that it forgets.

I *never* maximise a window, never, never never ;-)
 
In Report_Close after you call your form you can docmd.restore

I do it all the time.


| In microsoft.public.access.reports, DebbieG wrote:
|
| >To maximize the window: put in Report_Open
| >DoCmd.Maximize
| >
| >To set the Zoom of the report: where you open the report
| >DoCmd.RunCommand acCmdZoom100
|
| With respect, I don't think it's the zoom that is the problem, that part
| stays at 100% - it's the size of the window that it forgets.
|
| I *never* maximise a window, never, never never ;-)
|
|
| --
| Nigel M
| "Occam's razor is not always sharp"
 
Nigel M said:
Sorry, I don't understand.

IME Report windows change size unless you open them maximized which is what I
always do. The DoCmd.Restore in the Close event allows the maximize to be
undone when the report is closed.
 
Back
Top