Library Management System Java
Library Management System Java
Library Management System Java
PRACTICES
INVESTIGATORY PROJECT
ON
Project by:
Nishchay Malakar
XII A
2676357
CERTIFICATE
This
is
to
certify
that
NISHCHAY
Principals
(Mr.P.C.Prashar)
CERTIFICATE
It is certified that the project work entitled Library
(
)
Mr. Kapil Saini
PGT Comp. science
(
Name
Roll No
School
)
: NISHCHAY MALAKAR
: 2676357
: K.V. # 1 AFS PATHANKOT
ACKNOWLEDGEMENT
This project LIBRARY MANAGEMENT SYSTEM has been designed
& developed during AISSCE Practical Examination 2008-09 conducted by
CBSE for the fulfillment of the practical in Informatics Practices.
I take this opportunity to express my profound sense of gratitude and
respect to all those who helped me throughout this venture.
I owe my regards to Mr.P.C.Prashar, Principal K.V.No.1 (AFS)
Pathankot for his cooperation and valuable support and for giving me the
opportunity to undertake this project work and providing the necessary
infrastructure.
In presenting this project it gives me great pleasure to express my
heartiest gratitude, sense and ineptness to Mr.KAPIL SAINI (PGT Comp.
Science) for his valuable assistance & support throughout my studentship
under him at the institute in completing this investigatory project on
developing software for keeping records of a SCHOOL LIBRARY. This
project is his visualization and owes a lot of its functionality to him.
Last but not the least; I owe my overwhelming gratitude to my family
and friends who gave me constant support and motivation to continue with
this endeavor.
Date: Feb2009
)
Name : NISHCHAY MALAKAR
Roll No: 2676357
CONTENTS
SNO
CONTENTS
A.
B.
Certificates
C.
Acknowledgement
D.
Contents
E.
Library overview
F.
G.
Project Design
(i) Proposed System
(ii) Advantages
(iii) File Description
H.
Table Structures
I.
J.
LIBRARY OVERVIEW
Library is one of the important parts of our school. It plays an important role in
the society. According to an ancient proverb books are the best friends, and we can find
these friends in the library. In library we find books on all the subjects and from various
publishers are available for us. In some of the libraries books from all over the world are
available. We can get them anytime and utilize them.
In libraries the no. of books will cross over thousands and maintaining such a big
no of books is itself a big challenge. The records include purchasing, issuing, returning
and many more such kind of activities. This may surely confuse an individual. Therefore
we need to computerize the system with the help of database so as to make our
requirements in a more easy way. It will reduce time and will be more efficient
Time consuming:
Expensive:
Non availability of details:
Decreased efficiency and accuracy:
Difficult & confusing:
Duplication of work:
Errors in maintenance:
PROPOSED SYSTEM
Library World wishes to computerize its management system with the help of
data base. It allows the librarian to update existing application for his own ease like
books account management, developing ledgers, issuing and returning books etc.
Also on the other face the reader/students wants to be computerized solution of the
above. It entails looking into the duplication of effort, bottlenecks, and inefficient
existing procedures.
An automated system is to be developed for library management system that
performs the following tasks:
Issuing of books
Returning of books
Purchasing and adding new books
Maintains delay and fines
Maintains students Information.
Providing Stock Management.
Fast updating of stock, their rates.
Security
ADVANTAGES
1.
2.
3.
4.
Time saving.
Economical.
Faster and easier data retrieval.
Availability of data.
DATABASE DESCRIPTION
LIB TABLE
: This table contains all the necessary details about the books and to
whom the book have been issued, what is the date of purchase and all that.
FIELDS
A. accno:
DESCRIPTION
Account no is a unique no allotted to every book. It acts as
primary key is the base to reach or identify the record. Its
data type is number
It is the name of the book. Its data type is text.
B. book name:
C. authername:
TABLE STRUCTRES
LIB TABLE:
Accno
Authername
Dat_purchas
Date_issue
Dat_return
Price
Iss_st_no
2) SECURITY FORM:It is the gateway to Library Management System. User must identify himself before
entering the computerized system. User must enter the password in order to check
whether he/she is an authorized person or not to use the system.
CODING:
Private Sub Cmdaccept_Click ()
If UCase (Txtpass.Text) = Txtpass.Tag Then
frmhome.Show
frmsec.Hide
Unload frmsec
End If
End Sub
3) MAIN FORM: After successful security check, the next form to appear is the Main form of Library
Management System. This form shows the contents of the Library Management System,
which are as follows: -
4) NEW ACCOUNT FORM: This form allows the user to create and feed new book account. This function can be used
to add new accounts in yur library stock i.e. if you have any new book that you want to
add in the stock the only thing you have to do is to just fill up all the necessary details in
the boxes and click update.If you had purchased the book on the same day just clik today
and fill all the details.
5) DAILY ISSUE FORM: This functin has been introduced for daily purpose of a library i.e. if the librarian wants to
issue a book to a student then just add the account no of the book in the box and the
students id in the next box and then click issue button, a message will be showed if the
book is issued and if the book is issued to any another student it will inform you about it,
and the necessary details will be showed on right side. Remember it will ask for password
each time issuing the book.
acc = Val(Txtaccno.Text)
Adoissue.Recordset.MoveFirst
While Adoissue.Recordset.EOF = False
If Adoissue.Recordset.Fields(0).Value = Val(acc) Then
frmissue.Txtissdat.Text = Now
frmissue.Txtiss_st.Text = Txtstid.Text
MsgBox "The book bearing account no. " & acc & " has been issued to student no " & Txtstid.Text,
vbOKOnly, "Library KV#1"
flag = True
GoTo Nish
End If
Adoissue.Recordset.MoveNext
Wend
If flag = False Then
MsgBox "Account does not exists ", vbOKOnly, "Library KV#1"
Adoissue.Recordset.MoveFirst
End If
Nish:
Adoissue.Recordset.Update
Txtaccno.Text = ""
Txtstid.Text = ""
ram:
End Sub
6) DAILY RETURN FORM: This functin has been introduced for daily purpose of a library i.e. if the librarian wants to
return a book to the stock then he will have to just add the account no of the book in the
box and then click return button, a message will be showed if the book is returned
sucessfully and if the book is already present in the stock it will inform you about it,and
the necessary details will be showed on right side. Remember it will ask for password
each time returning the book.
Else
frmreturn.Text1.Text = ""
frmreturn.Text2.Text = ""
MsgBox "The book bearing account no. " & acc & " has been sucessfully returned", vbOKOnly,
"Library KV#1"
End If
GoTo Nish
End If
Adoreturn.Recordset.MoveNext
Wend
If flag = False Then
MsgBox "Account does not exists ", vbOKOnly, "Library KV#1"
Adoreturn.Recordset.MoveFirst
End If
Nish:
Adoreturn.Recordset.Update
Else
MsgBox "please enter acc. no. of the book to be returned ", vbOKOnly, "Library KV#1"
End If
karan:
End Sub
7) SEARCH FORM: This functin has been introduced for making easy access to all the records just by
entering the account no.
8) CHECKING DELAY FORM: This functin has been introduced for checking regularities, if any student keep the book
with him for more than 14 days than by clicking upon the check button we get id of all
the delaying students
CODING: -
9) HELP FORM: This form helps the user how to use the software. On clicking the various command
buttons it gives us details about each function. It can be accessed through its menu
option.
Command5.Height = 375
Txthelp.Text = "This functin has been introduced for daily purpose of a library i.e. if the librarian wants to
issue a book to a student then just add the account no of the book in the box and the students id in the next
box and then click issue button, a message will be showed if the book is issued and if the book is issued to
any another student it will inform you about it,and the necessary details will be showed on right side.
Remember it will ask for password each time issuing the book."
End Sub
Private Sub Cmdreturn_Click()
Command3.Height = 495
Command2.Height = 375
Command1.Height = 375
Command4.Height = 375
Command5.Height = 375
Txthelp.Text = "This functin has been introduced for daily purpose of a library i.e. if the librarian wants to
return a book to the stock then he will have to just add the account no of the book in the box and then click
return button, a message will be showed if the book is returned sucessfully and if the book is already
present in the stock it will inform you about it,and the necessary details will be showed on right side.
Remember it will ask for password each time returning the book."
End Sub
Private Sub Cmdsearch_Click()
Command4.Height = 495
Command2.Height = 375
Command3.Height = 375
Command1.Height = 375
Command5.Height = 375
Txthelp.Text = "This functin has been introduced for making easy access to all the records just by entering
the account no."
End Sub
Private Sub Cmdchk_Click()
Command5.Height = 495
Command2.Height = 375
Command3.Height = 375
Command4.Height = 375
Command1.Height = 375
Txthelp.Text = "This functin has been introduced for checking regularities, if any student keep the book
with him for more than 14 days than by clicking upon the check button we get id of all the delaying
students."
End Sub
Private Sub Form_Load()
Call Cmdnew_Click
End Sub
USER MANUAL
OPERATING INSTRUCTIONS:
BIBLOGRAPHY
S.NO
BOOK
AUTHOR
PUBLICATION
1.
Evangelos
Petroutsos
BPB Publication
2.
Informatics practices XI
Sumita arora
Dhanpatrai publication
3.
4.