2010弹出报表始终与

2010弹出报表始终与

本文介绍了Access 2010弹出报表始终与“报表设计"窗口的大小匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我总是对Access弹出表单和报表如何随意调整大小感到困惑.今天,我发现正在处理的报表实际上是在调整自身大小,以匹配报表设计视图的可见设计区域.详细信息字段采用表格格式.详细信息部分为0.2英寸,报告宽度为3.5英寸,并且页眉和页脚较小.弹出窗口=是;模态=否;自动调整大小=否

I have always been mystified by how Access popup forms and reports seem to size themselves arbitrarily. Today, I discovered that the report I'm working on is actually sizing itself to match the visible design area of the report's design view. Detail fields are in tabular layout. Detail section is 0.2", report width is 3.5", and there is a small header and footer. Popup = Yes; Modal = No; Auto Resize = No.

当我拖动属性框的左边框以增加属性框的大小,然后在报表视图中打开时,这实际上会使报表变窄!我知道我可以在报告视图中打开,调整边框大小并保存.但是,只要我再次在设计视图中打开,报表大小就会重置为可见设计区域的大小.

When I drag the left border of the property box to increase the size of the property box, and then open in report view, this actually makes the report narrower! I know I can open in report view, resize the borders, and save. But whenever I open in design view again, the report size resets to the size of the visible design area.

我不是在寻找解决方法(我已经知道我可以通过编程方式调整大小).我想知道是否有针对上述行为的修复程序.最初是否应该将宽度设置为 Width 属性?以及所有行的高度加上页眉/页脚的高度?请告诉我以上行为并非设计使然.

I am not looking for a workaround (I already know I can resize programmatically). I want to know if there is a fix to the above behavior. Shouldn't it initially set the width to the Width property? And the height to the height of all rows plus header/footer height? Please tell me the above behavior is not by design.

推荐答案

是的,这是设计使然,为什么不呢?

Yes, that's by design, and why wouldn't it?

使用Auto Resize = No,弹出窗口的大小将是您在设计视图中保存的窗口大小.还有什么呢?

With Auto Resize = No, the size of the popup window will be the window size you saved in design view. What else could it be?

如果您希望弹出窗口的大小适应表格/报告宽度,请设置Auto Resize = Yes.这是处理弹出窗口的常用方法.

If you want the popup window size to adapt to the form/report width, set Auto Resize = Yes. That's the usual way to handle popups.

弹出式连续表单/报表的高度仍然取决于您在设计视图中保存的高度.

The height of popup continuous forms/reports will still be determined by the height you save in design view.

考虑一下,您可能在当前数据库的访问选项"中设置了选项卡式文档窗口".使用此选项,您实际上对设计视图中的窗口大小没有太大的控制权.
如果必须使用Auto Resize = No弹出窗口,则可能应切换到重叠窗口". (我不知道确切的选项名称,因为我有德语访问权限.)

Thinking about it, you probably have "tabbed document windows" set in the Access Options for the current database. With this option, you don't really have much control over the window size in design view.
If you must have popups with Auto Resize = No, you probably should switch to "overlapping windows". (I don't know the exact option names since I have a German Access).

这篇关于Access 2010弹出报表始终与“报表设计"窗口的大小匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-22 07:55