简体   繁体   English

MS Access:为什么它不在每个报告页面上显示一条记录?

[英]MS Access: Why is it not showing one record per report page?

I have a report with a header, body, and (blank) footer. 我有一个带有页眉,正文和(空白)页脚的报告。 I just want it to show the data corresponding to one record per page. 我只希望它显示每页一个记录所对应的数据。

For example my record source has three rows, for example with Name and Comments. 例如,我的记录源有三行,例如“名称”和“注释”。

I have the Name in the header, Comments in the body. 我在标题中有名称,在正文中有注释。 For some reason it's trying to put the first two rows' Comments under the first Name header, and then the second page has the third Name with the third Comments. 由于某种原因,它试图将前两行的注释放在第一个Name标头下,然后第二页具有第三个Name和第三个Comment。

I just want it to have 我只想要它有

Page 1: Header 1 (first row's Name), Body 1 (first row's Comment) 页面1:标题1(第一行的名称),正文1(第一行的注释)

Page 2: Header 2 (second row's Name), Body 2 (second row's Comment) 页面2:标题2(第二行的名称),正文2(第二行的注释)

Page 3: Header 3 (third row's Name), Body 3 (third row's Comment) 第3页:标题3(第三行的名称),正文3(第三行的注释)

and so on. 等等。

Why isn't it automatically constraining one row's data per report page? 为什么它不自动限制每个报告页面的一行数据?

It looks like what you actually want is to not use the Header or Footer, but instead put the Name and Comment together on the detail--you can expand this section to fit your report fields and format them as you want. 看起来您实际上想要的是不使用“页眉”或“页脚”,而是将“名称”和“注释”放到详细信息上,您可以扩展此部分以适合您的报告字段并根据需要设置其格式。 Then in the properties of the detail section on the Format tab set the Force New Page property to After Section 然后在“格式”选项卡上的“详细信息”部分的属性中,将“ Force New Page属性设置为“ After Section

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM