首页 | 本学科首页   官方微博 | 高级检索  
     

应用OLE技术实现交互式Word报表
引用本文:王红军. 应用OLE技术实现交互式Word报表[J]. 兰州工业高等专科学校学报, 2013, 0(2): 27-30
作者姓名:王红军
作者单位:辽宁卫生职业技术学院,辽宁沈阳110101
摘    要:为提高应用OLE技术在C++Builder下Word自动报表的编程效率,应用C++Builder的OLE技术实现了word文档的自动报表功能.提出了应用VBA宏录制功能将word操作源代码作为编程参考依据的交互式报表编程法.依据VBA操作宏代码,调用MicrosoftWord9.0ObjectLi.brary库函数设计出报表程序.此方法提高了word数据报表的编程效率,丰富了报表的编程方法,弥补了传统报表输出格式无法改变的不足.

关 键 词:C++Builder  OLE  Word  VBA  交互式    报表

Interactive Word Reports by Applying OLE Technology
WANG Hong-jun. Interactive Word Reports by Applying OLE Technology[J]. Journal of Lanzhou Higher Polytechnical College, 2013, 0(2): 27-30
Authors:WANG Hong-jun
Affiliation:WANG Hong-jun (Liaoning College of Health Vocational Technology, Shenyang 110101, China)
Abstract:In order to improve the programming efficiency of the application of Word document automatic reports with OLE technology of C + + Builder and realize the Word document automatic report features, a kind of inter- active programming method that applies Word operation source code as programming reference with VBA macro recording function is put forward. On the basis of VP, a macro recording function, the report programme is worked out by using Microsoft Word 9.0 Object library. This method increases the word data report programming efficiency, enriches the programming methods and makes up the insufficiency that the traditional report output format cant change.
Keywords:C + + Builder  OLE  Word  VBA  interactive  macro  report
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号