Textbook Management System

Contents
Chapter 1 Introduction 3
1.1 Background 3
1.1.1 Textbook Management System 3
1.1.2 Information Management System 3
1.2 Purpose and Principles of Developing Textbook Management System 5
1.3 Development Environment Introduction 6 1.3.1
Development Platform 6
1.3.2 Database Query Language ——SQL 8
1.3.3 Database Design Tool——ACCESS Database Management System 9
Chapter 2 System Design 11
2.1 System Analysis 11
2.2 System Process and Operation Mode Design 13
Chapter 3 System Interface Design 14
3.1 System Interface Design 14
3.2 System Design Interface and form 16
3.2.1 The following is the main form of the system 16
3.2.2 Interface multi-document (MDI) frmDMI design and code 17
Chapter 4 Database design 32
4.1 Database design 32
4.1.1 Database concept and development 32
4.1.2 Database model and referential integrity 33
4.1.3 Establishment and connection of database 34
4.2 Database query design 36
4.2.1 Introduction to query function 36
4.2.2 Relevant technologies for realization of query function 36
4.2.3 Specific realization of query function 38
4.3 System Test and Evaluation 40
Summary 41
Acknowledgments 42
Reference 43

Chapter 1 Introduction
1.1 Background
1.1.1 Textbook Management System
School textbook management is mainly composed of a series of tasks such as textbook planning, procurement, warehousing, distribution, accounting, and settlement. Responsible for this work, usually teaching materials. Due to the large number of majors in the school, there are many types of courses offered in each major. Its business involves not only the publishing department, but also the teaching teachers of all departments and departments of the whole school, and the students of each class. Each textbook subject involves management. The types of textbooks in the library range from hundreds to thousands, and the number of textbooks involved ranges from several thousand to tens of thousands. It involves a large number of personnel and a heavy workload. Moreover, especially in recent years, with the continuous expansion of the scale of higher education in my country, schools The rapid increase in the number of students has made the teaching material management work even more arduous. According to the survey, so far, the teaching materials management of many schools and even some key colleges and universities in our country is still managed manually. Therefore, school teaching material managers urgently need a convenient and efficient computerized management information system to replace their cumbersome and inefficient traditional manual management methods, and finally realize the full automation of teaching material management.

1.1.2 Information Management System
(1), Introduction to Information Management System

The teaching material management system belongs to a specific type of information management in the information management system, and the so-called management information system is what we often call MIS (Management Information System). , storage, processing, maintenance and use of the system. The management information system can actually measure the various operating conditions of the enterprise and use the past data to observe the future; assist the enterprise to make decisions from the perspective of the overall situation of the enterprise; use information to control the behavior of the enterprise; help the enterprise realize its planning Goals." In today's era that emphasizes management and information, MIS is becoming more and more popular. As a new discipline, MIS spans many fields, such as: management science, system science, operations research, statistics and computer science. On the basis of these emerging disciplines, a method of information collection and processing has been developed, and finally a criss-cross system is formed. This system is a stand-alone version with relatively small requirements for hardware and can run on any graphical Windows operating system. Another point that needs to be explained is that due to technical reasons, there is no more advanced management model development method in China at present, so this system adopts the widely used MIS system.

(2) Overview and development direction of information management system

The first stage: the statistical system, which studies the superficial regularities among the quantitative data, which can divide the data into more relevant and less relevant groups, and then convert the data into information.
The second stage: data update system.
The third stage: status reporting system, which can be divided into production status reporting, service status reporting and research status reporting
systems.
The fourth stage: the decision support stage, it is an information system used to assist decision-making, the system can plan, analyze the program, review the solution and the error of the solution. It has a better way of man-machine dialogue, and can communicate with managers who are not very familiar with computers. It generally includes some models to generate decision information, but does not emphasize comprehensive management functions.
(3) Development direction of management information system
From the perspective of international technology development, several new management technologies emerged in the 1990s:
BPR—business process reengineering; IDDS—intelligent decision support system; Lean Production—excellent production; Agile Manufacture—agile manufacturing.
Corresponding MIS development technology also had a new development in the 1990s: information integration and Internet/Intranet.
1.2 The purpose and principle of developing the teaching material management system The
purpose of developing the teaching material management system is to make full use of computers and modern office software, get rid of traditional office tools, use computers to realize centralized and convenient management work, and save the staff of the school textbook department from heavy physical labor. In order to achieve the improvement of work efficiency and quality, and finally realize the comprehensive automation and modernization of teaching material management. To achieve this goal, the following principles should be followed in the development process:
1. Proceed from reality, sum up the principle of combining reference and absorption,
refer to and retain other routine application parts such as subscription, procurement, distribution, and settlement of other software, and change In the original library connection mode, all library connections form a whole, which enhances the intelligence and automation. With an independent design concept, it is convenient, fast, simple and practical.
2. The reality of preparation and implementation
. This teaching material management system is the primary version developed by us under the Windows operating platform. It not only considers the connection with the old method, but also pays attention to the new situation and new characteristics. In the compilation process, we not only considered the connection with the real old software and manual operation, but also paid attention to the application of new methods, which increased the operability, and made it realistic, reliable and ready-to-use. After gradual maturity, the visible user interface can be upgraded at any time with the improvement and improvement of technical conditions - most of the functions of the system are required to be completed by simple mouse clicks at the menu or toolbar level. 3. The framework of teaching material management should be based
on The principles of scientific rigor, new ideas, and complete construction of new methods
must not only ensure the scientificity, integrity, and systematicness of the teaching material management system, but also pay attention to the flexibility and operability of the teaching material management system. At the same time, some difficult problems in the management of teaching materials have been better solved, such as the subscription, procurement and distribution of multi-priced books, the replacement of bibliographies before arrival, a large number of input work, and the difficulty of searching for bibliographies, etc.
4. There should be simple and available help for the system. There are
complete tool bar, status bar and system help.
1.3 Introduction to development environment
Visual Basic 6.0 is used as the development platform of the management system, ACCESS2000 is used for the development of data sources; ODBC (Open Database Connection) is used to connect to data sources, and SQL structured query language is used to realize query functions. The reason why vb is used as the development platform is mainly because of the familiarity of this language and the use of vb to provide users with a friendly interface and perfect functions in a short period of time, shortening the development cycle. The development of the data source originally wanted to use SQL Server Enterprise Manager, but considering the ease of use of ACCESS, ACCESS2000 was finally adopted.

