VB程序设计——数据表通用打印程序 |
| |
作者单位: | 北京东城职工大学计算机系 北京100020 |
| |
摘 要: | 本文介绍在Visual Basic程序中,利用Visual Basic操作Microsoft Excel,通过一个可携带记录集参数的过程,实现对结构不同、标题不同的各类数据表的打印;克服了Visual Basic报表设计功能的局限性,解决了在程序运行中,动态生成的各种结构不同的记录集对应的数据表的打印输出问题;统一并简化了Visual Basic应用程序对各类不同结构数据表的设计及打印的实现方法。
|
关 键 词: | Visual Basic Excel 数据表 打印 |
The VB Program Design:Universal Procedure to Print Report |
| |
Authors: | ZHENG Xiao-hong |
| |
Abstract: | This article will introduce,using the Visual Basic operation Microsost Excel in a application writen Visual Basic,how to print the dissimilar structure and diferen title reports with a procedure that takes a recordset parameter and a string type parameter. The procedure overcame the limit of function of the Visual Basic report design; solved the problem to print the different structure recordsets which were produce in a routine; unified and simplified the methos to design and print reports to each kind of different structure in a application writen Visual Basic. |
| |
Keywords: | Visual Basic Excel Print Report |
本文献已被 CNKI 等数据库收录! |
|