Está en la página 1de 119

LIBRARY INFORMATION MAINTENANCE

SYSTEM
PROJECT REPORT 2012
Submitted by
P.JEBARAJ

A.VAIRAMUTHU

(Reg. No. A9130579)

(Reg. No. A9130588)

Under the guidance of

Mrs. M.SORNALAKSHMI M.Sc., M.Phil.,


Asst.Professor of Computer Science,
Arulmigu Kalasalingam College of Arts and Science
Krishnankoil.

In partial fulfillment for the award of the degree of


BACHELOR OF SCIENCE - COMPUTER SCIENCE
MADURAI KAMARAJ UNIVERSITY, MADURAI.

DEPARTMENT OF COMPUTER SCIENCE


ARULMIGU KALASALINGAM COLLEGE OF ARTS & SCIENCE,
(AFFILIATED TO MADURAI KAMARAJ UNIVERSITY)

ANAND NAGAR, KRISHNANKOIL 626 126.

CERTIFICATE

This

is

to

certify

that

the

project

entitled

LIBRARY

INFORMATION MAINTENANCE SYSTEM is a bonafide work done by


P.JEBARAJ (Reg.No.A9130579) and A.VAIRAMUTHU (Reg.No.A9130588),
submitted to the Department of Computer Science, Arulmigu Kalasalingam
College of Arts & Science, Anand Nagar, Krishnankoil, in the partial fulfillment of
the requirement for the award of the degree of Bachelor of Computer Science.

Faculty Guide

Head of the Department

Mrs. M.SORNALAKSHMI M.Sc., M.Phil.,

Mr.K.A.BALASUBRAMANIAM M.Sc., M.Phil.,

Asst.Professor,

Head of the Department,

Department of Computer Science

Department of Computer Science,

A.K.College of Arts & Science,

A.K.College of Arts & Science,

Krishnankoil.

Krishnankoil.

Submitted for the Viva-Voce held at Krishnankoil on

Internal Examiner

/2012

External Examiner

DECLARATION

hereby

We

declare

that

the

project

work

entitled

LIBRARY INFORMATION MAINTENANE SYSTEM submitted here


which

have

been

prepared

by

P.JEBARAJ

(Reg.No.A9130579)

and

A.VAIRAMUTHU (Reg.No.A9130588), in the partial fulfillment of the


requirement for the award of the degree of Bachelor of Computer Science.
We further declare that the contents, statements and other relevant matters
are true to the best of our knowledge.

Place: Krishnankoil.
Date :

(P.JEBARAJ)

/ 2012
(A.VAIRAMUTHU)

DEPARTMENT OF COMPUTER APPLICATIONS


ARULMIGU KALASALINGAM COLLEGE OF ARTS & SCIENCE,
ANAND NAGAR, KRISHNANKOIL 626 126.

ACKNOWLEDGEMENT

First and Foremost, we would like to place on record our sincere thanks to
the Management of Arulmigu Kalasalingam College of Arts & Science for
providing all infrastructures for Completion of this project successfully.
First of all we like to place our thanks to our respected Principal
Dr. S. SELVAMANI M.Sc., Ph.D., for providing us this opportunity to express our
knowledge and personalities.
We would like to thank our Head of The Department. Mr.
K.A.BALASUBRAMANIAM M.Sc., M.Phil., for giving advice and information
related to our project.
We wish to express our deep sense of gratitude to our Internal Guide
Mrs. M. SORNALAKSHMI M.Sc., M.Phil., Asst.Professor, Department of
Computer Science for her guidance and apt suggestions, which helped us in
smooth journey of project implementation.
We would like to thank all staff members and lab technicians for giving
suggestions from time to time on this project work.
Last but not the least, we extend our heartfelt thanks to our PARENTS &
FRIENDS for helping in one-way or other.
Above all, we thank ALMIGHTY GOD who gave us strength & Courage
in completing the project work successfully.

CONTENTS
PAGE. NO.
Chapter 1.

Abstract

Chapter 2.

Introduction

Chapter 3.

Chapter 4.

Chapter 5.

Chapter 6.

2.1 About the College

2.2. About the Project

Configuration Requirements
3.1 Hardware Requirements

3.2 Software Requirements

Software Specifications
4.1 Windows XP

4.2 Visual Basic 6.0

4.3 MS Access 7.0

11

System Design
5.1 Data Flow Diagram

18

5.2 Table Design

20

System Analysis
6.1 Problem Definition

12

6.2 Project Description

13

6.3 User Interface

17

Chapter 7.

System Implementation & Testing

25

Chapter 8.

Screen Layout and Reports

27

Chapter 9.

Limitation / Suggested Improvements

117

Chapter 10.

Conclusion

118

Bibliography

CHAPTER 1
ABSTRACT
The motive of the project is to prepare a software project on
LIBRARY INFORMATION MAINTENANCE SYSTEM for ARULMIGU
KALASALINGAM COLLEGE OF ARTS AND SCINECE, Anand Nagar,
Krishnankoil.
The goal of the project is to computerize the activities such as Book Issue,
Returns done in the Library and also maintains the Current Book Stock
information.
This package deal with the Accession Register, CD Log register, Staff and
Student Registers, Issue and Return Registers, Students Log information. The
Library can utilize this software to retrieve available Book Stock, Department
Wise book details reports, Non-return of books, Fine details and so on.
Now-a-days in the modern world computer is one of the most essential part
in all the media. All the things are computerized with different types of software
developed by various companies.
Even though there is release of different software in a day, only few of them
is getting flourished with its real efficiency. One of them is VISUAL BASIC
6.0. It has lot of features to satisfy the user. Besides these things, this software is
the latest on. So our project is implemented using this software.

We also provide additional facilities to back up the particular data in a


separate disk, Retrieve that data from that disk and also it is able to delete it.

CHAPTER - 2
INTRODUCTION
2.1. COLLEGE PROFILE
The Arulmigu Kalasalingam College of Arts and Science was started in the
year 1998 which is situated in Krishnankoil, Virudhu Nagar District. Our college
offers courses like
1. B.Com(Computer Applications)
2. B.Com(Regular)
3. B.Sc(Computer Science)
4. B.Sc(Information Technology)
5. B.C.A
6. B.Sc(Mathematics)
7. B.Sc(Physics)
8. B.Sc(Bio Technology)
9. B.A (English)
10. M.Com (Computer Applications)
Arulmigu Kalasalingam College of Arts and Science is managed by
A.K.Group of Sister Institutions and Principal Dr.S.Selvamani M.Sc., Ph.D.,.
Also college offers facilities like
1. Full fledged Computer Lab (2 Nos)
2. Internet facility
3. Electronics and Physics Lab
4. Biotechnology Lab
5. Hostel Facility

6. Transport facility
7. Bank

2.2. ABOUT THE PROJECT


The goal of the project is to prepare a software project on LIBRARY
INFORMATION MAINTENANCE SYSTEM for A.K.College of Arts And
Science, Anand Nagar, Krishnankoil.
Till now they are handling all processing manually. But naturally it is more
difficult to maintain all the records related to Book Issue and Return activities
manually. But it may be easy to handle them if we computerize them.
We selected Visual basic 6.0 which is GUI (Graphical User interface) which
lets the user to handle this package easy and makes interaction effective. Also we
used DAO (Data Access object) for the connectivity from the Front End to Back
End.
Our project contains four modules. They are,
Master Information
Book Issue and Returns
Student and Staff Log Book
Reports

CHAPTER - 3
CONFIGURATION REQUIREMENTS

3.1 HARDWARE REQUIREMENTS

PROCESSOR

: Intel Pentium Dual Core Processor

SPEED

: 1.7 GHz

HARD DISK CAPACITY

: 80 GB

MONITOR

: LG COLOR

KEYBOARD

: Multimedia Keyboard

RAM

: 1 GB

3.2 SOFTWARE REQUIREMENTS

OPERATING SYSTEM

: WINDOWS XP

FRONT END

: VISUAL BASIC 6.0

BACK END

: MS ACCESS 7.0

CHAPTER - 4
SOFTWARE SPECIFICATION
4.1 WINDOWS XP
INTRODUCTION
Windows is a Graphical User Interface (GUI) operating environment.
Windows is easier to use then DOS. Windows commands are listed in menus that
you can pick from easily. All communication between a computer and its input and
output device are control by an operating system. But the user interface with DOS
is not perfect. We just memorize all of the DOS commands and we have to know
the correct syntax for entering them, if we want DOS to be able to follow our
instructions.
In addition most DOS programs have their own specification ways of
dealing with printers and monitors. So we must go through separate installation
process for each program configuring it to works with our hardware. Just because
our processor works with our printer. There is no guarantee that we will able to
print Spreadsheets. Windows provides solution to these entire problems.

4.2 VISUAL BASIC 6.0


Microsoft Visual Basic, the fastest and easiest way to create applications for
Microsoft Windows. Whether you are an experienced professional or brand new to
windows programming, Visual Basic provides you with a complete set of tools to
simplify rapid application development.
The Visual part refers to the method used to create the graphical user
interface (GUI). Rather than writing numerous lines of code to describe the
appearance and location of interface elements, you simply add rebuilt objects into
place on screen.
If youve ever used a drawing program such as paint, you already have
most of the skills necessary to create an effective user interface.
The Basic part refers to the BASIC (Beginners All-Purpose Symbolic
Instruction Code) Language, a language used by more programmers than any other
language in the history of computing. Visual Basic has evolved from the original
Basic language and now contains several hundred statements, functions, and
keywords, many of which relate directly to the windows GUL. Beginners can
create useful applications by learning just a few of the keywords, yet the power of
the language allows professional to accomplish anything that can be accomplished
using by other windows programming language.
The Visual Basic programming language is not unique to Visual Basic. The
Visual Basic programming system, Applications Edition included in Microsoft
Access, any many other windows applications uses the same language. The Visual
Basic Scripting Edition (VB Script) is a widely used scripting language and a

