Why doesn't my report window remember its size?

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.
 
D

DebbieG

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"
 
N

Nigel M

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 ;-)
 
D

DebbieG

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"
 
R

Rick Brandt

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.
 

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