访问报告中的固定行数 [英] Fixed number of rows In Access Report
问题描述
我正在尝试使用Access 2007报表,每页具有固定的行数(记录).例如,我想将记录(行)的总数固定为每页10条,而基础查询在某些条件下可能有5条记录,在某些情况下可能有15条记录.如果有任何想法,请与我分享.
I am having tried a access 2007 report with fixed numbers of rows (records) per page. For example, I like to fix total number of records (rows) to 10 per page while underlying query might have 5 records in some criteria or 15 records in some case. If any idea, please share me.
TIA ProNek
TIA ProNek
推荐答案
您可以在报表的正文(或节)格式事件中计数并插入分页符. 该事件在每条记录上触发.您可以在该部分的末尾放置一个分页符,并在需要下一页打印时将其显示出来.
You can count and insert page break on the report's body (or section) format event. This event fires on every record. You can place a pagebreak at the end of the section and make it visible when you need to print on next page.
这篇关于访问报告中的固定行数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!