subset of the Visual Basic language. The investment you make in learning Visual
Basic will carry over to these other areas.
Whether your goal is to create a small utility for yourself of your work
group, a large enterprise-wide system, or even distributed applications spanning
the globe via the Internet, Visual Basic has the tools you need.
1. Data access features allow you to create databases, Front End
applications and scalable server-side components for most popular
database formats, including Microsoft SQL, server and other Enterpriselevel databases
2. ActiveX

TM

technologies allow you to use the functionality provided by

other applications, such as Microsoft Excel spread sheet, and other


windows Applications. You can even automate applications and objects
created using the Professional or Enterprise editions of Visual Basic.
3. Internet capabilities make it easy to provide access to documents and
applications across the Internet or Intranet from within your application,
or to create Internet server applications.
4. Your finished application is a true .exe file that uses a Visual Basic
Virtual Machine that you can freely distribute.

Visual Basic has an IDE. IDE means Integrated Development Environment.


The Visual Basic Integrated Development Environment (IDE) consists of the
following elements.
MENU BAR

Displays the commands you use to work with Visual Basic. Besides and
Standard File, Edit, View, Window, and Help menus, menus are provided to access
functions specific to programming such as Project, Format, or Debug.
CONTEXT MENUS
Contain shortcuts to frequently performed actions. To open a context menu,
click the right mouse button on the object youre using. The specific list of
shortcuts available from context menus depends on the part of the environment
where you click the right mouse button. For example, the context menu displayed
when you right click on the Toolbox lets you display the components dialog box,
hide the Toolbox, dock or undock the Toolbox, or add a custom tab to the Toolbox.

TOOLBARS
Provide quick access to commonly used commands in the programming
environment. You click a button on the toolbar once to carry out the action
represented by that button. By default, the standard toolbar is displayed when you
start Visual Basic. Additional toolbars for editing, form design, and debugging can
be toggled on or off from the toolbars command on the view menu.
Toolbars can be docked beneath the menu bar or can float if you select
the vertical bar on the left edge and drag it away from the menu bar.
TOOL BOX
Provide a set of tools that you use at design time to place controls on a
form. In addition to the default toolbox layout, you can create your own custom

layouts by selecting Add Tab from the context menu and adding control on the
resulting tab.

PROJECT EXPLORER WINDOW


List the forms and modules in your current project. A project is the
collection of files you use to build an application.
PROPERTIES WINDOW
Lists the property settings for the selected form or control. A property is a
characteristic of an object, such as size, caption, or color.

OBJECT BROWSER
List objects available for use in your project and gives you a quick way to
navigate through your code. You can use the object browser to explore objects in
Visual Basic and other applications, see what methods and properties are available
for those objects, and paste code procedures into your application.
FORM DESIGNER
Servers as a window that you customize to design the interface of your
application. You add controls, graphics, and picture to a form to create the look
you want. Each form in your application has its own form designer window.
CODE EDITOR WINDOW
Server as an editor for entering application code. A separate code editor
window is created for form or code module in your application.
FORM LAYOUT WINDOW

The form layout window allows you to position the forms in your
application using a small graphical representation of the screen.
IMMEDIATE, LOCALS, AND WATCH WINDOWS:
These additional windows are provided for use in debugging your
application. They are only available when you are running your application within
the IDE.

4.3 MS ACCESS 7.0


MS ACCESS 7.0 is a DBMS (Database Management Systems) for storing

Data. Using this we can provide flexibility for the storing records easily. MS
ACCESS 7.0 is having more features. They are
Easy database and space management
Many transaction processing performance
High availability
Industry accepted standards
Manageable security
Database enforceability
Client/Server environment
Distributed database systems
Portability
Compatibility
Connectivity
DML refers to Data Manipulation Language, which allows user to
manipulate the Database records. Here commands like Delete, insert, Update are
belong to DML commands.
Also Access allows us to define Indexes, which will minimize our
searching time and we can define more level of Indexes. Another best feature of
the Access is Creating Views to get better access to the database.
MS Access 7.0 supports more Data Types such as Integer, Text, Date/Time,
Double, Memo, Single etc., for storing data.

CHAPTER - 5
SYSTEM DESIGN
5.1 DATA FLOW DIAGRAM
Data Flow Diagram is a way of expressing system requirements in a
graphical form. This leads to a modular design. A DFD also known as "Bubble
chart" has the purpose of clarifying system requirements and identifying major
transformations that will become programs in system design.
So, it is the starting point of design phase that functionally decomposes the
requirements specifications down to the lowest level of details. A DFD consists of
a series of bubbles joined by lines. The bubbles represent data transformations and
the line represents the data flows in the system.

LIBRARY INFORMATION MAINTENANCE SYSTEM

Master
Informatio
n

Book Issue
and returns

Student &
Staff Log

Modules Description

Reports

Supplier ID, Name

CD/Journal Entry

Book title, author, edition,accno


Validation

Book Details

Accession
Entry

Book database
Title, author, accno

Students/
Staff Log

Issue Entry
Process

Return
Process

ID, time, purpose


Ret_date,ID
log register

students/Staff DB

itID, dept,Name, address

Staff or Student
Details

validation

Entry
Process

DATA FLOW DIAGRAM

Reports

6.2 TABLE DESIGN

Table Name: bookdetails


FIELD NAME

Primary Key: accno


DATA

SIZE

DESCRIPTION

50

Book Category

Category

TYPE
Text

Title

Text

50

Title of the book

Author

Text

50

Author of book

Accno
Edition

Double
Text

8
20

Accession Number
Edition of book

Pub_year

Double

Publishing year

CopyType

Text

50

Type of copy

Price

Double

Price

Noofpage_volume

Text

50

Number of pages

Dated

Date/Time

Date of Publishing

Publisher_Address

Text

50

Publisher address

BillNo_Date

Text

50

Bill Number/Date

Vendor_Supplier

Text

50

Supplier

Remarks

Text

50

Any other remarks

Status

Text

50

Status of book

Publisher

Text

50

Publisher

Supplier

Text

50

Supplier address

Isbn

Text

50

ISBN Number

Table Name: Issue

Primary Key: accno,date_of_issue

FIELD NAME

DATA TYPE

SIZE

DESCRIPTION

Member_ID

Text

50

Member ID

Staff_Student

Text

50

Staff or student

Accno

Double

Accno

Title
Author

Text
Text

50
50

Title
Author

Date_Of_Issue

Date/Time

Date of issue

Due_Date

Date/Time

Last Date

Status

Text

50

Status of book

No_ofdays

Double

Number of days

Category

Text

50

Category of book

Table Name: Journal

Primary Key: Journal_Name

FIELD NAME

DATA TYPE

SIZE

DESCRIPTION

Journal_Name

Text

50

Name of journal

Subn_No

Text

50

Subscription No.

Periodicity

Text

50

Periodicity

Period_From
Subn_Amt

Date/Time
Double

8
8

Period From
Subscription amount

DDNO_Date

Text

50

DD date

DDFavourof

Text

50

DD Favor of

ISBN

Text

50

ISBN Number

Editor_Name

Text

50

Editor Name

National_International

Text

50

Type of journal

Publsr_Address

Text

50

Publisher Address

Category

Text

50

Category of book

Period_To

Date/Time

Period Limit

Table Name: logregister

Primary Key: dated,member_id, time_in

FIELD NAME

DATA TYPE

SIZE

DESCRIPTION

Dated

Date/Time

Date of Log in

member_ID

Text

50

Member Id

Member_Name

Text

50

Member Name

Time_In
Time_Out

Date/Time
Date/Time

8
8

Time in
Time out

Purpose

Text

50

Purpose

Table Name: Return


FIELD NAME

Primary Key: Member_id, Date_returned


SIZE

DESCRIPTION

Accno

DATA TYPE
Double

Accession Number

Title

Text

50

Title of book

Author

Text

50

Author Name

Member_Id
Member_Name

50
50

Member ID
Member Name

Dateof_Issue

Text
Text
Date/Time

Date of issue

Due_Dated

Date/Time

Due Date

Date_Returned

Date/Time

Date Returned

Fine

Double

Fine if any

Remarks

Text

50

Other Remarks

Table Name: staff_master

Primary Key: Member_Id

FIELD NAME

DATA TYPE

SIZE

DESCRIPTION

Dept

Text

50

Department

Staff_Name

Text

50

Staff Name

Designation

Text

50

Designation

Gender
Address

Text
Text

50
50

Gender
Staff Address

Member_Id

Double

Member ID

T1

Text

8
10

T2

Text

10

Token Number
Token Number

T3

Text

10

Token Number

T4

Text

10

Token Number

T5

Text

10

Token Number

T6

Text

10

Token Number

T7

Text

10

Token Number

Remarks

Text

10

Other Remarks

Table Name: Student_master

Primary Key: Rollno

FIELD NAME

DATA TYPE

SIZE

DESCRIPTION

Course

Text

50

Course Name

Branch

Text

50

Branch

Batch

Double

Batch year

Gender
Student_Name

Text
Text

50
50

Gender
Name of student

Rollno

Text

10

Roll Number

Mem_NO

Text

20

First_Token

Text

20

Member Number
First token number

Text

20

Second Token
Number
Address of student

50

Other Remarks

Second_Token
Address

Memo

Remarks

Text

Table Name: Issuerep


FIELD NAME

DATA TYPE

SIZE

DESCRIPTION

Dated

Date/Time

Date of Issue

Sno

Double

Serial Number

Member_Id

Text

50

Member ID

Name
Acc_No

Text
Text

50
50

Name
Accession Number

Title

Text

50

Title of book

Auther

Text

50

Author of book

Due_Date

Date/Time

Due date

Table Name: Issuerep


FIELD NAME

DATA TYPE

SIZE

DESCRIPTION

Dated

Date/Time

Date of Issue

Sno

Double

Serial Number

Member_Id

Text

50

Member ID

Name
Acc_No

Text
Text

50
50

Name of person
Accession Number

Title

Text

50

Title of book

Auther

Text

50

Author of book

Due_Date

Date/Time

Due date

Table Name: Returnrep


FIELD NAME

DATA TYPE

SIZE

