报表中遇到不满一页如何用空行代替
请参考下载区例程: 报表记录不满一页用空行代替
This article was previously published under Q139046 This article describes how to add blank lines between the printed lines on a report. You can use this method to add a blank line after a set number of lines. For example, you could use this method to add a blank line after every five lines of data in your report. NOTE: This article explains a technique demonstrated in the sample files, RptSampl.exe (for Microsoft Access for Windows 95 version 7.0) and RptSmp97.exe (for Microsoft access 97). For information about how to obtain these sample files, please see the following articles in the Microsoft Knowledge Base: 145777 ACC95: Microsoft access Sample Reports Available in Download Center
175072 ACC97: Microsoft access 97 Sample Reports Available in Download Center To add a blank line after every five lines in a report, follow these steps:
Open the sample database Northwind.mdb. Click the Reports tab, and then click New.
In the Object box of the code module, select Report. In the Procedure box of the code module, select Open. Type the following procedure:
In the Object box, select Detail. The Procedure box will change to Format. Type the following procedure:
Close the module, and then preview the report. Note that there is a blank line in the report after every five lines of detail. REFERENCES For more information about the NextRecord or PrintSection properties, search for "NextRecord," and then "NextRecord property" using the Microsoft access 97 Help Index. Last Reviewed: 11/17/2000 Keywords: kbhowto KB139046
|
录入:changechange(CSDN) 责任编辑:cg1
(责任编辑:admin)
- ·解决Access在页面设置中设置边距无法保
- ·Access通用报表打印设置
- ·在Access中使用自动化打印报告
- ·报表奇偶分页打印
- ·access输出资料到word用于打印
- ·支票打印的日期大写问题Access2007
- ·[报表]报表跨节垂直居中例子
- ·ACCESS-VBA编程 第八章 报表
- ·用Access2007解决支票打印的日期大写问
- ·自由设置页码打印报表
- ·ACCESS和EXECL结合的简单说明
- ·每页打印一定行数后自动分页(报表分页
- ·在VB中用代码打印ACCESS报表
- ·[原创]在 Access 2000中变通实现弹出式
- ·在Access 2002中打印报表的关系图
- ·Access轻松实现多数据批量打印