1.3.1 Development platform
Visual Basic 60 is used as the database development platform. Visual Basic after version 3.0 has functions of database connection and data processing, so it is fully qualified as a development environment for database applications. Microsoft has added many new data access functions to Visual Basic, making the product a direct competitor to Access, FoxPro and Paradox for Windows in the desktop database market. Compared with ordinary database systems, using Visual Basic as a database development platform has the following advantages:
(1) Simplicity
Visual Basic provides data controls. With this control, users only need to write a small amount of code or even do not write any code to access Database, to browse the database.
(2), Flexibility
Visual Basic is not limited to a specific application program structure like a general database (such as Access), and does not need to use certain instructions to operate the currently opened database, so it is more flexible.
(3), scalability
Visual Basic is a language that can be expanded, including the expansion in database applications. In Visual Basic, you can use ActiveX controls (called VBX or OLE controls in previous versions), which can be provided by Microsoft Corporation or third-party developers. With these controls, it is easy to add new functions in Visual Basic and expand the command system of Visual Basic data access control. Use Visual Basic 6.0 as the front end of the database. The front end of the database is a computer application program. With this program, data items in the database can be selected and displayed according to user requirements. The database system itself is called a backend, and a backend database is usually a collection of relational tables. The reason for choosing Visual Basic as the tool for developing database front-end applications is mainly because Visual Basic can be connected to various databases. That is to say, most of the popular databases can be connected with Visual Basic, so the corresponding front-end application programs can be developed with Visual Basic. Visual Basic connects with various databases in different ways, mainly in three ways, namely Access database engine, Microsoft ODBC driver, and third-party ODBC driver.
A.The Access database engine
Access is the "internal database" of Visual Basic, that is, the Access database can be directly established in Visual Basic. At the same time, through the Access database engine, the following databases can also be used:
Btrieve(.DAT)
dBASE(.DBF/.NDX)
Foxpro(.DbF/.CDX/.NDX)
Paradox(.DB, .PX)

B.Microsoft ODBC
can use the following databases through the 'Microsoft ODBC driver:
Microsoft SQL Server
Oracle
Sybase SQL Server
Excel(.XLS)
Text(.TXT)
Access(.MDB)
Btrieve
DBASE
FoxPro
Paradox
Among the databases listed above, Except for the first three, other databases are included in a set of Microsoft ODBC desktop database driver and Microsoft Query.

1.3.2 Database query language——SQL
Visual Basic is the main development tool for database development. At the same time, in order to realize the query function and some related functions of the system, the use of SQL language is also essential. SQL language is the structural query statement, SQL The reason why the language can be accepted by users and the industry and become an international standard is that it is comprehensive, general, powerful, concise and easy to learn. SQL language integrates the functions of data query, data manipulation, data definition and data control, which fully embodies the characteristics and advantages of relational data language. Its main features include:
(1) Comprehensive and unified
The main functions are realized through the data language supported by the database.
The data languages ​​of non-relational models (hierarchical model, network model) are generally divided into schema data definition language (schema data definition language, referred to as schema DDL), external schema data definition language (subschema data definition language, referred to as external schema DDL) and Data storage de-scription language (DSDL for short) and data manipulation language (DML for short) are used to define schema, external schema, internal schema and perform data access and processing respectively. After the user database is put into operation, if you need to modify the schema, you must stop the operation of the existing database, dump the data, modify the schema and compile it, and then reinstall the database, which is very troublesome.
(2) Highly non-procedural
The data manipulation language of the non-relational data model is a process-oriented language. To complete a certain request, the access path must be specified. However, when using SQL language for data manipulation, the user only needs to ask "what to do" instead of specifying "how to do it". Therefore, the user does not need to know the access path, and the selection of the access path and the operation process of the SQL statement are all automatically completed by the system. This not only greatly reduces the burden on users, but also helps to improve data independence.
(3) Collection-oriented operation mode
The non-relational data model adopts a record-oriented operation mode, and the object of any operation is a record. For example, to query the names of all students whose average grades are above 80, the user must explain the specific process of completing the inquiry, that is, how to use a loop structure to read out the student records that meet the conditions one by one according to a certain path. The SQL language adopts the set operation mode, not only the search result can be a set of tuples, but also the object of an insert, delete, and update operation can also be a set of tuples.
(4) The language is concise and easy to learn and use
. The SQL language has strong functions, but due to its ingenious design, the language is very concise. Only 9 verbs are used to complete the core functions of data definition, data manipulation and data control: CREATE, DROP, SELECT, ENSERT , UP-DATE, DELETE, GRANT, REVOKE, ALTER. And the SQL language syntax is simple, close to spoken English, so it is easy to learn and use.
1.3.3 Database design tool——ACCESS database management system
ACCESS database is the most easily operable new generation database for personal, departmental and enterprise management data. It is compatible with traditional databases, while further enhancing web support. It is very convenient to work and share data across platforms.
ACCESS has the functions that a database management system should have. Access 2000 is an object-oriented new relational database management system with a time-driven mechanism. It can be connected with other databases through ODBC, realizing data exchange and sharing database is the basis of information management. The use of computers for information management must first establish a database. ACCESS 2000 can be used as the front-end client of an enterprise-level back-end database (such as Microsoft SQL Server). ACCESS can be used in two ways: as a stand-alone application for creating personal or departmental databases, or as an interface client to a more robust and scalable back-end database. Regardless of the back-end data source chosen, end users gain the benefits of ease of use with popular desktop database clients.

1. Features of easier information search and use
(1) Convert the database to the previous ACCESS version. ACCESS users can first save the database as the previous ACCESS version, which makes it more convenient for users of different versions of the software to share data.
(2) Change the database window to accommodate new objects in ACCESS 2000, which can improve usability and make it consistent with the new user interface used throughout OFFICE 2000.
(3) The name auto-correction feature can automatically solve the mismatch problem generated when the user renames the database object. For example, when a user renames a field in a table, the change is automatically propagated to related objects (such as queries and forms) so that the user can continue to use the application.
(4) Conditional formatting supports negative and positive numbers, and can be expressed as values ​​less than, greater than, between and equal to. In addition, users can also set formatting according to user-defined functions. User can set color, background, style according to value.
(5) The sub-data table provides a data outline to view and edit all related data in the same window.
(6) Users can export data from Microsoft Access to Microsoft Excel by dragging and dropping Access objects (tables, queries, etc.) from the database container to Microsoft Excel. This provides a quick way to quickly export data to Excel for further analysis.
(7) It is more convenient to change fields (for example, color or font) directly from the "Form" view.
(8) Access has the ability to print the visual chart of the "Relationship" window, which allows users to view the structure of the database more conveniently.
(9) The control grouping feature allows users to group controls as a single unit, making form design easier.
(10) When closing the file, if it takes up too much disk space, Access 2000 will automatically compress the database. This ensures that the Access database is kept as small as possible.
2. Information sharing features with Web features
3. Rich information management and analysis tools
(1) Microsoft Access 2000 supports OLE DB, allowing users to combine the ease of use of the Access interface with the scalability of the enterprise back-end database (eg, Microsoft SQL Server).
(2) The Access interface can create a new text type (.adp), which can be directly connected to the Microsoft Database Engine (MSDE) and the data storage area compatible with SQL Server in Office, SQL Server6.5 or SQL Server7 .0. This allows users to easily create true client/server applications using the familiar interface in Access.
(3) (The new design tool allows users to easily create and manage server-side objects, including tables, views, stored procedures, and database diagrams, when processing Microsoft Access project files (.adp). (4) Microsoft Access
2000 Allows users to perform and manage common Microsoft SQL Server7.0 administrative tasks, such as replication, backup and recovery, and completeness.

Chapter 2 System Design
2.1 System Analysis
The task of system analysis is to clarify the purpose of the development of the teaching material database management system, the function of the system application, etc. The main steps are as follows:
1. Software structure analysis
For the design of large-scale systems, it is usually divided into two stages : Structural Design and Process Design.
Structural design: Determine which modules the system consists of, and the interrelationships between these modules.
Process design: determine the processing process of each module. Among them, structural design is the task of the overall design phase, while process design is the task of the detailed design phase. Here is just a small database management system, only the analysis of their most basic components and the interrelationships between all these components. Structural analysis is the process in which system analysts analyze each process that completes the task.
Here only the business process and data flow of its structure are drawn, as shown in Figure 2-1, 2-2

Figure 2-1 Business flow chart

                       图2-2数据流程图

系统开发的过程首先是要确定需要建立的表格以及视图,即首先完成数据库的设计,这个过程主要是通过Access的使用完成的;其次,就是进行界面的设计,这个过程是在VB中完成的,它是系统开发中比较重要的一步,系统界面在用户对软件的评价中占有很大的比重,影响到本次开发的成功与否,所以在后面将有专门一部分论述界面设计。最后就是功能编码功能的实现了,作为一个程序员来说,这一部分的工作相对简单,需要注意的主要是SQL语言在程序中的嵌套以及部分API函数的调用。
  1. Workload Analysis
    The analysis of the workload is based on the analysis of various workloads of the traditional textbook management system. The analysis includes input analysis, output analysis, document structure, program compilation, and debugging status analysis, generally including:
    (1) problem analysis and synthesis
    (2) analysis of database organization and structure
    (3) document structure analysis and compilation
    (4) Analysis of subsystem processing process
    (5) Analysis of types of bibliographic records
    (6) Analysis of full communication with users
    (7) Types and formats of output products (
    8) Analysis of programming and debugging status
    (9) Analysis of software test objects
    2.2 System Process and operation mode design
    The workflow of the teaching material management system is based on the traditional manual workflow, but it cannot be completely equal to the manual workflow. Because the teaching material management system is different from the traditional manual work after all, in terms of efficiency, the former is also higher than the latter. The former only needs a small amount of manual intervention to realize the centralized management of teaching material information.
    First of all, in the process arrangement, the repeated input of data should be avoided as far as possible, so that the data input once from procurement to distribution can be used multiple times to improve the work efficiency of the system. This step depends heavily on the design of the database.
    Second, choose the appropriate mode of operation. There are two operating modes of the computer system: one is the online operation mode, that is, the human-computer interaction mode; the other is the offline operation mode, which is to submit a set of pre-designed operating procedures to the computer in the form of jobs, and the The computer completes this set of operations by means of several batches of processing, and prints out the processing results through the system. The teaching material management system designed this time belongs to the first operation mode, which requires the user to input information to complete the operation. The reason for adopting this method is mainly to consider the real-time requirements of the database management system, because the database may need to be changed at any time.

         第三章  系统界面设计
    

3.1 System interface design
1. In order to design an interface that conforms to general standards and has characteristics, the following development principles should be followed during system development:
(1) Ensure that the style of interface design is consistent.
(2) When designing the interface, the placement of controls should be coordinated and well-proportioned.
(3) Commonly used operations (such as teaching material management, query, printing, etc.) should establish shortcuts to facilitate daily operations by administrators.
(4) Provide information feedback. For some uncommon operations and critical operations, the system should be able to feedback information.
(5) Provide error handling information. When an error occurs, the system should be able to detect the error and provide the error handling function; after the error occurs, the state of the system does not change, or the system should provide a guide for error recovery.
(6) Tool bar and status bar should be set up for the convenience of administrator's management.
For the overall design of the system, several forms with main functions need to be designed for booking, among which the main function interface of the system is the most important and the focus of the design. This interface includes system function query and shortcuts to trigger other single function interfaces, such as teaching material management, query, printing and reporting.

2. System structure
This system is designed and developed based on the teaching material management business. The daily business of the teaching material department generally includes the following items:
(1) Teaching material reservation. The booking of textbooks is basically done by departments and departments. The Textbook Section distributes the textbook subscription notice to each department, (reading in turn), and each department selects the textbooks for the courses offered, fills in the order form, and reports to the Textbook Section through the departments and departments. After the summary of textbook subjects is reported to the Academic Affairs Office for approval, the official order form will be compiled and filled out and sent to each publishing house.
(2) Textbook warehousing business. The publishing house distributes the books as scheduled according to the order, and the textbooks are scientifically checked and stored in the library.
(3) Distribution of teaching materials. Books for majors and grades are distributed according to the number of reservations. Usually, the books are collected in units of departments and classes.
(4) Inquiry, this work includes four items, one is booking inquiry to keep abreast of the ordering situation of teaching materials of each department; the second is warehousing inquiry to grasp the warehousing situation in a timely manner; the third is inventory inquiry; the fourth is accounting Query mainly records the details of students, classes, and teachers receiving teaching materials.
(5) Printing and reporting, mainly used for ordering, purchasing, and printing lists of books.
(6) System management mainly includes user and password changes, student information management and database maintenance.
(7) Options and system help enable users to get help quickly.

3. Functional module design diagram of teaching material management system
According to the above-mentioned investigation and analysis on the business process and data process of teaching material management, and according to the principle of module division, and considering the user's ease of learning and use of the new system, we divide the new system into the following categories: The functional module structure shown in Figure 3-1:

Figure 3-1 Functional module structure

3.2 System interface and form
3.2.1 The following is the main form of the system

                        图3-2 登录窗口 

                         图3-3 系统界面

当系统管理员想进入系统时,在登录窗体(图3-2)中输入用户名和密码,点击确定按钮,就可进入教材管理系统的主窗体界面(图3-3),管理员就可以进行如下的工作:

(1) Determine the books to be ordered through the order form.
(2) Compare the order form with the inventory to get the name, quantity, etc. of the books that still need to be subscribed.
(3) Export the required subscription books to the book order table, and order books from each publishing house through the book order table.
(4) When the required books arrive, put them into inventory and update the inventory database.
(5) Compare the new inventory and order list, and export the distribution
report of each student, each class, and each department.
(6) Issue books according to the book issuance report, update the inventory, and back up the original inventory to compare whether there is any error.
(7) Issue books according to the student's book distribution report, and print out the list of books received by each student and send them to the students.
The user interface is the most important part of developing an application program. The quality of the user interface design determines the ease of use and operability of the application program. There are two main types of user interface styles based on windows applications: single-document interface (SDI) and Multiple Document Interface (MDI). Whether to use a single document or multiple documents depends on the purpose of the application. For example, this example uses the multi-document (MDI) style, because a user dealing with teaching material management is likely to perform several operations at the same time, so that the user can be in different windows. Perform switching operation.

3.2.2 Interface multi-document (MDI) design and code of frmDMI
1. The frmDMI window is the main window of the system (Figure 3-3), here is the most commonly used part by users, and its code is
Private Declare Function GetMenu Lib “user32” (ByVal hwnd As Long) As Long
Private Declare Function GetSubMenu Lib “user32” (ByVal hMenu As Long, ByVal nPos As Long) As Long
Private Declare Function SetMenuItemBitmaps Lib “user32” (ByVal hMenu As Long, ByVal nPosition As Long, ByVal wFla gs As Long, ByVal hBitmapUnchecked As Long, ByVal hBitmapChecked As Long) As Long

Const MF_BYPOSITION = &H400&

Private Sub MDIForm_Load()

StatusBar1.Panels(1).Text = “教材管理系统:就绪”
If InsertBook = False Then
mnuInsert.Enabled = False
Toolbar1.Buttons(8).Enabled = False
Toolbar1.Buttons(12).Enabled = False
mnuQueryR.Enabled = False
End If
If OrderBook = False Then
Toolbar1.Buttons(7).Enabled = False
Toolbar1.Buttons(11).Enabled = False
Toolbar1.Buttons(15).Enabled = False
mnuDingshu.Enabled = False
mnuQueryBook.Enabled = False
mnuOrderBook.Enabled = False
End If

  2、用户管理和学生管理是最重要的部分,它涉及到系统的安全问题和学生的详细资料如:图3-4、图3-5

Figure 3-4
The user management center provides user account management, where user permissions can be set. Add, modify and delete users. The authority of each user is different, so the contents that can be browsed and queried are also different.
Private Sub cmdupdate_Click()
If txtname.Text = "" Then
MsgBox "Please enter your username!", vbCritical + vbOKOnly, "Enter your username"
Exit Sub
End If
If txtpass.Text <> txtagain.Text Then
MsgBox "Your password Not the same, please re-enter!", vbOKOnly + vbCritical, "The password is different"
txtpass.Text = ""
txtagain.Text = ""
txtpass.SetFocus
Else:
dbRecordset.Fields(0).Value = txtname.Text
dbRecordset.Fields (1).Value = txtpass.Text
dbRecordset.Fields(2).Value = Check(0).Value
dbRecordset.Fields(3).Value = Check(1).Value
dbRecordset.Fields(4).Value = Check( 2).Value
dbRecordset.Fields(5).Value = Check(4).Value
dbRecordset.Fields(6).Value = Check(3).Value
dbRecordset.Fields(7).Value = Check(5).Value
dbRecordset.Fields(8).Value = chkSaveD.Value
dbRecordset.Fields(9).Value = chkBook.Value
dbRecordset.Update
cmdupdate.Enabled = False
End If
cmddel.Enabled = True
cmdadd.Enabled = True
cmdmodify.Enabled = True
logoinfo.Enabled = False
sets.Enabled = False
End Sub
here records the information of all students, among which There are relevant information of students (student number, class, name, whether to repeat a grade, whether to drop out of school, etc.) Here, you can modify, add, edit and other operations on student records.

Figure 3-5

   其代码如下所示:

Dim WithEvents adoPrimaryRS As Recordset
Dim mbChangedByCode As Boolean
Dim mvBookMark As Variant
Dim mbEditFlag As Boolean
Dim mbAddNewFlag As Boolean
Dim mbDataChanged As Boolean
Private Sub Form_Load()
Me.Left = 0
Me.Top = 0
Dim db As connection
Set db = New connection
db.CursorLocation = adUseClient
strConn = “PROVIDER=Microsoft.Jet.OLEDB.4.0;” & “Data Source=” & App.Path & “\Book.mdb;Jet OLEDB:Database Password=******;”
db.Open strConn
Set adoPrimaryRS = New Recordset
adoPrimaryRS.Open “select * from xsxxb Order by 学号”, db, adOpenStatic, adLockOptimistic

Set grdDataGrid.DataSource = adoPrimaryRS
mbDataChanged = False
End Sub
Private Sub Form_Resize()
On Error Resume Next
'当窗体调整时会调整网格
grdDataGrid.Height = Me.ScaleHeight - 30 - picButtons.Height - picStatBox.Height
lblStatus.Width = Me.Width - 1500
cmdNext.Left = lblStatus.Width + 700
cmdLast.Left = cmdNext.Left + 340
End Sub
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If mbEditFlag Or mbAddNewFlag Then Exit Sub
Select Case KeyCode
Case vbKeyEscape
cmdclose_Click
Case vbKeyEnd
cmdlast_Click
Case vbKeyHome
cmdfirst_Click
Case vbKeyUp, vbKeyPageUp
If Shift = vbCtrlMask Then
cmdfirst_Click
Else
cmdPrevious_Click
End If
Case vbKeyDown, vbKeyPageDown
If Shift = vbCtrlMask Then
cmdlast_Click
Else
cmdnext_Click
End If
End Select
End Sub
Private Sub Form_Unload(Cancel As Integer)
S creen.MousePointer = vbDefault
End Sub
Private Sub adoPrimaryRS_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, ByVal pError As ADODB.Error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset)
'Display the current record position for this recordset
lblStatus.Caption = "th" & CStr(adoPrimaryRS.AbsolutePosition) & "record "
lblStatus.ForeColor = &HFF
End Sub
te Sub adoPrimaryRS_WillChangeRecord(ByVal adReason As ADODB.EventReasonEnum, ByVal cRecords As Long, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset)
'Validate code goes here
' This event is called when the following actions occur
Dim bCancel As Boolean
S select Case adReason
Case adRsnAddNew
Case adRsnClose
Case adRsnDelete
Case adRsnFirstChange
Case adRsnMove
Case adRsnRequery
Case adRsnResynch
Case adRsnUndoAddNew
Case adRsnUndoDelete
Case adRsnUndoUpdate
Case adRsn Update
End Select
If bCancel Then adStatus = adStatusCancel
End Sub
Sub cmdadd_Click()
On Error GoTo AddErr
adoPrimaryRS.MoveLast
adoPrimaryRS.AddNew
grdDataGrid.SetFocus
Exit Sub
AddErr:
MsgBox Err.Description
End Sub
Private Sub cmdDelete_Click()
On Error GoTo DeleteErr
With adoPrimaryRS
.Delete
.MoveNext
If .EOF Then .MoveLast
End With
Exit Sub
DeleteErr:
MsgBox Err.Description
End Sub
Private Sub cmdRefresh_Click()
'只有多用户应用程序需要
On Error GoTo RefreshErr
Set grdDataGrid.DataSource = Nothing
adoPrimaryRS.Requery
Set grdDataGrid.DataSource = adoPrimaryRS
Exit Sub
RefreshErr:
MsgBox Err.Description
End Sub
Private Sub cmdEdit_Click()
On Error GoTo EditErr
lblStatus.Caption = “编辑记录”
mbEditFlag = True
SetButtons False
Exit Sub
EditErr:
MsgBox Err.Description
End Sub
Private Sub cmdcancel_Click()
On Error Resume Next
SetButtons True
mbEditFlag = False
mbAddNewFlag = False
adoPrimaryRS.CancelUpdate
If mvBookMark > 0 Then
adoPrimaryRS.Bookmark = mvBookMark
Else
adoPrimaryRS.MoveFirst
End If
mbDataChanged = False
End Sub
Private Sub cmdupdate_Click()
On Error GoTo UpdateErr
adoPrimaryRS.UpdateBatch adAffectAll
If mbAddNewFlag Then
adoPrimaryRS.MoveLast '移到新记录
End If
mbEditFlag = False
mbAddNewFlag = False
SetButtons True
mbDataChanged = False
Exit Sub
UpdateErr:
MsgBox Err.Description
End Sub
Private Sub cmdclose_Click()
Unload Me
End Sub
Private Sub cmdfirst_Click()
On Error GoTo GoFirstError
adoPrimaryRS.MoveFirst
mbDataChanged = False
Exit Sub
tError:
MsgBox Err.Description
End Sub
Private Sub cmdlast_Click()
On Error GoTo GoLastError
rimaryRS.MoveLast
mbDataChanged = False
Exit Sub
tError:
MsgBox Err.Description
End Sub
Private Sub cmdnext_Click()
On Error GoTo GoNextError
If Not adoPrimaryRS.EOF Then adoPrimaryRS.MoveNext
If adoPrimaryRS.EOF And adoPrimaryRS.RecordCount > 0 Then
Beep
' Return
adoPrimaryRS.M veveLast
End If
'Display the current record
mbDataChanged = False

Exit Sub
GoNextError:
MsgBox Err.Description
End Sub

Private Sub cmdPrevious_Click()
On Error GoTo GoPrevError

If Not adoPrimaryRS.BOF Then adoPrimaryRS.MovePrevious
If adoPrimaryRS.BOF And adoPrimaryRS.RecordCount > 0 Then
Beep
'It has reached the end and return
adoPrimaryRS.MoveFirst
End If
'Display the current record
mbDataChanged = False
Exit Sub

GoPrevError:
MsgBox Err.Description
End Sub

Private Sub SetButtons(bVal As Boolean)
cmdAdd.Visible = bVal
cmdEdit.Visible = bVal
cmdUpdate.Visible = Not bVal
cmdCancel.Visible = Not bVal
cmdDelete.Visible = bVal
cmdClose.Visible = bVal
cmdRefresh.Visible = bVal
cmdNext.Enabled = bVal
cmdFirst.Enabled = bVal
cmdLast.Enabled = bVal
cmdPrevious.Enabled = bVal
End Sub

3. Password change ----- Modify your own password through the user as shown in Figure 3-6


The code in Figure 3-6 is as follows:
Private Sub cmdOk_Click()
Set DbRs = New ADODB.Recordset
If txtSecond.Text <> txtFirst.Text Then
MsgBox "The two passwords are different! Please re-enter.", vbOKOnly + vbCritical, "Wrong Exit!"
txtFirst.SetFocus
Exit Sub
End If
DbRs.Open "Select * From Authority where UserName = " & "'" & userName & "'", dbConn, adOpenStatic, adLockOptimistic
DbRs.Fields(1).Value = txtFirst.Text & " "
DbRs.Update
MsgBox "Password changed successfully", vbOKOnly + vbInformation, "OK!"
Unload Me
End Sub

4. Teaching material order (Figure 3-7)

                        图3-7

A. Required course textbook order:
(1) Required fields: book title, publisher, editor-in-chief, edition, handler, course name, subscriber, major, major number, grade, department, ISBN (can leave blank).
(2) After filling out the order for a book to be purchased, you can press the button of "Next Book" to input the information of the next book to be ordered.
(3) Each major has an order form for its own compulsory courses, press "Place an order" to enter the order information of another major.
(4) If you make a mistake in the input, you can press the "Cancel Input" button without saving. If you save the wrong data, you can modify it in the query. Please see the query for specific steps.
B. Order of textbooks for elective courses:
(1) Required fields: title, publisher, editor-in-chief, edition, person in charge, course name, major, major number, grade, department, ISBN (optional), Subscribers can choose from the list below (a list will appear below when you fill in the data correctly).
(2) This order is based on students, and each student has an order.
(3) Press "Next Book" to enter the next book to be ordered.
C. Order for additional textbooks:
(1) Required fields: title, publisher, editor-in-chief, version, handler, subscriber, quantity, ISBN (optional).
(2) This order is based on the subscriber, and each subscriber has an order.
(3) Press "Next Book" to enter the next book that needs to be ordered, and press "Place an order" to enter the book that the next bookmaker wants to order.
(4) This book ordering form is mainly for teachers to order books. If students need to order more books, they can also order here

Its function is realized by calling the frmOrderBook form, and its code (partial) is as follows:

Private Sub cboProfession1_click()
Select Case cboProfession1.Text
Case "Marketing"
txtPNum1.Text = "1"
ComboPartion1.Text = "Basic Department"
txtPNum1.Enabled = False
ComboPartion1.Enabled = False
Case "Computer"
txtPNum1.Text = "2"
ComboPartion1.Text = "Medical and Electrical Department"
txtPNum1.Enabled = False
ComboPartion1.Enabled = False
Case "Social Work"
txtPNum1.Text = "3"
ComboPartion1.Text = "Basic Department"
txtPNum1.Enabled = False
ComboPartion1.Enabled = False
Case "Medical Electronics"
txtPNum1.Text = "4"
ComboPartion1.Text = "Medical Electronics Department"
txtPNum1.Enabled = False
ComboPartion1.Enabled = False
Case "Pharmaceutical Equipment"
txtPNum1.Text = “5”
ComboPartion1.Text = “Medical”
txtPNum1.Enabled = False
ComboPartion1.Enabled = False
Case “Medical”
txtPNum1.Text = “6”
ComboPartion1.Text = “Medical”
txtPNum1.Enabled = False
ComboPartion1.Enabled = False
Case “Radiation”
txtPNum1.Text = “7”
ComboPartion1.Text = “Radiation”
txtPNum1.Enabled = False
ComboPartion1.Enabled = False
End Select
SendKeys “{tab}”
blnProfession1 = True
cmdEnter1.Enabled = blnEdition1 And blnGrade1 And blnProfession1 And CBool(Len(Trim(txtBookName1.Text))) And CBool(Len(Trim(txtPublish1.Text))) And CBool(Len(Trim(txtAuthor1.Text))) And CBool(Len(Trim(txtClass1.Text))) And CBool(Len(Trim(txtSignN1.Text)))
End Sub

5. Storage and distribution of teaching materials (Figure 3-8, Figure 3-9)

Figure 3-8

Figure 3-9

Textbook warehousing and distribution and some codes
(1) Required fields: invoice number, textbook name, ISBN, publisher, unit price, edition, quantity, editor-in-chief, handler.
(2) Press the "Query" button to query the books that have been stored in the library. Please refer to the query for specific steps.
You can choose the type of book you want to send from the book delivery options: compulsory courses, elective courses.
(3) The fields that must be filled in include major, class, book leader, handler, and grade. When you fill in these fields, the program will automatically display the quantity and title of the book.
(4) In the elective course book distribution interface:
the fields that must be filled in include major, grade, class, and subscriber. When you fill in these fields, the program will automatically display the title of the book subscribed by the person.

Dim connection As connection
Dim strConn As String
Private Sub cbbxclass_Click()
Dim num As Integer
num = 0
Dim recordset5 As Recordset
Set recordset5 = New Recordset
recordset5.CursorLocation = adUseClient
recordset5.Open “select class from xsxxb”, conn section, adOpenDynamic, adLockOptimistic
If recordset5.RecordCount <> 0 Then
recordset5.MoveFirst
While Not recordset5.EOF
If recordset5.Fields("class").Value = cbbxclass.Text Then
num = num + 1
End If
recordset5.MoveNext
Wend
End If
txtnum.Text = num
End Sub (see the source program for detailed code)
6. Query
Query is one of the key parts of this system. The power of the system is closely related to the query of the database, as shown in Figure 3-10 and 3-11

                         图3-10


                         图3-11

The query conditions here are: invoice number, book title, book entry date, person who handled it, and you can query that field by selecting that field, and you can make multiple queries.
The above are just descriptions of some forms of the multi-document (MDI)

Chapter 4 Database Design
4.1 Database
Design The main task of database design is to support the SBMS (database management system), according to the requirements of the application, the quality of the data structure will directly affect the efficiency of the system and the effect of realization. A good database structure will reduce the storage capacity and redundancy of the database, the integrity and consistency of the data will be relatively high, the system will have a faster response speed, and the implementation method of the application program based on the database will be simplified.
4.1.1 Database concept and development
A database is an organized and shareable collection of data stored in a computer, and is the core of many application software. A database refers to a collection of data and logical relationships between data that are established using management systems and similar software and can be accessed and maintained by database management systems and similar software. As we all know, database systems do not appear at the same time as computers are produced
. However, with the continuous development of computer technology, it appeared in a specific historical period and in a specific demand environment. Humans invented the world's first computer in 1946. In the long 20 years from the 1960s to the 1960s, the computer operating system was mainly limited to file operations. Similarly, data management was mainly realized through the file system. . Various data required for calculation are stored in respective files. When the data is to be used, the file is opened, and the file system in the computer operating system generally does not support concurrent access to the file. In modern computer systems, in order to give full play to the resource utilization efficiency of the computer system, multiple programs are generally allowed to run "simultaneously", that is, concurrency. New requirements are put forward for the database system.
In the early 1970s, EFCodd proposed the concept of relational data model on the basis of summarizing the advantages and disadvantages of the previous hierarchy and network database. He came up with relational algebra and relational calculus. Throughout the 1970s, relational database systems have achieved fruitful results both in theory and in practice. In theory, a complete relational model theory, data dependency theory, and relational database design theory have been established. In practice, many famous relational database systems have emerged in the world, such as System R, INGRES, etc. , Oracle, etc.
  After entering the 1980s, computer hardware technology has improved rapidly. The improvement of computer technology has promoted the continuous deepening of computer applications, resulting in many new application fields, such as computer-aided design, computer-aided manufacturing, computer-aided teaching, office automation, intelligent information processing, decision support, etc. These new fields put forward new requirements for database systems. However, due to the diversification of applications, it is impossible to design a unified data model to represent these new types of data and their interrelationships, so a situation of contention among a hundred schools of thought has emerged, resulting in deductive databases, object-oriented databases, distributed databases, engineering databases, and time-based databases. Research and application of new databases such as dynamic databases and fuzzy databases.
  But so far, the classic relational database systems have been mainstreamed in the world, such as Sybase, Oracle, Informix, SQL Server, DB2 and so on.

4.1.2 Database model and referential integrity
The database model is the core and foundation of the database system, and usually consists of three parts: data structure, data operation and integrity constraints. Among them, the data structure is a collection of object types under study. In the database system, the data model is usually named according to the type of the database structure. The traditional data model includes a hierarchical model, a network model and a relational model. A database operation is a collection of operations allowed to be performed on an instance in the database. The database mainly has two types of operations: retrieval and update. The constraints of the database are a collection of integrity rules. Ensuring data integrity is a very important requirement for the database. The so-called integrity refers to the correctness, validity and compatibility of data. sex.
According to the characteristics of the data model, the traditional database system can be divided into network database, hierarchical database and relational database.
The data model of this system adopts relational database model. The relational model has the following advantages:
1. Simple data structure
In the relational model, the so-called data model is nothing more than some table frames, in which the common attribute names indicate the relationship between the tables.
2. Many-to-many relationships can be directly processed
Since the relationship between two entities is directly represented by tabular data, many-to-many relationships can be directly processed.
3. Ability to provide a collection of tuples at a time
Each lookup command can find all records that meet some condition.
4. High data independence
In the relational model, the user only points out the characteristics of the data itself such as the data type and data length to be stored, and does not need to design the physical storage of these data, so the data independence is high.
Experts in the field of databases have carried out research on relational theory, which makes relational theory tend to be perfect, and also promotes the development of other software branches such as software engineering.
Of course, the relational model also has its own shortcomings, mainly:
(1) The query efficiency is low
The DBMS of the relational model can provide high data independence and non-procedural query language, so the burden on the system is very heavy. In the past, the tasks that programmers need to complete, such as finding the best access path, are now all done by The system arranges instead. The most efficient operation here is to perform Cartesian product operation and connection operation.
(2) The relational model system requires application programmers and DBAs to be familiar with relational database design theory. Relational
DBMS requires relational models to be in a standardized form to simplify operations and avoid a series of potential problems.
Therefore users must be familiar with these theories. This has a certain impact on popularization and application.
4.1.3 Establishment and connection of the database To
establish the database, it is first necessary to specify what kind of data is stored in the database, then design the database, and establish a table composed of fields, in which the data type to be stored is defined. Table 5-1 Accounting query table field
name
data Type field description
class text 20 characters
student number number primary key
name text 20 characters
book title text 100 characters
price number quantity
number
5-2 user table

   字段名字	类型	      字段说明
     用户权限	文本	       主键
     用户名	文本	       20个字符
     密码	字符	
数据库的建立代码:

Private Sub cmdInsertDb_Click()
Dim fs, d, s
Set fs = CreateObject(“Scripting.FileSystemObject”)

d = App.Path & “\book.mdb”
CommonDialog1.DialogTitle = “Please select the database to import”
CommonDialog1.Filter = “Access2000 database ( .mdb) | .mdb”
CommonDialog1.ShowOpen
e = CommonDialog1.FileName
If e = “ " Then
Exit Sub
End If
lblInfo.Caption = "Importing database..."
Set dbConnection = Nothing
Set dbRecordset = Nothing
fs.copyfile e, d, True
Form_Load
lblInfo.Caption = "Import complete!"

End Sub
(partial code)

The connection to the database uses ODBC, and ODBC technology is the most widely used technology in database application development. ODBC (Open Database Connective) is a database access standard defined by Microsoft. ODBC is a window technology that enables database client applications to connect to a remote database. ODBC is a client connection back-end database technology, the application program does not need to know what type of database it is connected to, and can use the standard SQL version to write client applications.
The ODBC structure is shown in the figure:

Figure 4.1 ODBC structure connecting client application and SQL Server database through ODBC driver manager

4.2 Database query design
4.2.1 Brief introduction of query function
In this system, query function is one of the main functions of the system. In the main form, through the menu, toolbar or the use of the Tabstrip control, call the query, you can enter the keyword in the text box, select the query field in the Combobox to query the reservation, inventory, distribution and other information of teaching materials ; In the teaching material management window, you can query the teaching material information in the same way; in the query management, you can also query the student information. Basically completed the subject's requirements for the query function.
4.2.2 Relevant technologies for the realization of the query function
The realization of the query function of this system is through the combination of data access objects (DAO) and SQL query, which improves the flexibility of database programming 1.
SQL query
SQL is a kind of database query And programming language, the English name is Structure Query Language, that is, Structured Query Language. It is a tool for organizing, managing and retrieving data in a database. When users want to retrieve data in the database, they write a sequence of commands to extract information in SQL language, which uses certain rules to obtain a limited number of specific records. A database management system (DBMS) processes SQL requests, retrieves large amounts of required data, and returns it to the user. This process is SQL query, through which data can be quickly and easily obtained from tables and views.
SQL is not just a query tool, SQL can also control all the functions provided by DBMS to users, data definition language, data query statement, data update language, data control language, the four languages ​​are the operation of SQL language on the database. SQL language can be embedded in computer language to realize interaction with DBMS and control data access. SQL has become the standard language for relational databases. It is widely used in client/server architecture. The client uses SQL to communicate with the server that stores the data through the network. Because SQL is a standard, SQL can be used to communicate between different DBMSs. It can be said that SQL is a comprehensive tool for managing data.

2. Data Access Object Technology
(1) Data Access Objects (Data Access Objects), referred to as DAO, are collections, objects, methods, and attributes. Use DAO in Visual Basic code to operate the database, use DAO to query, update the value in the database, and create a database structure. Under the Microsoft Jet database, DAO also provides some access functions that SQL does not have. It has the following characteristics:
Ⅰ. Object programming: Objects encapsulate data and operate functions on data. Data is hidden in objects. Data can only be accessed through the object's member functions. In Visual Basic, it is expressed as using the object by using the properties and methods of the object. This aspect enhances the security protection of data and simplifies the programming work.
Ⅱ. Can support multiple data sources: the realization of DAO object is closely linked with the Microsoft database file organization named MDB. In addition, DAO also supports ODBC data sources and ISAM data sources. There are different ways to obtain these data sources. These data sources can be accessed through the Microsoft Jet database engine. You can also bypass the Microsoft Jet data engine and use a technology called ODBC Direct to directly access ODBC data sources.
(2) When using DAO in the code to operate the database, you must first determine which object is more appropriate to use, and then execute its methods and set and obtain its properties. DAOs must be instantiated objects, and DAOs belong to the hierarchy of object patterns that require objects to own other objects. In specific coding, DAO's object programming has its own characteristics:
Ⅰ. To use object variables, start using variables from the creation of object variables, first of all to explain the object variables.
Ⅱ. Using a collection in code, you can use an index or a keyword (a unique textual identifier used to specify an element in a collection) to get an element from the collection.
Ⅲ. Use default sets and default attributes to simplify the code.
(3) Objects used by DAO to operate data
• Database object connected to the database
• OpenBase object creates a database object
• RecordSet object records collection
• Filed object represents the field in the table
• Index object creates index
(4) Combination of SQL language and data access object
The realization of query function in this system is SQL language and DAO In a combined way, we embed the SQL query language into the object programming of DAO to achieve the modification of the access to the database data, and associate it with the interface control to achieve the query function.
4.2.3 Concrete implementation of query function

1、 订书查询代码

Private Sub cmdSave_Click()
Dim Order Query As Variant
If ModifyOrder = False Then
MsgBox "Sorry, you are not authorized to save your modifications!" & vbCrLf & "Please contact the administrator!", vbOKOnly + vbCritical + vbMsgBoxHelpButton, "No permission to modify!", App.Path & "\Bookhelp.hlp", order query
Exit Sub
End If
Dim a As Variant
a = MsgBox("Are you sure you want to save the modified data in the grid to the database?", vbYesNo + vbQuestion, "Save?")
If a <> vbYes Then
Exit Sub
End If
frmMDI.StatusBar1.Panels(1).Text = "Saving..."
Dim rst As ADODB.Recordset
Dim strWhere As String
Dim strsql As String
Dim strDat As String
Dim strToday As String
Dim getString As String
blnNoRecordset = False
blnClick = True
Set rst = New ADODB.Recordset
strsql = “Select * from Query”
strWhere = “Where 1=1”
strWhere = strWhere &GetWhereString(cboYear, “Grade”)
strWhere = strWhere &GetWhereString(cboPart, “Department”)
strWhere = strWhere & GetWhereString(cboProfession, "Profession")
If cboDate.Tag = vbChecked And Len(cboDate.Text) And cboDate.Text <> "<Please enter or select>" And Trim(cboCondition.Text) <> "" Then
Select Case cboCondition .Text
Case "before"
strDat = CDateType(CStr(CDate(cboDate.Text) - 1))
getString = " and book date between #1/1/2000# and " & strDat
Case "equal to"
getString = " and Book date between " & CDateType(CStr(CDate(cboDate.Text))) & " and " & CDateType(CStr(CDate(cboDate.Text)))
Case “晚于”
strDat = CDateType(CStr(CDate(cboDate.Text) + 1))
getString = " and order date between " & strDat & " And " & CDateType(CStr(Date))
End Select
End If
2. Inventory query code