DESCRIPTION

Dated

Date/Time

Date of rerutn

Category

Text

50

Category of book

Sno

Integer

Serial Number

Name
Member_Id

Text
Text

50
20

Name of person
Member ID

Accno

Double

Accession Number

Title

Text

50

Title of book

Author

Text

50

Author of book

Table Name: Staffrep


FIELD NAME

DATA TYPE

SIZE DESCRIPTION

Department

Text

50

Department

Sno

Integer

Serial Number

Name

Text

50

Name of Person

Designation
Member_ID

Text
Text

50
20

Designation
Member ID

Table Name: Studrep


FIELD NAME

DATA TYPE

SIZE DESCRIPTION

Course

Text

50

Course

Branch

50

Branch of department

Batch

Text
Double

Batch Year

Year
Sno

Text
Integer

50
2

Year of studying
Serial Number

Rollno

Text

20

Roll Number

Name

Text

50

Name

CHAPTER 6
SYSTEM ANALYSIS
6.1. PROBLEM DEFINITION

Major tasks of any Library Information System are Book Details


maintenance, Issue Details, Return Details and so on. These activities will be
maintained via computer systems.
There are many problems exist in Information Management of any concern.
There may be some inconvenient in solving some problems arising during manual
processing. Among these i) Searching is one of the major problems in general and
ii) Inventory Management problems like problems in handling the invoicing or
billing.
Records may be scattered in more than one records/files and it is difficult to
search a particular record. It is a time consuming process and tedious one.
Firstly, if we computerize the inventory like process, searching will be easy
and we need not maintain more manual records/files.
Secondly, computer system has characteristic diligence means it will not
get tired and work continuously. Thirdly, managing records via computer is less
cost than manual.

6.2 PROJECT DESCRIPTION


The main objective of this project is to computerize the Library of
Arulmigu Kalasalingam College of Arts and Science, Krishnankoil. This project
mainly deals with the procurement of Books to library and Controlling and
monitoring the Issue and Returning strategies.
The project consist of four main modules
MASTER INFORMATION
BOOK ISSUE AND RETURNS
STUDENT AND STAFF LOG
REPORTS
MASTER INFORMATION
This module is responsible for the storing the book details, staff details and
student details, journal and CD details maintained in the library. This module
consists of sub modules such as,
Accession Register
Student Master
Staff Master
Journal Entry

Accession Register
This component details with the book Master information such as Book
title, Author name, Accession number, Rate, ISBN, Edition, Publisher Name and
Address, CD packs and so on. This module is integrated with Issue, Return
modules as for reference.
Student Master
This module is used to store student information such as Student Name Roll
Number, Address, Token Number details, Department, Branch, Batch and so on.
Also this module having facilities to add, modify, delete any information at any
time.
Staff Master
This module is used to store staff details such as staff name, department,
address, token numbers, designation and etc.
Journal Entry
Journal entry module is used to gather information about the various
journals used in the library. It includes information such as journal name,
subscription amount, period, ISBN, editor, publisher name and address and so on.
BOOK ISSUE AND RETURNS
This is the second major module which performs most of the operational
processing for library. This module consists of two sub modules.
Issue Register
Return Register

Issue Register
Issue register stores information such as Book Issue date, title, author,
accession number, token number, due date in which book must be returned.
Return Register
This module is used to enter return transaction information such as
Accession number, token number, title, author, issue date, returned date, fine if any
and so on.
STUDENT AND STAFF LOG
This is a module in which student and staff log information into library is
stored. This module contains information such as roll number of student, Date of
log, time in and time out with the purpose.
REPORTS
This is the final module which is used to produce dynamic and timely
reports based on the needed format. This package can generate the following
reports
Book Details Reports
Student Details Reports
Staff Details Reports
Log Register Reports
Journal Entry Reports
Book Issue Details Reports
Book Return Details Reports
Non Returns Report

5.3 USER INTERFACE


This software is designed using the standard design techniques stated by
SDE Tools. End user can easily interface with this project by clicking the easily
identified menus using mouse and keyboard.
This user friendly project is made up of advanced software tools such as
DAO (DATA ACCESS OBJECT) Control, Grid Controls, and many other user
support the project.
This project requires minimum learning time to know about how to access
the project.
Easy Navigation is one of the best properties of this project. Each and every
step performed by user validated so there is no chance to meet the error. In some
situations, if error occurs it will show the user what type of error is occurred and
user can easily identify and rectify it.

CHAPTER 7
IMPLEMENTATION AND TESTING
IMPLEMENTATION
This project entitled LIBRARY INFORMATION MAINTENANCE
SYSTEM implemented in the A.K.COLLEGE OF ARTS AND SCIENCE,
ANAND NAGAR, KRISHNANKOIL 626 126. Implementation is the third
step or stage in a Software Development Life Cycle (SDLC).
Implementation of this project requires a system with a WINDOWS
platform and 1GB RAM or primary memory to run. This is a portable software
and it is easy to maintain and modifiable. Implementation also requires Visual
Basic 6.0 (as a Front End Tool) and MS Access 7.0 (as a Back End Tool).
In future, modification will require the minimum changes and project also
follows the code optimization rules and avoids redundant coding.
This project was implemented and Tested successfully under the rules of
Software Engineering and System Analysis and Design. This project was
implemented using Database Connectivity DAO (Data Access Object) for
connecting Front End and Back End.
Also this project implemented with security in code level and database
level. So unauthorized users cant access the internal data related to the concern.

TESTING
This project follows a Bottom-up Design Strategy in which, the large
problem is divided into set of sub modules and solved separately. Finally the
solutions of those are mingled to get final solution of the required large problem.
Here Test Procedures refer to the set of rules that check each module, unit
and statement of codes. Generally Software Engineering follows a set of Testing
such as Unit Testing, Acceptance Testing and etc. for the validation and testing of
modules, their performance, structure, data acceptance and etc.
Here we are having number of Test Procedures. They are,
Module wise Testing on their Integration
Testing whether all modules getting correct data in the correct
form. Whether they can inform user what error occurred and how
to correct it if any error occurs during data entry or execution.
Testing whether it is easy to modify any record and when it will
become difficult?
Testing execution time and performance of each module and
whole.
Testing of syntactical and logical errors and debugging
procedures.
Testing of security rules defined Integrity constraints, Row level
constraints and record level constraints if defined.
Thus we must perform more tests in the project to increase its Quality and
Performance. Each project will shine based on its Quality and its distinguishable
features from other projects. This project developed after implementing all the
above Test Procedures.

SAMPLE SOURCE CODE


ACCESSION REGISTER
Private Sub Combo1_Click()
Data2.RecordSource = "select distinct title from bookdetails where
category='" & Combo1.Text & "'"
Data2.Refresh
Combo2.clear
Data2.Recordset.MoveFirst
Do While Data2.Recordset.EOF = False
Combo2.AddItem Data2.Recordset(0)
Data2.Recordset.MoveNext
Loop
End Sub
Private Sub Combo10_Change()
Data3.RecordSource = "select * from bookdetails where pub_year=" &
Val(Combo10.Text)
Data3.Refresh
Text9.Text = Data3.Recordset.RecordCount
End Sub
Private Sub Combo10_Click()
Data3.RecordSource = "select * from bookdetails where pub_year=" &
Val(Combo10.Text)
Data3.Refresh
Text9.Text = Data3.Recordset.RecordCount
End Sub
Private Sub Combo13_Change()

Data3.RecordSource = "select * from bookdetails where publisher='" &


Combo13.Text & "'"
Data3.Refresh
Text9.Text = Data3.Recordset.RecordCount
End Sub
Private Sub Combo13_Click()
Data3.RecordSource = "select * from bookdetails where publisher='" &
Combo13.Text & "'"
Data3.Refresh
Text9.Text = Data3.Recordset.RecordCount
End Sub
Private Sub Combo14_Change()
Data3.RecordSource = "select * from bookdetails where supplier='" &
Combo14.Text & "'"
Data3.Refresh
Text9.Text = Data3.Recordset.RecordCount
End Sub
Private Sub Combo14_Click()
Data3.RecordSource = "select * from bookdetails where supplier='" &
Combo14.Text & "'"
Data3.Refresh
Text9.Text = Data3.Recordset.RecordCount
End Sub
Private Sub Combo2_Click()
Combo3.clear

Data2.RecordSource = "select distinct author from bookdetails where


category='" & Combo1.Text & "' and title='" & Combo2.Text & "'"
Data2.Refresh
Data2.Recordset.MoveFirst
Do While Data2.Recordset.EOF = False
Combo3.AddItem Data2.Recordset(0)
Data2.Recordset.MoveNext
Loop
End Sub
Private Sub Combo6_Change()
On Error Resume Next
Data3.RecordSource = "select * from bookdetails where left(category," &
Len(Combo6.Text) & ")='" & Combo6.Text & "'"
Data3.Refresh
DBGrid1.Refresh
Combo7.clear
Text9.Text = Data3.Recordset.RecordCount
Data2.RecordSource = "select distinct title from bookdetails where
category='" & Combo6.Text & "'"
Data2.Refresh
Data2.Recordset.MoveFirst
Do While Data2.Recordset.EOF = False
Combo7.AddItem Data2.Recordset(0)
Data2.Recordset.MoveNext
Loop
End Sub
Private Sub Combo6_Click()

Data3.RecordSource = "select * from bookdetails where left(category," &


Len(Combo6.Text) & ")='" & Combo6.Text & "'"
Data3.Refresh
DBGrid1.Refresh
Combo7.clear
Text9.Text = Data3.Recordset.RecordCount
Data2.RecordSource = "select distinct title from bookdetails where
category='" & Combo6.Text & "'"
Data2.Refresh
Data2.Recordset.MoveFirst
Do While Data2.Recordset.EOF = False
Combo7.AddItem Data2.Recordset(0)
Data2.Recordset.MoveNext
Loop
End Sub
Private Sub Combo7_Change()
On Error Resume Next
Data3.RecordSource = "select * from bookdetails where category='" &
Combo6.Text & "' and left(title," & Len(Combo7.Text) & ")='" &
Combo7.Text & "'"
Data3.Refresh
DBGrid1.Refresh

Data2.RecordSource = "select distinct author from bookdetails where


category='" & Combo6.Text & "' and title='" & Combo7.Text & "'"
Data2.Refresh
Combo8.clear
Data2.Recordset.MoveFirst
Do While Data2.Recordset.EOF = False
Combo8.AddItem Data2.Recordset(0)
Data2.Recordset.MoveNext
Loop

Text9.Text = Data3.Recordset.RecordCount
End Sub
Private Sub Combo7_Click()
Data3.RecordSource = "select * from bookdetails where category='" &
Combo6.Text & "' and left(title," & Len(Combo7.Text) & ")='" &
Combo7.Text & "'"
Data3.Refresh
DBGrid1.Refresh

Data2.RecordSource = "select distinct author from bookdetails where


category='" & Combo6.Text & "' and title='" & Combo7.Text & "'"
Data2.Refresh
Combo8.clear

Data2.Recordset.MoveFirst
Do While Data2.Recordset.EOF = False
Combo8.AddItem Data2.Recordset(0)
Data2.Recordset.MoveNext
Loop

Text9.Text = Data3.Recordset.RecordCount
End Sub
Private Sub Combo8_Change()
Data3.RecordSource = "select * from bookdetails where category='" &
Combo6.Text & "' and title='" & Combo7.Text & "' and author='" &
Combo8.Text & "'"
Data3.Refresh
DBGrid1.Refresh
Text9.Text = Data3.Recordset.RecordCount
End Sub
Private Sub Combo8_Click()
Data3.RecordSource = "select * from bookdetails where category='" &
Combo6.Text & "' and title='" & Combo7.Text & "' and author='" &
Combo8.Text & "'"
Data3.Refresh
DBGrid1.Refresh
Text9.Text = Data3.Recordset.RecordCount
End Sub
Private Sub Combo9_Change()
On Error Resume Next
Data3.RecordSource = "select * from bookdetails where accno=" &
Val(Combo9.Text)

Data3.Refresh
DBGrid1.Refresh
Text9.Text = Data3.Recordset.RecordCount
End Sub
Private Sub Combo9_Click()
Data3.RecordSource = "select * from bookdetails where accno=" &
Val(Combo9.Text)
Data3.Refresh
DBGrid1.Refresh
Text9.Text = Data3.Recordset.RecordCount
End Sub
Private Sub Command1_Click()
'On Error GoTo t:
Dim i
If Combo1.Text = "" Or Combo2.Text = "" Or Combo3.Text = "" Or
Text1.Text = "" Then
a = MsgBox("Enter atleast Category,Title, Author and Accession Number to
save", vbInformation + vbOKOnly, "Help")
Exit Sub
End If
If Val(Text8.Text) > 0 Then
For i = Val(Text1.Text) To Val(Text8.Text)
Data1.RecordSource = "select * from bookdetails"
Data1.Refresh
Data1.Recordset.AddNew
Data1.Recordset(0) = Combo1.Text

Data1.Recordset(1) = Combo2.Text
Data1.Recordset(2) = Combo3.Text
Data1.Recordset(3) = i
Data1.Recordset(4) = Combo4.Text
Data1.Recordset(5) = Val(Combo5.Text)
If Option1.Value = True Then
Data1.Recordset(6) = "Issue"
End If
If Option2.Value = True Then
Data1.Recordset(6) = "Reference"
End If
Data1.Recordset(7) = Val(Text6.Text)
Data1.Recordset(8) = Combo3.Text
Data1.Recordset(9) = DTPicker1.Value
Data1.Recordset(10) = Text2.Text
Data1.Recordset(11) = Text4.Text
Data1.Recordset(12) = Text5.Text
Data1.Recordset(13) = Text7.Text
Data1.Recordset(14) = "Available"
Data1.Recordset(15) = Combo11.Text
Data1.Recordset(16) = Combo12.Text
Data1.Recordset(17) = LTrim(Text10.Text)
Data1.Recordset.Update
Next
MsgBox ("Saved")
Call clear

Combo1.clear
Data2.RecordSource = "select distinct category from bookdetails"
Data2.Refresh
Data2.Recordset.MoveFirst
Do While Data2.Recordset.EOF = False
Combo1.AddItem Data2.Recordset(0)
Data2.Recordset.MoveNext
Loop
Combo4.clear
Data2.RecordSource = "select distinct edition from bookdetails"
Data2.Refresh
Data2.Recordset.MoveFirst
Do While Data2.Recordset.EOF = False
Combo4.AddItem Data2.Recordset(0)
Data2.Recordset.MoveNext
Loop
Option1.Value = True
Combo11.clear
Combo13.clear
Data2.RecordSource = "select distinct publisher from bookdetails"
Data2.Refresh
Data2.Recordset.MoveFirst
Do While Data2.Recordset.EOF = False
Combo11.AddItem Data2.Recordset(0)
Combo13.AddItem Data2.Recordset(0)
Data2.Recordset.MoveNext

Loop
Combo12.clear
Data2.RecordSource = "select distinct supplier from bookdetails"
Data2.Refresh
Data2.Recordset.MoveFirst
Do While Data2.Recordset.EOF = False
Combo12.AddItem Data2.Recordset(0)
Combo14.AddItem Data2.Recordset(0)
Data2.Recordset.MoveNext
Loop

Else

Data1.Recordset.AddNew
Data1.Recordset(0) = Combo1.Text
Data1.Recordset(1) = Combo2.Text
Data1.Recordset(2) = Combo3.Text
Data1.Recordset(3) = Val(Text1.Text)
Data1.Recordset(4) = Combo4.Text
Data1.Recordset(5) = Val(Combo5.Text)
If Option1.Value = True Then
Data1.Recordset(6) = "Issue"
End If
If Option2.Value = True Then
Data1.Recordset(6) = "Reference"

End If
Data1.Recordset(7) = Val(Text6.Text)
Data1.Recordset(8) = Combo3.Text
Data1.Recordset(9) = DTPicker1.Value
Data1.Recordset(10) = Text2.Text
Data1.Recordset(11) = Text4.Text
Data1.Recordset(12) = Text5.Text
Data1.Recordset(13) = Text7.Text
Data1.Recordset(14) = "Available"
Data1.Recordset(15) = Combo11.Text
Data1.Recordset(16) = Combo12.Text
Data1.Recordset(17) = LTrim(Text10.Text)
Data1.Recordset.Update
MsgBox ("Saved")
Call clear
Combo1.clear
Data2.RecordSource = "select distinct category from bookdetails"
Data2.Refresh
Data2.Recordset.MoveFirst
Do While Data2.Recordset.EOF = False
Combo1.AddItem Data2.Recordset(0)
Data2.Recordset.MoveNext
Loop
Combo4.clear
Data2.RecordSource = "select distinct edition from bookdetails"
Data2.Refresh

Data2.Recordset.MoveFirst
Do While Data2.Recordset.EOF = False
Combo4.AddItem Data2.Recordset(0)
Data2.Recordset.MoveNext
Loop
Option1.Value = True
Combo11.clear
Combo13.clear
Data2.RecordSource = "select distinct publisher from bookdetails"
Data2.Refresh
Data2.Recordset.MoveFirst
Do While Data2.Recordset.EOF = False
Combo11.AddItem Data2.Recordset(0)
Combo13.AddItem Data2.Recordset(0)
Data2.Recordset.MoveNext
Loop
Combo12.clear
Data2.RecordSource = "select distinct supplier from bookdetails"
Data2.Refresh
Data2.Recordset.MoveFirst
Do While Data2.Recordset.EOF = False
Combo12.AddItem Data2.Recordset(0)
Combo14.AddItem Data2.Recordset(0)
Data2.Recordset.MoveNext
Loop

End If
Exit Sub
t:
a = MsgBox("Record Already Entered", vbInformation + vbOKOnly,
"Help")
End Sub
Private Sub clear()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
Text10.Text = ""
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Combo4.Text = ""
Combo5.Text = ""
Combo10.Text = ""
Combo11.Text = ""
Combo12.Text = ""
Combo13.Text = ""
Combo7.Text = ""

Combo8.Text = ""
Combo14.Text = ""
Option1.Value = False
Option2.Value = False
End Sub
Private Sub Command2_Click()
If Combo1.Text = "" Or Combo2.Text = "" Or Combo3.Text = "" Or
Text1.Text = "" Then
a = MsgBox("select the record to delete", vbInformation + vbOKOnly,
"Help")
Exit Sub
End If
a = MsgBox("Are you sure to delete?", vbQuestion + vbYesNo, "Help")
If a = vbYes Then
Data3.Recordset.Delete
End If
Call clear
End Sub
Private Sub Command3_Click()
Frame3.Visible = False
End Sub
Private Sub Command4_Click()
Frame3.Visible = True
Combo9.clear
Data2.RecordSource = "select distinct accno from bookdetails"
Data2.Refresh
Data2.Recordset.MoveFirst

Do While Data2.Recordset.EOF = False


Combo9.AddItem Data2.Recordset(0)
Data2.Recordset.MoveNext
Loop
Combo6.clear
Data2.RecordSource = "select distinct category from bookdetails"
Data2.Refresh
Data2.Recordset.MoveFirst
Do While Data2.Recordset.EOF = False
Combo6.AddItem Data2.Recordset(0)
Data2.Recordset.MoveNext
Loop

End Sub
Private Sub Command5_Click()
Frame3.Visible = False
End Sub
Private Sub Command6_Click()
On Error GoTo t:
Data3.RecordSource = "select * from bookdetails where category='" &
Combo6.Text & "' and title='" & Combo7.Text & "' and author='" &
Combo8.Text & "' and copytype='Issue' and status='Available'"
Data3.Refresh
Data3.Recordset.MoveFirst
Label21.Caption = "Book Available"
Exit Sub

t:
Label21.Caption = "Book Not Available"
Data3.RecordSource = "select * from bookdetails where category='" &
Combo6.Text & "' and title='" & Combo7.Text & "' and author='" &
Combo8.Text & "'"
Data3.Refresh
End Sub
Private Sub Command7_Click()
Call clear
End Sub
Private Sub Command8_Click()
Form7.Show
Unload Me
End Sub
Private Sub Command9_Click()
Form8.Show
End Sub
Private Sub DBGrid1_DblClick()
Combo1.Text = Data3.Recordset(0)
Combo2.Text = Data3.Recordset(1)
Combo3.Text = Data3.Recordset(2)
Text1.Text = Data3.Recordset(3)
Combo4.Text = Data3.Recordset(4)
Combo5.Text = Data3.Recordset(5)

If Data3.Recordset(6) = "Issue" Then


Option1.Value = True
Else
Option1.Value = False
End If
Text6.Text = Data3.Recordset(7)
Combo3.Text = Data3.Recordset(8)
DTPicker1.Value = Data3.Recordset(9)
Text2.Text = Data3.Recordset(10)
Text4.Text = Data3.Recordset(11)
Text5.Text = Data3.Recordset(12)
Text7.Text = Data3.Recordset(13)
Frame3.Visible = False
End Sub
Private Sub Form_Activate()
On Error Resume Next
Call clear
Frame3.Visible = False
For i = 1900 To 3000
Combo5.AddItem i
Combo10.AddItem i
Next
Data2.RecordSource = "select distinct category from bookdetails"
Data2.Refresh
Data2.Recordset.MoveFirst
Do While Data2.Recordset.EOF = False
Combo1.AddItem Data2.Recordset(0)

Data2.Recordset.MoveNext
Loop
Data2.RecordSource = "select distinct edition from bookdetails"
Data2.Refresh
Data2.Recordset.MoveFirst
Do While Data2.Recordset.EOF = False
Combo4.AddItem Data2.Recordset(0)
Data2.Recordset.MoveNext
Loop
Option1.Value = True
Data2.RecordSource = "select distinct publisher from bookdetails"
Data2.Refresh
Data2.Recordset.MoveFirst
Do While Data2.Recordset.EOF = False
Combo11.AddItem Data2.Recordset(0)
Combo13.AddItem Data2.Recordset(0)
Data2.Recordset.MoveNext
Loop
Data2.RecordSource = "select distinct supplier from bookdetails"
Data2.Refresh
Data2.Recordset.MoveFirst
Do While Data2.Recordset.EOF = False
Combo12.AddItem Data2.Recordset(0)
Combo14.AddItem Data2.Recordset(0)
Data2.Recordset.MoveNext

Loop
End Sub
Private Sub Option3_Click()
If Option3.Value = True Then
Data3.RecordSource = "select * from bookdetails where copytype='Issue'
and category='" & Combo6.Text & "'"
Data3.Refresh
Text9.Text = Data3.Recordset.RecordCount
End If
End Sub
Private Sub Option4_Click()
If Option4.Value = True Then
Data3.RecordSource = "select * from bookdetails where
copytype='Reference' and category='" & Combo6.Text & "'"
Data3.Refresh
Text9.Text = Data3.Recordset.RecordCount
End If
End Sub
Private Sub Text1_Change()
Text8.Text = Text1.Text
End Sub

STUDENT MASTER

Dim sno As Integer


Private Sub Combo1_Click()
Combo2.clear
Data1.RecordSource = "select distinct branch from student_master where
course='" & Combo1.Text & "'"
Data1.Refresh
Data1.Recordset.MoveFirst
Do While Data1.Recordset.EOF = False
Combo2.AddItem Data1.Recordset(0)
Data1.Recordset.MoveNext
Loop
Data3.RecordSource = "select * from student_master where course='" &
Combo1.Text & "'"
Data3.Refresh
DBGrid1.Refresh

End Sub
Private Sub Combo2_Click()
Data3.RecordSource = "select * from student_master where course='" &
Combo1.Text & "' and branch='" & Combo2.Text & "'"

Data3.Refresh
DBGrid1.Refresh
End Sub
Private Sub Combo3_Click()
Data3.RecordSource = "select * from student_master where course='" &
Combo1.Text & "' and branch='" & Combo2.Text & "' and batch=" &
Val(Combo3.Text)
Data3.Refresh
DBGrid1.Refresh
End Sub
Private Sub Command1_Click()
On Error GoTo t:
If Combo1.Text = "" Or Combo2.Text = "" Or Combo3.Text = "" Or
Text1.Text = "" Or Text2.Text = "" Or Text3.Text = "" Then
a = MsgBox("Enter all the fields and continue", vbInformation +
vbOKOnly, "Help")
Exit Sub
End If
Data2.RecordSource = "select * from student_master"
Data2.Refresh
Data2.Recordset.AddNew
Data2.Recordset(0) = Combo1.Text
Data2.Recordset(1) = Combo2.Text
Data2.Recordset(2) = Val(Combo3.Text)
If Option1.Value = True Then
Data2.Recordset(3) = "Male"
End If

If Option2.Value = True Then


Data2.Recordset(3) = "Female"
End If
Data2.Recordset(4) = Text1.Text
Data2.Recordset(5) = UCase(Text2.Text)
Data2.Recordset(6) = Text3.Text
Data2.Recordset(7) = Text4.Text
Data2.Recordset(8) = Text5.Text
Data2.Recordset(9) = Text6.Text
Data2.Recordset.Update
a = MsgBox("Record Updated", vbInformation + vbOKOnly, "Help")
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text6.Text = ""
Text1.SetFocus
Exit Sub
t:
a = MsgBox("Data Entry Error. Check typing or duplication mistakes",
vbExclamation + vbOKOnly, "Help")
End Sub
Private Sub Command2_Click()
Combo1.clear
Data1.RecordSource = "select distinct course from student_master"
Data1.Refresh
Data1.Recordset.MoveFirst
Do While Data1.Recordset.EOF = False
Combo1.AddItem Data1.Recordset(0)

Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Command3_Click()
Frame3.Visible = True
End Sub
Private Sub Command4_Click()
Frame3.Visible = False
End Sub
Private Sub Command5_Click()
Form7.Show
Unload Me
End Sub
Private Sub Command6_Click()
On Error Resume Next
Data4.RecordSource = "select * from studrep"
Data4.Refresh
Data4.Recordset.MoveFirst
Do While Data4.Recordset.EOF = False
Data4.Recordset.Delete
Data4.Recordset.MoveNext
Loop
sno = 0

Data2.RecordSource = "select * from student_master where course='" &


LTrim(Combo1.Text) & "' and branch='" & LTrim(Combo2.Text) & "' and
batch=" & Val(Combo3.Text) & " order by rollno"
Data2.Refresh
Data2.Recordset.MoveFirst
Data4.RecordSource = "select * from studrep"
Data4.Refresh
Do While Data2.Recordset.EOF = False
sno = sno + 1
Data4.Recordset.AddNew
Data4.Recordset(0) = LTrim(Combo1.Text)
Data4.Recordset(1) = LTrim(Combo2.Text)
Data4.Recordset(2) = Val(Combo3.Text)
If Year(Date) = Val(Combo3.Text) Then
Data4.Recordset(3) = "I Year"
ElseIf Year(Date) - Val(Combo3.Text) = 1 Then
Data4.Recordset(3) = "II Year"
ElseIf Year(Date) - Val(Combo3.Text) = 2 Then
Data4.Recordset(3) = "III Year"
End If
Data4.Recordset(4) = sno
Data4.Recordset(5) = Data2.Recordset(5)
Data4.Recordset(6) = Data2.Recordset(4)
Data4.Recordset.Update
Data2.Recordset.MoveNext

Loop
Data4.Refresh
Unload DataEnvironment1
DataReport3.Show

End Sub
Private Sub DBGrid1_MouseDown(Button As Integer, Shift As Integer, X As
Single, Y As Single)
If Button = 2 Then
Form1.PopupMenu side
End If
End Sub
Private Sub del_Click()
a = MsgBox("Are you sure to delete", vbQuestion + vbYesNo, "Help")
If a = vbYes Then
Data3.Recordset.Delete
Else
Exit Sub
End If
End Sub
Private Sub Form_Activate()
On Error Resume Next

Data1.RecordSource = "select distinct course from student_master"


Data1.Refresh
Data1.Recordset.MoveFirst
Do While Data1.Recordset.EOF = False
Combo1.AddItem Data1.Recordset(0)
Data1.Recordset.MoveNext
Loop
For i = Year(Date) To 1995 Step -1
Combo3.AddItem i
Next
Call clear
Frame3.Visible = False
End Sub
Private Sub clear()
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
End Sub
Private Sub Option1_Click()
If Option1.Value = True Then

Data3.RecordSource = "select * from student_master where course='" &


Combo1.Text & "' and branch='" & Combo2.Text & "' and batch=" &
Val(Combo3.Text) & " and gender='Male'"
Data3.Refresh
DBGrid1.Refresh
End If
End Sub
Private Sub Option2_Click()
If Option2.Value = True Then
Data3.RecordSource = "select * from student_master where course='" &
Combo1.Text & "' and branch='" & Combo2.Text & "' and batch=" &
Val(Combo3.Text) & " and gender='Female'"
Data3.Refresh
DBGrid1.Refresh
End If
End Sub
Private Sub Text1_Change()
Data3.RecordSource = "select * from student_master where course='" &
Combo1.Text & "' and branch='" & Combo2.Text & "' and batch=" &
Val(Combo3.Text) & " and left(student_name," & Len(Text1.Text) & ")='" &
LTrim(Text1.Text) & "'"
Data3.Refresh
DBGrid1.Refresh
End Sub
Private Sub Text2_Change()
Text3.Text = Text2.Text & "/1"
Text4.Text = Text2.Text & "/2"
Text5.Text = Text2.Text & "/3"

Data3.RecordSource = "select * from student_master where left(rollno," &


Len(Text2.Text) & ")='" & LTrim(Text2.Text) & "'"
Data3.Refresh
DBGrid1.Refresh
End Sub
Private Sub Text3_Change()
Text4.Text = Text3.Text & "/1"
Text5.Text = Text3.Text & "/2"
Data3.RecordSource = "select * from student_master where mem_no='" &
Val(Text3.Text) & "'"
Data3.Refresh
DBGrid1.Refresh
End Sub

STAFF MASTER
Dim sno As Integer
Private Sub Combo1_Click()
Data3.RecordSource = "select * from staff_master where dept='" &
Combo1.Text & "'"
Data3.Refresh
DBGrid1.Refresh
End Sub
Private Sub Combo2_Click()
Data3.RecordSource = "select * from staff_master where designation='" &
Combo2.Text & "'"

Data3.Refresh
End Sub
Private Sub Command1_Click()
'On Error GoTo t:
If Combo1.Text = "" Or Text1.Text = "" Or Text3.Text = "" Then
a = MsgBox("Enter atleast Name,Department and Member ID",
vbInformation + vbOKOnly, "Help")
Exit Sub
End If
Data1.RecordSource = "select * from staff_master"
Data1.Refresh
Data1.Recordset.AddNew
Data1.Recordset(0) = LTrim(Combo1.Text)
Data1.Recordset(1) = LTrim(Text1.Text)
Data1.Recordset(2) = LTrim(Combo2.Text)
If Option1.Value = True Then
Data1.Recordset(3) = "M"
Else
Data1.Recordset(3) = "F"
End If
Data1.Recordset(4) = LTrim(Text2.Text)
Data1.Recordset(5) = Val(Text3.Text)
Data1.Recordset(6) = LTrim(Text4.Text)
Data1.Recordset(7) = LTrim(Text5.Text)
Data1.Recordset(8) = LTrim(Text6.Text)
Data1.Recordset(9) = LTrim(Text7.Text)

Data1.Recordset(10) = LTrim(Text8.Text)
Data1.Recordset(11) = LTrim(Text9.Text)
Data1.Recordset(12) = LTrim(Text10.Text)
Data1.Recordset.Update
a = MsgBox("Record Updated", vbInformation + vbOKOnly, "Help")
Combo1.clear
Data2.RecordSource = "select distinct dept from staff_master"
Data2.Refresh
Data2.Recordset.MoveFirst
Do While Data2.Recordset.EOF = False
Combo1.AddItem Data2.Recordset(0)
Data2.Recordset.MoveNext
Loop
Combo2.clear
Data2.RecordSource = "select distinct designation from staff_master"
Data2.Refresh
Data2.Recordset.MoveFirst
Do While Data2.Recordset.EOF = False
Combo2.AddItem Data2.Recordset(0)
Data2.Recordset.MoveNext
Loop
Call clear
Exit Sub
t:
a = MsgBox("Record already entered or typing error", vbExclamation +
vbOKOnly, "Help")

End Sub
Private Sub Command2_Click()
Form7.Show
Unload Me
End Sub
Private Sub Command3_Click()
On Error Resume Next
Data4.RecordSource = "select * from staffrep"
Data4.Refresh
Data4.Recordset.MoveFirst
Do While Data4.Recordset.EOF = False
Data4.Recordset.Delete
Data4.Recordset.MoveNext
Loop
sno = 0
Data2.RecordSource = "select * from staff_master where dept='" &
LTrim(Combo1.Text) & "'"
Data2.Refresh
Data2.Recordset.MoveFirst
Data4.RecordSource = "select * from staffrep"
Data4.Refresh
Do While Data2.Recordset.EOF = False
sno = sno + 1

Data4.Recordset.AddNew
Data4.Recordset(0) = LTrim(Combo1.Text)
Data4.Recordset(1) = sno
Data4.Recordset(2) = Data2.Recordset(1)
Data4.Recordset(3) = Data2.Recordset(2)
Data4.Recordset(4) = Data2.Recordset(5)
Data4.Recordset.Update
Data2.Recordset.MoveNext
Loop
Data4.Refresh
Unload DataEnvironment1
DataReport4.Show
End Sub
Private Sub Form_Activate()
On Error Resume Next
Data2.RecordSource = "select distinct dept from staff_master"
Data2.Refresh
Data2.Recordset.MoveFirst
Do While Data2.Recordset.EOF = False
Combo1.AddItem Data2.Recordset(0)
Data2.Recordset.MoveNext
Loop
Data2.RecordSource = "select distinct designation from staff_master"
Data2.Refresh
Data2.Recordset.MoveFirst

Do While Data2.Recordset.EOF = False


Combo2.AddItem Data2.Recordset(0)
Data2.Recordset.MoveNext
Loop
End Sub
Private Sub Form_Load()
Call clear
End Sub
Private Sub clear()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
Text10.Text = ""
Combo1.Text = ""
Combo2.Text = ""
End Sub
Private Sub Text1_Change()
Data3.RecordSource = "select * from staff_master where left(staff_name," &
Len(Text1.Text) & ")='" & Text1.Text & "'"
Data3.Refresh

End Sub
Private Sub Text3_Change()
Text4.Text = Text3.Text & "/1"
Text5.Text = Text3.Text & "/2"
Text6.Text = Text3.Text & "/3"
Text7.Text = Text3.Text & "/4"
Text8.Text = Text3.Text & "/5"
Text9.Text = Text3.Text & "/6"
Text10.Text = Text3.Text & "/7"
End Sub

ISSUE REGISTER
Dim sno As Integer
Private Sub Command1_Click()
If Text1.Text = "" Or Text3.Text = "" Then
a = MsgBox("Enter all the fields and continue", vbInformation +
vbOKOnly, "Help")
Exit Sub
End If
Data2.RecordSource = "select * from issue"
Data2.Refresh
Data2.Recordset.AddNew
Data2.Recordset(0) = Text1.Text
Data2.Recordset(1) = Text2.Text

Data2.Recordset(2) = Val(Text3.Text)
Data2.Recordset(3) = Text4.Text
Data2.Recordset(4) = Text5.Text
Data2.Recordset(5) = DTPicker1.Value
Data2.Recordset(6) = DateAdd("d", Val(Text6.Text), DTPicker1.Value)
Data2.Recordset(7) = "Issued"
Data2.Recordset(8) = Val(Text6.Text)
Data2.Recordset(9) = LTrim(Text7.Text)
Data2.Recordset.Update
Data2.Database.Execute "update bookdetails set status='Not Available'
where accno=" & Val(Text3.Text) & " and status='Available'"
Data2.Refresh
a = MsgBox("Issue Successful", vbExclamation + vbOKOnly, "Help")
Call clear
Text1.SetFocus
End Sub
Private Sub Command2_Click()
Form7.Show
Unload Me
End Sub
Private Sub Command3_Click()
On Error Resume Next
Data4.RecordSource = "select * from issuerep"
Data4.Refresh
Data4.Recordset.MoveFirst

Do While Data4.Recordset.EOF = False


Data4.Recordset.Delete
Data4.Recordset.MoveNext
Loop
sno = 0
Data2.RecordSource = "select * from issue where day(date_of_issue)>=" &
Day(DTPicker3.Value) & " and month(date_of_issue)>=" &
Month(DTPicker3.Value) & " and year(date_of_issue)>=" &
Year(DTPicker3.Value) & " and day(date_of_issue)<=" &
Day(DTPicker4.Value) & " and month(date_of_issue)<=" &
Month(DTPicker4.Value) & " and year(date_of_issue)<=" &
Year(DTPicker4.Value) & " order by accno"
Data2.Refresh
Data2.Recordset.MoveFirst
Data4.RecordSource = "select * from issuerep"
Data4.Refresh
Do While Data2.Recordset.EOF = False
sno = sno + 1
Data4.Recordset.AddNew
Data4.Recordset(0) = Data2.Recordset(5)
Data4.Recordset(1) = sno
Data4.Recordset(2) = Data2.Recordset(0)
Data4.Recordset(3) = Data2.Recordset(1)
Data4.Recordset(4) = Data2.Recordset(2)
Data4.Recordset(5) = Data2.Recordset(3)

Data4.Recordset(6) = Data2.Recordset(4)
Data4.Recordset(7) = Data2.Recordset(6)
Data4.Recordset.Update
Data2.Recordset.MoveNext
Loop
Data4.Refresh
Unload DataEnvironment1
DataReport5.Show
End Sub
Private Sub Command4_Click()
Frame4.Visible = False
Frame1.Enabled = True
Frame2.Enabled = True
Frame3.Enabled = False

End Sub
Private Sub Command5_Click()
Frame1.Enabled = False
Frame2.Enabled = False
Frame3.Enabled = False
Frame4.Visible = True
End Sub
Private Sub Command6_Click()

Data1.Database.Execute "update issue set category='Student'"


Data1.Refresh
End Sub
Private Sub DBGrid1_KeyPress(KeyAscii As Integer)
'On Error Resume Next
'Dim d As Date
'If KeyAscii = 13 Then
' a = MsgBox("Do you want to return the book", vbQuestion + vbYesNo,
"Help")
'

If a = vbYes Then

'

Data3.Recordset.Edit

'

Data3.Recordset(7) = "Returned"

'

d = InputBox("Enter the return date")

'

d = Format(d, "mm/dd/yyyy")

'

Data3.Recordset(8) = d

'

Data3.Recordset.Update

'

Data2.Database.Execute "update bookdetails set status='Available'

where accno=" & Data3.Recordset(2) & " and status='Not Available'"


'
'

Data2.Refresh
End If

' End If
End Sub
Private Sub DTPicker1_Change()
DTPicker2.Value = DateAdd("d", Val(Text6.Text), DTPicker1.Value)
End Sub
Private Sub DTPicker1_Click()

DTPicker2.Value = DateAdd("d", Val(Text6.Text), DTPicker1.Value)


End Sub
Private Sub Form_Activate()
Call clear
Frame4.Visible = False
DTPicker3.Value = Date
DTPicker4.Value = Date
End Sub
Private Sub Form_Load()
Text6.Text = 14
DTPicker1.Value = Date
DTPicker2.Value = DateAdd("d", Val(Text6.Text), DTPicker1.Value)
End Sub
Private Sub Text1_Change()
On Error GoTo t:
If Text1.Text = "" Then
Text7.Text = ""
Exit Sub
End If
Data1.RecordSource = "select
mem_no,first_token,second_token,student_name from student_master"
Data1.Refresh
Data1.Recordset.MoveFirst
Do While Data1.Recordset.EOF = False
If UCase(Data1.Recordset(0)) = UCase(Text1.Text) Or
UCase(Data1.Recordset(1)) = UCase(Text1.Text) Or
UCase(Data1.Recordset(2)) = UCase(Text1.Text) Then

