根据 MS-Access 2003 中的内容更改报表的宽度
我们在 MS Access 2003 中有一份报告,该报告根据用户的选择而发生变化。它显示从 1 到 7 7 天的统计数据。现在,当我们有整整 7 天的时间时,我们需要一份完整的横向格式的法律文件。但是,当我们显示 5 天或更少天时,我们不需要那么多空间,因此我们想切换到字母格式。这工作正常,这意味着纸张格式确实发生了变化,但报告的尺寸似乎停留在合法纸张尺寸,因此它总是打印空白页,这真的很烦人。我们尝试更改报告宽度(在表单中使用 me.Width 和事件 Report!Width),但似乎没有太大区别。
任何人都可以帮我解决这个问题吗?
谢谢
We have a report in MS Access 2003 that changed depending of the user selection. It shows stats for days from 1 to 7 seven days. Now, when we have the whole 7 days, we need a full length legal paper, landscape format. However, when we display 5 or less days, we don't need that much space, so we would like to switch to letter format. That works OK, meaning the paper format do change, but the size of the report seems to be stuck at the legal paper size so it always prints a blank page after, which is really annoying. We tried changing the report width (using me.Width and event Report!Width in a form), but it doesn't seem to make much of a difference.
Anyone can help me on that one ?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不确定您何时更改宽度,但我认为您需要在设计模式下打开报告,编辑宽度,然后输出它。如果您在运行报告之前知道所需的宽度,您可以尝试如下操作:
I am not sure when you are changing the width but i think you need to open the report in design mode, edit the width and then output it. If you know the width you require before you run the report you could try something like this: