The Research and Realization of Delphi Dynamic Report by Utilizing OLE Automation and VBA

Author
LiZuoBin
Advisor
YangChunJin
School
Wuhan University of Technology
Major
Signal and Information Processing
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2006
Downloads
345
Citations
10

Request the full text

Abstract

This study is the lack of traditional reporting tools for the needs of the research topics and (for programmers statements), given a WYSIWYG Delphi to achieve user-oriented text report printing technology. User-oriented report refers to the user during the use phase adjust, modify, add, and delete statements according to their own requirements statements. This report greatly strengthened statements to achieve the flexibility and interactivity with the user's to better meet the real-time requirements to achieve code reuse, improve the maintainability of the system. The actual use yellow (Stone) yellow (plum) highway mechanical and electrical equipment management system to verify its correctness, reliability, and flexibility. By studying the internal data structure of the Microsoft Excel file and storage mechanism, and thus access to the internal details of the Excel file, Excel file access components developed on this basis. OLE is Microsoft Corporation proposed to solve the communication problem between the Windows application protocol specification, VBA common control language for the next-generation Windows applications, Microsoft developed specifically for Office software, which provides the design of object-oriented programming and the introduction of a mechanism for event-driven organizational procedures. By trial and error, to explore the use of Delphi OLE support, to solve the communication between Delphi, Excel and SQL Server, Delphi powerful data retrieval, processing functions and Excel excellent production of complex reporting capabilities between different applications organic combination, in order to achieve the production of complex reports and report query function possible. Dynamic report specific functions to achieve the development is actually through the use of OLE Automation technology enables the user can be programmed to control another application in an application (Excel) object, reached freely by the user on the generated statements in accordance with their own needs The combination of flexible, split, and the like purpose. Design ideas: to get a new set of records in the query, then the recorder centralized records one by one written by VBA in Excel object into Excel workbook, and display, save operation can also print directly through Excel. Excel in Delphi control method is to first link Excel table to operate for an Excel table; followed by Control Workbook, Sheet, including the establishment of a new Workbook, Sheet, open, save, close the workbook, Sheet work. In this paper, the development of statements in the yellow project case studies, detailed code for the rule statements and the realization of irregular statements.

Table of contents

Chapter 1 Introduction 8-12 1.1 research purpose and significance 8-9 1.2 research status 9-11 1.2. a research status and development 9-10 1.2.2 Problems 10-11 1.3 The main contents 11-12 <br / > Chapter 2 Management Information System and Dynamic Reports 12-21 2.1 Report 12-14 2.1.1 Report Definition 12 2.1. 2 reports the classification 12-14 2.2 reports data 14-15 2.3 report format 15-17 2.3.1 Report Layout 15-17 2.3.2 report data format 17 2.4 report output 17 2.5 typical reporting tools 17-19 2.5.1 MicroSoft's Excel 18-19 2.5.2 Delphi's RAVE 19 2.6 Other reporting requirements 19-21 2.6 .1 Report Manager 19 2.6.2 Statements security 19-20 2.6.3 Scalability 20 2.6.4 Platform Support 20 2.6.5 Secondary development support 20 2.6.6 Extensibility 20-21 Chapter 3, OLE and VBA technology 21-35 3.1 VBA technology 21-23 3.1.1 VBA Technical Overview 21 3.1.2 VBA and VB relationship 21 -22 3.1.3 VBA object's properties and methods 22 3.1.4 VBA object hierarchy 22-23 3.1.5 VBA programming environment 23 3.2 OLE technology 23-34 3.2.1 commonly used OLE terminology 24-26 3.2.2 OLE basic technical 26-27 3.2.3 and complex structured storage files 27-30 3.2.4 compound document objects and interfaces 30-31 3.2. 5 OLE document 31-33 3.2.6 controls, and control structure of the container 33-34 3.3 OLE and VBA combination 34-35 <br / > Chapter 4 development tools introduced 35-39 4.1 DELPHI introduction 35 4.2 SQL Server Introduction 35-39 4.2. 1 SQL Server 2000 Introduction 36 4.2.2 SQL Server 2000's new features 36-39 Chapter 5 Design and Implementation 39-64 <br / > 5.1 Excel file structure analysis 39-51 5.1.1 Excel workbooks and worksheets 39 5.1.2 Excel file internal structure analysis 39-43 5.1.3 Component Interface 43-51 5.2 create reports 51-64 5.2.1 Preparation 51-53 5.2.2 Report Template 53-55 5.2.3 build reports in Excel 55-64 Chapter 6 Conclusion and Outlook 64-66 <br / > References 66-69 Thanks 69-70 papers published during the master's degree and participate in research projects 70

Related dissertations

  1. Research on Substation Automation System Software of 35kV
    LiuChunXin ·Xi'an University of Technology ·2002 ·Master's thesis
  2. Modern debris flow surface deposit thermoluminescence signal research
    SongBo ·Capital Normal University ·2013 ·Master's thesis
  3. The Design and Implementation of an Automated Typesetting System for Undergraduate Thesis
  4. Recearch on Management Information System of Quality Analysis in Sugar-Refinery Process
    LiuJingNeng ·Guangxi University ·2007 ·Master's thesis
  5. Building the Statistic and Analyses System of Vegetation Community Basing on Excel
    LongWei ·Southwestern University ·2007 ·Master's thesis
  6. Pavement Management Computer Application Technology Research
    GaoYing ·Chang'an University ·2006 ·Master's thesis
  7. Logistics management system model analysis and research and development of thermal power plant
    MaJie ·Southeast University ·2004 ·Master's thesis
  8. Research and Development on Ship Assets Assessment System
    LiangHe ·Wuhan University of Technology ·2005 ·Master's thesis
  9. Optical Cable Resource Management System Design and Realization
    CaiLin ·Shandong University ·2008 ·Master's thesis
  10. Study on Evaluating System of Vehicle Technical Management Quality for Road Transportation Enterprise
    XiaoZuo ·Chang'an University ·2007 ·Master's thesis
  11. The Research of Comprehensive Evaluation Index System about Social Health Insurance
    SunJie ·Anhui University of Finance ·2014 ·Master's thesis
  12. Study on Valuation System of the Transfer of Management Rights to Contracted Rural Lands Based on Delphi
    LiuQi ·Sichuan Agricultural University ·2012 ·Master's thesis
  13. Design and Implementation of Intelligent Wiring Hardness Detection System
  14. The Design and Implementation on Data Collection and Control System of the Hydraulic Universal Material Testing Machine
    LiuXiRong ·Shandong University ·2013 ·Master's thesis
  15. Design and Development for the Foreign Trade Enterprises Computerized Accounting Software
  16. Practice Teaching Scoring System for Engineering Cost Specialty and Its Application
    LiuSai ·Hunan University ·2013 ·Master's thesis
  17. Design and Implementation of Decision Support System for Hospitals
  18. Design and Implementation of "Basic Computer Application" Examination System
    SunZuo ·Sun Yat-sen University ·2013 ·Master's thesis
  19. Design and Implementation of Based on C/S Structure of the Innovate College Intelligent Examination System
    FuJun ·Dalian University of Technology ·2013 ·Master's thesis
  20. Design and Implementation of the Supporting MIS for the Poverty-stricken Employees of Bazhong Branch of China Mobile Communication Corp