Text2.Text = Data1.Recordset(3)
Label2.Caption = "Student Name"
Text7.Text = "Student"
Exit Sub
End If
Data1.Recordset.MoveNext
Loop
Data1.RecordSource = "select member_id,t1,t2,t3,t4,t5,t6,t7,staff_name from
staff_master"
Data1.Refresh
Data1.Recordset.MoveFirst
Do While Data1.Recordset.EOF = False
If Data1.Recordset(0) = Val(Text1.Text) Or Data1.Recordset(1) =
Text1.Text Or Data1.Recordset(2) = Text1.Text Or Data1.Recordset(3) =
Text1.Text Or Data1.Recordset(4) = Text1.Text Or Data1.Recordset(5) =
Text1.Text Or Data1.Recordset(6) = Text1.Text Or Data1.Recordset(7) =
Text1.Text Or Data1.Recordset(8) = Text1.Text Then
Text2.Text = Data1.Recordset(8)
Label2.Caption = "Staff Name"
Text7.Text = "Staff"
Exit Sub
End If
Data1.Recordset.MoveNext
Loop
t:
Text2.Text = ""
Text7.Text = ""
Label2.Caption = "Name"

End Sub
Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Data3.RecordSource = "select * from issue where member_id='" &
Text1.Text & "' and status='Issued'"
Data3.Refresh
End If
End Sub
Private Sub Text3_Change()
On Error Resume Next
Data1.RecordSource = "select title,author from bookdetails where accno=" &
Val(Text3.Text) & " and status='Available'"
Data1.Refresh
Data1.Recordset.MoveFirst
Text4.Text = Data1.Recordset(0)
Text5.Text = Data1.Recordset(1)
Data3.RecordSource = "select * from issue where accno=" & Val(Text3.Text)
& " and status='Issued'"
Data3.Refresh
End Sub
Private Sub Text6_Change()
DTPicker2.Value = DateAdd("d", Val(Text6.Text), DTPicker1.Value)
End Sub
Private Sub clear()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""

Text7.Text = ""
End Sub

RETURN REGISTER
Private Sub Command1_Click()
On Error Resume Next
If Text1.Text = "" Then
Exit Sub
End If
a = MsgBox("Are you sure to return", vbQuestion + vbYesNo, "Help")
If a = vbYes Then
Data2.RecordSource = "select * from return"
Data2.Refresh
Data2.Recordset.AddNew
Data2.Recordset(0) = Val(Text1.Text)
Data2.Recordset(1) = Data1.Recordset(2)
Data2.Recordset(2) = Data1.Recordset(3)
Data2.Recordset(3) = Data1.Recordset(1)
Data2.Recordset(4) = Data1.Recordset(0)
Data2.Recordset(5) = Data1.Recordset(4)
Data2.Recordset(6) = Data1.Recordset(5)
Data2.Recordset(7) = DTPicker1.Value
Data2.Recordset(8) = Val(Text3.Text)
Data2.Recordset.Update
a = MsgBox("Book Returned", vbInformation + vbOKOnly, "Help")
Data3.Database.Execute "update issue set status='Returned' where accno="
& Val(Text1.Text) & " and status='Issued'"

Data3.Refresh
Data3.Database.Execute "update bookdetails set status='Available' where
accno=" & Val(Text1.Text) & " and status='Not Available'"
Data3.Refresh
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Command1.Enabled = False
End If
End Sub
Private Sub Command2_Click()
Form7.Show
Unload Me
End Sub
Private Sub Command3_Click()
Form9.Show
End Sub
Private Sub DTPicker1_Change()
On Error Resume Next
Text3.Text = DateDiff("d", DTPicker1.Value, Data1.Recordset(5))
If Text3.Text >= 0 Then
Text2.Text = 0
Exit Sub
End If

If Text3.Text < 0 Then


Text3.Text = DateDiff("d", Data1.Recordset(5), DTPicker1.Value)
Text2.Text = Val(Text3.Text) * 0.5
Exit Sub
End If
End Sub
Private Sub DTPicker1_Click()
On Error Resume Next
Text3.Text = DateDiff("d", DTPicker1.Value, Data1.Recordset(5))
End Sub
Private Sub Form_Load()
Command1.Enabled = False
End Sub
Private Sub Text1_KeyPress(KeyAscii As Integer)
On Error GoTo t:
If KeyAscii = 13 Then
Data1.RecordSource = "select
staff_student,member_id,title,author,Date_of_issue,due_date from issue
where accno=" & Val(Text1.Text) & " and status='Issued'"
Data1.Refresh
Data1.Recordset.MoveFirst
Command1.Enabled = True
DBGrid1.Refresh
End If
Exit Sub
t:
End Sub

JOURNAL ENTRY
Private Sub Combo1_Change()
Data2.RecordSource = "select * from journal where left(periodicity," &
Len(Combo1.Text) & ")='" & Combo1.Text & "'"
Data2.Refresh
DBGrid1.Refresh
End Sub
Private Sub Combo2_Change()
Data2.RecordSource = "select * from journal where left(editor_name," &
Len(Combo2.Text) & ")='" & Combo2.Text & "'"
Data2.Refresh
DBGrid1.Refresh
End Sub
Private Sub Combo3_Change()
Data2.RecordSource = "select * from journal where
left(national_international," & Len(Combo3.Text) & ")='" & Combo3.Text &
"'"
Data2.Refresh
DBGrid1.Refresh
End Sub
Private Sub Combo4_Change()
Data2.RecordSource = "select * from journal where left(category," &
Len(Combo4.Text) & ")='" & Combo4.Text & "'"
Data2.Refresh

DBGrid1.Refresh
End Sub
Private Sub Command1_Click()
If Text1.Text = "" Or Text2.Text = "" Or Combo4.Text = "" Or Text4.Text =
"" Or Combo1.Text = "" Or Combo2.Text = "" Or Combo3.Text = "" Then
a = MsgBox("Enter all the fields", vbInformation + vbOKOnly, "Help")
Exit Sub
End If
Data1.RecordSource = "select * from journal"
Data1.Refresh
Data1.Recordset.AddNew
Data1.Recordset(0) = Text1.Text
Data1.Recordset(1) = Text2.Text
Data1.Recordset(2) = Combo1.Text
Data1.Recordset(3) = DTPicker1.Value
Data1.Recordset(4) = Val(Text4.Text)
Data1.Recordset(5) = Text5.Text
Data1.Recordset(6) = Text6.Text
Data1.Recordset(7) = Text7.Text
Data1.Recordset(8) = Combo2.Text
Data1.Recordset(9) = Combo3.Text
Data1.Recordset(10) = Text8.Text
Data1.Recordset(11) = Combo4.Text
Data1.Recordset(12) = DTPicker2.Value
Data1.Recordset.Update
Call clear
Data1.RecordSource = "select distinct category from journal"

Data1.Refresh
Do While Data1.Recordset.EOF = False
Combo4.AddItem Data1.Recordset(0)
Data1.Recordset.MoveNext
Loop
Data1.RecordSource = "select distinct periodicity from journal"
Data1.Refresh
Do While Data1.Recordset.EOF = False
Combo1.AddItem Data1.Recordset(0)
Data1.Recordset.MoveNext
Loop
Data1.RecordSource = "select distinct editor_name from journal"
Data1.Refresh
Do While Data1.Recordset.EOF = False
Combo2.AddItem Data1.Recordset(0)
Data1.Recordset.MoveNext
Loop
Data1.RecordSource = "select distinct national_international from journal"
Data1.Refresh
Do While Data1.Recordset.EOF = False
Combo3.AddItem Data1.Recordset(0)
Data1.Recordset.MoveNext
Loop

a = MsgBox("Record Updated Successfully", vbExclamation + vbOKOnly,


"Help")
End Sub
Private Sub Command2_Click()
Form7.Show
Unload Me
End Sub
Private Sub Form_Load()
Call clear
Data1.RecordSource = "select distinct category from journal"
Data1.Refresh
Do While Data1.Recordset.EOF = False
Combo4.AddItem Data1.Recordset(0)
Data1.Recordset.MoveNext
Loop
Data1.RecordSource = "select distinct periodicity from journal"
Data1.Refresh
Do While Data1.Recordset.EOF = False
Combo1.AddItem Data1.Recordset(0)
Data1.Recordset.MoveNext
Loop
Data1.RecordSource = "select distinct editor_name from journal"
Data1.Refresh
Do While Data1.Recordset.EOF = False
Combo2.AddItem Data1.Recordset(0)

Data1.Recordset.MoveNext
Loop
Data1.RecordSource = "select distinct national_international from journal"
Data1.Refresh
Do While Data1.Recordset.EOF = False
Combo3.AddItem Data1.Recordset(0)
Data1.Recordset.MoveNext
Loop

End Sub
Private Sub clear()
Text1.Text = ""
Text2.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Combo4.Text = ""
End Sub
Private Sub Text1_Change()

Data2.RecordSource = "select * from journal where left(journal_name," &


Len(Text1.Text) & ")='" & Text1.Text & "'"
Data2.Refresh
DBGrid1.Refresh
End Sub

STUDENT LOG REGISTER

Private Sub Command6_Click()


Frame4.Visible = True
End Sub
Private Sub Command7_Click()
Data2.RecordSource = "Select * from log_register where day(dated)=" &
Day(DTPicker1.Value) & " and month(dated)=" & Month(DTPicker1.Value)
& " and year(dated)=" & Year(DTPicker1.Value)
Data2.Refresh
DBGrid1.Refresh
End Sub
Private Sub Command8_Click()
Frame4.Visible = False
End Sub
Private Sub Command1_Click()

Data1.RecordSource = "select * from log_register where member_id='" &


LTrim(Text1.Text) & "' and day(dated)=" & Day(Format(Text4.Text,
"mm/dd/yyyy")) & " and month(dated)=" & Month(Format(Text4.Text,
"mm/dd/yyyy")) & " and year(dated)=" & Year(Format(Text4.Text,
"mm/dd/yyyy")) & " and time_out=null"
Data1.Refresh
If Data1.Recordset.RecordCount > 0 Then
Exit Sub
Else
d = vbDate
Data1.RecordSource = "select * from log_register"
Data1.Refresh
Data1.Recordset.AddNew
Data1.Recordset(0) = Format(Text4.Text, "mm/dd/yyyy")
Data1.Recordset(1) = LTrim(Text1.Text)
Data1.Recordset(2) = Label2.Caption
Data1.Recordset(3) = Time
Data1.Recordset(5) = LTrim(Text2.Text)
Data1.Recordset.Update
Text1.Text = ""
Text2.Text = ""
Option3.Value = False
Option4.Value = False
Frame1.Visible = False
End If
End Sub
Private Sub Command2_Click()

Form7.Show
Unload Me
End Sub
Private Sub Command3_Click()
Option3.Value = False
Option4.Value = False
Frame1.Visible = False
End Sub
Private Sub Command4_Click()
On Error GoTo t:
Data1.RecordSource = "select * from log_register where member_id='" &
LTrim(Text3.Text) & "' and time_out=null"
Data1.Refresh
Data1.Recordset.MoveFirst
Data1.Recordset.Edit
Data1.Recordset(4) = Time
Data1.Recordset.Update
Text3.Text = ""
Option3.Value = False
Option4.Value = False
Frame3.Visible = False
t:
End Sub
Private Sub Command5_Click()
Option3.Value = False
Option4.Value = False

Frame3.Visible = False
End Sub
Private Sub Form_Activate()
Frame4.Visible = False
Label2.Caption = "WELCOME"
Frame1.Visible = False
Frame3.Visible = False
Option3.Value = False
Option4.Value = False
Text4.Text = Format(vbDate, "dd/mm/yyyy")
End Sub
Private Sub Option3_Click()
If Option3.Value = True Then
Frame1.Visible = True
Frame3.Visible = False
End If
End Sub
Private Sub Option4_Click()
If Option4.Value = True Then
Frame3.Visible = True
Frame1.Visible = False
End If
End Sub
Private Sub Text1_Change()
On Error GoTo t:
If Text1.Text = "" Then
Label2.Caption = "WELCOME"

Exit Sub
End If
Data1.RecordSource = "select student_name from student_master where
rollno='" & LTrim(Text1.Text) & "'"
Data1.Refresh
If Data1.Recordset.RecordCount > 0 Then
Data1.Recordset.MoveFirst
Label2.Caption = "Student Name: " & Data1.Recordset(0)
Exit Sub
Else
Data1.RecordSource = "select staff_name from staff_master where
member_id=" & Val(Text1.Text)
Data1.Refresh
If Data1.Recordset.RecordCount > 0 Then
Label2.Caption = "Staff Name: " & Data1.Recordset(0)
End If
Exit Sub
End If
t:
Label2.Caption = "WELCOME"
End Sub

LOGIN FORM
Public LoginSucceeded As Boolean

Private Sub cmdCancel_Click()


'set the global var to false
'to denote a failed login
End
End Sub
Private Sub cmdOK_Click()
'check for correct password
If txtPassword = "isbn" Then
'place code to here to pass the
'success to the calling sub
'setting a global var is the easiest
Form7.Show
Unload Me
Else
MsgBox "Invalid Password, try again!", , "Login"
txtPassword.SetFocus
SendKeys "{Home}+{End}"
End If
End Sub

BOOK DETAILS REPORT


Private Sub Command1_Click()
If Option1.Value = True Then
DataReport1.Show
End If
If Option2.Value = True Then
Unload DataEnvironment1
DataEnvironment1.Command2_Grouping Combo1.Text
DataReport2.Show
End If
End Sub
Private Sub Command2_Click()
Form7.Show
Unload Me
End Sub
Private Sub Form_Activate()
Data1.RecordSource = "select distinct category from bookdetails"
Data1.Refresh
Data1.Recordset.MoveFirst
Do While Data1.Recordset.EOF = False
Combo1.AddItem Data1.Recordset(0)
Data1.Recordset.MoveNext
Loop
End Sub

NON RETURN DETAILS REPORT


Dim sno As Integer
Private Sub Command1_Click()
On Error Resume Next
Data2.RecordSource = "select * from returnrep"
Data2.Refresh
Data2.Recordset.MoveFirst
Do While Data2.Recordset.EOF = False
Data2.Recordset.Delete
Data2.Recordset.MoveNext
Loop
Data2.RecordSource = "select * from returnrep"
Data2.Refresh
sno = 0
If Option1.Value = True Then
If Check3.Value = vbChecked Then
Data1.RecordSource = "select * from issue where category='Student'
and status='Issued' and day(due_date)=" & Day(DTPicker1.Value) & " and
month(due_date)=" & Month(DTPicker1.Value) & " and year(due_date)="
& Year(DTPicker1.Value) & " order by member_id"
Data1.Refresh
Data1.Recordset.MoveFirst
Do While Data1.Recordset.EOF = False
sno = sno + 1
Data2.Recordset.AddNew

Data2.Recordset(0) = DTPicker1.Value
Data2.Recordset(1) = Data1.Recordset(9)
Data2.Recordset(2) = sno
Data2.Recordset(3) = Data1.Recordset(1)
Data2.Recordset(4) = Data1.Recordset(0)
Data2.Recordset(5) = Data1.Recordset(2)
Data2.Recordset(6) = Data1.Recordset(3)
Data2.Recordset(7) = Data1.Recordset(4)
Data2.Recordset.Update
Data1.Recordset.MoveNext
Loop
End If

End If
If Option2.Value = True Then
If Check3.Value = vbChecked Then
Data1.RecordSource = "select * from issue where category='Staff' and
status='Issued' and day(due_date)=" & Day(DTPicker1.Value) & " and
month(due_date)=" & Month(DTPicker1.Value) & " and year(due_date)="
& Year(DTPicker1.Value) & " order by member_id"
Data1.Refresh
Data1.Recordset.MoveFirst
Do While Data1.Recordset.EOF = False

sno = sno + 1
Data2.Recordset.AddNew
Data2.Recordset(0) = DTPicker1.Value
Data2.Recordset(1) = Data1.Recordset(9)
Data2.Recordset(2) = sno
Data2.Recordset(3) = Data1.Recordset(1)
Data2.Recordset(4) = Data1.Recordset(0)
Data2.Recordset(5) = Data1.Recordset(2)
Data2.Recordset(6) = Data1.Recordset(3)
Data2.Recordset(7) = Data1.Recordset(4)
Data2.Recordset.Update
Data1.Recordset.MoveNext
Loop
End If
End If
'If Option1.Value = True Then
Data2.Refresh
Data1.Refresh
Unload DataEnvironment1
DataReport6.Show
'End If
End Sub
Private Sub Command2_Click()
Form7.Show
Unload Me

End Sub
Private Sub Form_Load()
End Sub

LOG REGISTER REPORT


Private Sub Command1_Click()
Unload DataEnvironment1
DataEnvironment1.Command10_Grouping DTPicker1.Value
DataReport8.Show
End Sub
Private Sub Command2_Click()
Form7.Show
Unload Me
End Sub

CHAPTER - 8
SCREEN LAYOUTS AND REPORTS

SPLASH SCREEN

LOGIN FORM

MAIN FORM

ACCESSION REGISTER

BOOK FIND FORM

STUDENT DETAILS

STUDENT DETAILS FIND FORM

STAFF DETAILS

JOURNAL ENTRY REGISTER

ISSUE REGISTER

RETURN REGISTER

LOG REGISTER

LOG OUT

REPORTS

BOOK LIST

DEPARTMENT WISE BOOK LIST

STUDENT DETAILS REPORT

STAFF NAME LIST

ISSUE DETAILS REPORT

NON RETURN LIST

JOURNAL REGISTER

LOG REGISTER

CHAPTER 9
LIMITATIONS AND SUGGESTED IMPROVEMENTS
LIMITATIONS
This project having many number of limitations and validate functions to
control the flow of the datum between sub modules of the system. More security is
given to this project that enables only Authorized or password known users can
access this project. The limitation of this project is, it can run only in windows
environment.
It provides flexible interface
Easily portable
Easy to Maintain
Fully optimized
Follows Normalization Procedures

SUGGESTED IMPROVEMENTS
Within allotted time, we have solved more processing via this project. It is
very easy to enhance this project with small number of modifications. In future,
this project can be modified to manage,
Platform Independency
Bar Code System
Photos Uploads
Online Digital Library Provision
Online Enquiry

In addition to the controls some graphical icons, help pages and some
multimedia controls can be added with this project.

CHAPTER 10
CONCLUSION
This project is developed for the computerization of the Activities of
Library of Arulmigu Kalasalingam College of Arts and Science, Anand Nagar,
Krishnankoil 626 126.
The theme of this project is to reduce the manual processing performed in
the Library. Many user-support functions and software support functions are
included in this project to make this project effective.
We are very happy to thank ARULMIGU KALASALINGAM
COLLEGE OF ARTS AND SCIENCE, for giving us opportunity to express our
knowledge. This project can be easily installed and portable one.
This project can be expanded to add extra qualified features. We wish
BEST OF LUCK for those personalities who will modify this project.

BIBLIOGRAPHY
1. Visual Basic 6.0
Written by S.J.Jameswell
2. Visual Basic Black Book
Written by Nedd Oliver
3. Introduction to MS ACCESS
Written by James ClerkWell

También podría gustarte