
1
毕业设计 ( 论 文 )
中 文 题 目 :
合同管理系统的设计与实现
英 文 题 目 :
学 院:
专 业:
计算机科学与技术
学 生 姓 名 :
学 号:
指 导 教 师 :
年 月 日

2
摘 要
在 21 世纪,随着计算机科学的发展,数据库技术在人们日常工作
中的应用越来越广泛,为广大用户提供了更加周到和人性化的服务。数
据库技术已逐渐成为当今计算机应用的潮流。本文主要是通过制作一款
数据库软件—即“合同管理系统”来介绍数据库技术在人们日常生活和
工作中的应用。
本论文所做的主要工作如下:
(1)介绍了 Visualbasic6.0 软件开发工具和利用 Delphi7.0 和 Ado
技术操作数据库的一般原理。
(2)阐述整个“合同管理系统”的系统结构及工作原理;分析了系
统实现中的特殊性、难点。
(3)设计实现对数据库的操作功能、数据库查询功能、数据库打印
功能。
(4)分析并解决实现中的若干技术问题。
(5)建立完整的“合同管理系统”,进行测试并分析结果。
关键字 数据库技术 Ado 合同管理系统

3
Abstract
At the 21
th
century ,With the development of computer science, Database
technology is widely used in the people’s life and work. This makes users can enjoy
more convenient and individual services. Database technology is the trend of today’s
computer applications. In this work, we study the technique to build a software named
Contract Stat System in order to introduce the applications of database technology in
the people’s life and work.
The main work of this paper are :
(1) Introduces the Visual Basic6.0 software development tool and introduces the
method how to use the software and Ado technology to operate the database.
(2) Investigates the system structure and working principle of the Contract Stat
System. Analyses the particularity and difficulty of the system.
(3) Analyses and resolves the technical problems in implementation.
(4) Establishes a test software and analyses the result after testing on it.
Key Words Database technology Ado Contract Stat System

4
目录
第 1 章 绪论 ..................................................................................................5
第 2 章 概述 ..................................................................................................6
2.1 编程软件介绍及数据库概述...............................................................................6
2.2 访问数据库的方法...............................................................................................8
第 3 章 系统分析与设计 ............................................................................12
3.1 需求分析 ............................................................................................................12
3.2.模块设计............................................................................................................13
第 4 章 合同管理系统的实现 ....................................................................14
4.1 软件流程图.........................................................................................................14
4.2 分析与创建数据库 ............................................................................................15
4.3 系统各模块的设计与实现.................................................................................18
4.3.1 用户登录管理模块的设计
.........................................................................18
4.3.2 合同基本信息录入模块设计
.....................................................................21
4.3.3 用户密码修改模块
.....................................................................................26
4.3.4 合同统计模块的设计
.................................................................................29
4.3.5 收款模块的设计
.........................................................................................36
4.3.6 合同信息查找模块的设计
.........................................................................40
第五章 系统性能测试 ..............................................................................43
总结 ..............................................................................................................44
致 谢 ............................................................................................................45
参考文献 ......................................................................................................46

5
第 1 章 绪论
本论文描述了一个使用 VB 技术来实现创建一个基于本地数据库技
术的合同管理系统的实例.该系统主要面向合同信息处理的单机服务,
整个系统共有几个部分来实现不同的功能:
用户登录管理。只有有权限的用户才能进入本系统,没有权限
的用户或非法用户不能进入本系统,从而有效地保证系统的安
全。
合同基本信息录入。能够对合同的基本信息进入录入,包括合
同的编号、合同的类别、合同名称、合同部门、所属部门、合
同开始日期、合同结束日期、合同额等。
合同信息的查找。能够对合同的具体信息进行查找。可以提供
按时间范围查找、按所属部门查找、按合同编号查找、按客户
名称查找、按合同类别查找、按模糊条件查找。
对用户密码进行修改。为了保证软件的安全,用户需要定期修
改密码。用户在登录后要能对自己的密码进行修改。
合同统计。通过它首先可以浏览所有合同的具体信息,还能添
加、删除、修改、保存合同信息。同时,作为操作本软件的主
要平台,通过它能够访问其它的单元。
收款。可以对合同的收款的情况信息进行管理,包括对收款信
息的录入、删除、修改、保存等。
整个系统简单划分为以上 6 个部分