Microsoft Access 报告在末尾显示空行

Microsoft Access report shows empty row at the end

我有一份访问报告。问题是它总是在末尾显示一个空行。在查询中没有空值,但报告始终显示一个空行。有什么想法吗?

https://drive.google.com/file/d/0B5XFoGik1WSWUmRkRktla2VIYnM/view?usp=sharing

https://drive.google.com/file/d/0B5XFoGik1WSWcFF3SnZpekVwTlU/view?usp=sharing

在表格中,我会将 "Allow additions" 设置为 false。但是我不知道我会在报告上做什么。

一个报表有一个 OnNoData 事件,您可以使用它来取消打开报表。它通常用于弹出消息,例如 "The report, with the specified parameters, would return no data." 代码将弹出消息,然后 运行 a DoCmd.Cancel,或 Me.Close acReport,Me.Name。

您还可以将报告基于将 AllowUpdates 设置为 false 的查询(在 QBE 中,设置属性)。另一个想法是在预览模式下呈现报告。