Private Sub cmdquery_Click()
Dim rst As ADODB.Recordset
Dim strWhere As String
Dim strsql As String
blnNoRecordset = False
blnClick = True
Set rst = New ADODB.Recordset
strsql = "Select ISBN, Title, Editor-in-Chief, Publisher, Edition, Price, Existing quantity, desirable quantity from sxxb"
strWhere = "Where 1=1"
strWhere = strWhere & GetWhereString(cboBookName, "Book Title")
strWhere = strWhere & GetWhereString(cboPublish, "Publisher")
strWhere = strWhere & GetWhereString(cboAuthor , "editor")
strWhere = strWhere & GetWhereString(cboEdition, "version")
' 'debug.print strsql & strWhere
rst.Open strsql & strWhere, cnnDb, adOpenStatic, adLockOptimistic
If rst.RecordCount = 0 Then
blnNoRecordset = True
End If
Set printRs = rst
showdata rst
If blnNoRecordset Or Not blnClick Then
cmdSave.Enabled = False
Else
cmdSave.Enabled = True
End If
End Sub

4.3 System testing and evaluation
Software testing is one of the most important activities to ensure software quality and improve software reliability. It conducts the final review of software specification, design specification and coding. The purpose of software testing is to find out as many potential errors and defects in the software as possible with the least input of manpower, material resources and time. The test results provide the basis for software reliability analysis. There are generally two methods of designing test cases: black box method and white box method. This test adopts the first method, we use all possible values ​​to check the correctness of the system program, and carry out necessary debugging and functional improvement through the test results.
Through the test results, we learned that several functions developed by the system we developed can complete the work well, but due to our lack of understanding of customer information and our own knowledge deficiencies, we have not considered many aspects, for example, there is no The help system has never provided a more robust indexing feature.

After
three months of study, design and programming, the task of project design has been basically completed. The task of this project design is to develop a teaching material management system. Combined with the traditional teaching material management mode, it has initially realized the ordering of teaching materials, querying, database management, etc. Basic management system functions, these functions can fully meet the needs of general customers.
I am not very familiar with the development environment Visual Basic 6.0. In the previous studies, I only involved simple programming. I was a little bit powerless at the beginning, but under the patient guidance of the instructor, through my own hard work and exploration, I have enabled myself to develop database applications using Visual Basic 6.0 along with SQL query language and ACCESS. Through the development of this system, I have mastered the basic process of teaching material management system development, understood the basic knowledge of teaching material management, mastered the SQL query language, and consolidated my study of Visual Basic 6.0, and the biggest gain in this graduation design is not Instead of mastering the application of these development tools, I have learned the thinking method of designing a system and the spirit of helping each other with my classmates.
However, due to actual conditions and time constraints, as well as my usual lack of study, the system is not perfect in terms of functions, and some are only the simplest and most basic function realization, and due to the limitations of our knowledge, for specific MIS There is still a great lack of knowledge in the management system, and there may be unreasonable places in the design of the database, so that it affects the function and performance of the entire system.
Although the system has all kinds of unsatisfactory places, but in the process from the beginning to the end of the project development, from consulting data to writing papers, from building databases to table building, to writing programs, from function analysis to interface design, every step is perfect. It is full of the hard work of me and my classmates. Every success of exploration makes us happy and gives us great encouragement.
In short, through this graduation project, I have learned a lot of knowledge that is not available in books. I have learned that only by combining theory with practice can I digest the knowledge I have learned into my own. At the same time, I have realized my own shortcomings. . The experience left by my graduation project will benefit me a lot in my future work and study, and the lessons it left for me are enough for me to learn from it in my future study and work.

Acknowledgments
As the thesis is about to be completed, I feel that I have benefited a lot from reviewing the life of the graduation project in the intense work. I would like to express my most sincere thanks to all the teachers and classmates who have cared about and helped me.
First of all, I need to thank my mentor, Mr. Lu Ping. Mr. Lu patiently answered all kinds of problems I encountered, gave me advice enthusiastically, and strictly supervised the progress of my graduation project. During the system design stage, Mr. Lu helped me check many times System, pointed out my mistakes and proposed better ideas for me. During the stage of writing the thesis, I reviewed my thesis several times and put forward many valuable opinions. Therefore, without the guidance of Teacher Lu, I would not be able to do better. Complete the task of project design.
Furthermore, I would also like to thank my classmates in the same group very much. Without their help, my graduation project would not be completed smoothly.

References
[1] Teng Jiadong. "Information Management System" (2nd Edition). Dalian: Dongbei University of Finance and Economics Press, 2003.4 [
2] Translated by Luo Li et al. "Gold Edition Visual Basic 5.0". Beijing: Electronic Industry Publishing Society, 1999.2
[3] Liu Bingwen et al. "Visual Base Programming" - Database Articles. Beijing: People's Posts and Telecommunications Press, 1999.6. [4]
Song Wei. Wu Jianguo et al. Edited. "Chinese Visual Basic6.0 Programming Foundation". Beijing, Tsinghua University Press,
[5] Wang Shan and Chen Hong, "Database System Principles Tutorial". Beijing: Tsinghua University Press, 1998.7 [
6] Wang Shan. Chen Hong. Wen Jirong. "Database and Database Management System". Beijing: Electronics Industry Press, 1995
[7] Zheng Renjie, editor-in-chief. "China Computer Software Professional Technical Level Examination Designated Book-Software Engineering" (Primary). Beijing: Tsinghua University Publishing, 1999.5 [8] Lin Lijun.
Cheng Bin. Weng Edited by Dean. "Visual Basic 6.0 Database Development Guide" (2nd Edition). Xi'an: University of Electronic Science and Technology Press. 2000.2 [9]
Edited by Xu Renzuo et al. "Software Engineering". Wuhan: Huazhong University of Science and Technology

Guess you like

Origin blog.csdn.net/ambiguous__/article/details/130798602