PROJECT OUTLINE
The title of Project
The Objective of the project
Hardware/Software specification
Objective achieved successfully
SYSTEM ANALYSIS
SOFTWARE PLANNING
SYSTEM DESIGN
TESTING & DEBUGGING
CONCLUSION
BIBLIOGRAPHY
Page 1
ABOUT PROJECT
Page 2
ABOUT PROJECT
This Project can manage all Student & book transaction of any
“COMPUTER PROVIDER.” “EDUCATION FIELDS” like
Student detail, member detail, Transaction detail , issue detail ,
returns detail , Book detail , etc can effectively be perform by this
project.
Page 3
PROJECT INTRODUCTION
Page 4
design period and modification if any can made moreover
event driven programming .which is an object oriented tool.
Page 5
OBJECTIVE OF THE PROJECT
STUDENT/MEMBER INFORMATION:
T
OCKINFORMATION:
Page 6
REPORT GENERATION:
Page 7
INTRODUCTION TO VISUAL BASIC 6.0
Page 9
-: INTRODUCTION TO ACCESS :-
Using it, you can manage all our information from single
database file. Within file divide your data using into separate storage
containers called tables; view, add, and update table data using forms;
find and retrieve just the data you want using queries and analyze or
print data in specific layout using reports.
To find and retrieve just data that meet condition you specify
including data from multiple tables create a query. A query can also
update multiple records at the same time and perform built-in or
custom calculations on your data. To easily view, enter and change
directly in a table, create a form. When you open a form, it retrieves
the data from one or more tables and displays it on screen using the
data from you chose in the form using a layout that you crated from
scratch.
To analyze your data present it a certain way in print, create a
Page 10
report. For example, you might print one report that raw material and
calculates totals.
TABLES:
In table datasheet view, you can add, edit or view the data in a
table. You can also check the spelling and print your table’s data filter
or sort records change the datasheet’s appearance or change the
table’s structure by adding or deleting columns. You can create an
entire table from scratch, or add, delete, or customize existing table’s
fields.
QUERIES:
Page 11
and then display it in the order you want.
ADVANTAGES OF ACCESS :-
Updating database.
Page 12
HARDWARE & SOFTWARE USED
HARDWARE REQUIRMENT:
SOFTWARE REQUIMENT:
Page 13
DATA FLOW DIAGRAM
Librarian/member
STUDENTS
Notifies Data of
order of members, fines payments
Issues
new books books
books by and
members/ member
staff
Returns
LIBRARY
MANAGEMENT
SYSTEM
Issues Returns
Staff/teacher
Page 14
ER Model
SNAME
MNAM
E M_ADD
SID S_N
MID O.
TRA EDUC
MEMBER NSE BOOKS ATIO
CTIO N STUDENT
N
RETU
BOOK ISSUE BOOK RNIN RETURN
ID G BOOK
STUDENT
ID S_NA
BOOK NAME ME
Page 15
DATA BASE DESIGN
DATA BASE
There are many data table uses in access 2007 for my project. Library
management. This is the data source name to connecting access data
base that contain all details about computer shop management that is
accessed by the use.
Page 16
EMPLOYESS DETAILS ENTRY
TABLE
Page 17
BOOK ISSUE AND RETURN
DETAILS ENTRY TABLE
Page 18
LOGIN FORM
Page 19
SPLASH FORM
Page 20
MDI MAIN FORM
Page 21
CATEGORY DETAILS FORM
Page 22
BOOKS DETAIL FORM
Page 23
EMPLOYESS DETAIL FORM
Page 24
ATTENDENCE DETAIL FORM
Page 25
STUDENTS DETAIL FORM
Page 26
VIEW AND SEARCH FORM
Page 27
ISSUE BOOK FORM
Page 28
RETURN BOOK FORM
Page 29
BOOK REPORTS
Page 30
BOOK ISSUE REPORTS
Page 31
BOOK RETURN REPORTS
Page 32
SOURCE CODE
Page 33
LOGIN FORM
End If
End Sub
Page 34
SPLASH FORM
End Sub
ProgressBar1.Value = ProgressBar1.Value + 1
Label10.Caption = ProgressBar1.Value & "%"
End Sub
Page 35
BOOK DETAILS FORM
End Sub
Page 36
RS.AddNew
RS(0) = cmbser.Text
RS(1) = combo1.Text
RS(2) = Text1.Text
RS(3) = Val(Text2.Text)
RS(4) = Val(Text3.Text)
RS(5) = Text4.Text
RS(6) = Text5.Text
RS.Update
RS.Close
Form_Load
MsgBox "Record saved", vbInformati
End Sub
Page 37
Text5.Text = ""
RS.Close
Page 38
End Sub
End Sub
End Sub
Page 39
CATEGORY DETAILS FORM
Dim P_DEPT_OLD As String
Dim CpyUpdate As String
Page 40
TXTDEPT.SetFocus
MsgBox "Recored Deleted", vbInformation
End If
End Sub
'If Double_entry("MAIN_SERVICE",
"SERVICE_NAME", TXTDEPT.Text, TXTDEPT) = True
Then Exit Sub
'**********************************
Page 41
'***********************************
Call Form_Load
TXTDEPT.SetFocus
MsgBox "Recored Saved", vbInformation
End Sub
Page 42
Private Sub Form_Load()
TXTDEPT.Text = ""
If RS.State = 1 Then RS.Close
RS.Open "SELECT * FROM MAIN_SERVICE order by
SERVICE_NAME", con, adOpenKeyset, adLockOptimistic,
adCmdText
msg1.Rows = 1
If RS.RecordCount >= 1 Then
While RS.EOF = False
msg1.AddItem RS(0) & Chr(9)
RS.MoveNext
Wend
End If
cmdsave.Enabled = True
CMDUP.Enabled = False
CMDDEL.Enabled = False
Lbltotal.Caption = RS.RecordCount
End Sub
Page 43
If RS.State = 1 Then RS.Close
RS.Open "SELECT * FROM MAIN_SERVICE where
SERVICE_NAME ='" & msg1.TextMatrix(msg1.RowSel, 0)
& "'", con, adOpenKeyset, adLockOptimistic, adCmdText
If RS.RecordCount >= 1 Then
While RS.EOF = False
TXTDEPT.Text = RS(0)
RS.MoveNext
Wend
cmdsave.Enabled = False
CMDUP.Enabled = True
CMDDEL.Enabled = True
Else
MsgBox "record not found", vbInformation
End If
End Sub
Page 44
EMPLOYESS FORM
Page 45
dtd_o_b = RS(7)
cmbsex = RS(8)
End If
cmdUpdate.Enabled = True
End Sub
Private Sub cmdnew_Click()
Dim sql As String
cmdsave.Enabled = True
cmdUpdate.Enabled = False
cmdFind.Enabled = False
cmdnew.Enabled = False
sql = "select max(VAL(MID(emp_no,2)))from emp_details"
If RS.State = 1 Then RS.Close
RS.Open sql, , adOpenDynamic, adLockOptimistic
If IsNull(RS(0)) Then
txtemp_no.Text = "E1"
Else
txtemp_no.Text = "E" & (RS(0) + 1)
End If
txtemp_name.SetFocus
txtemp_name.Text = ""
txtemp_add.Text = ""
Page 46
Txtsalary.Text = ""
txtemp_desig.Text = ""
txtemp_phone.Text = ""
cmbsex.Text = ""
End Sub
Private Sub cmdSave_Click()
Dim sql As String
If Trim(txtemp_name.Text) = "" Then
txtemp_name.SetFocus
MsgBox "enter suitablename", vbInformation
Exit Sub
End If
If Trim(txtemp_add.Text) = "" Then
txtemp_add.SetFocus
MsgBox "enter suitable address", vbInformation
Exit Sub
End If
If Trim(Txtsalary.Text) = "" Then
Txtsalary.SetFocus
MsgBox "enter suitable salary", vbInformation
Exit Sub
End If
Page 47
If Trim(txtemp_desig.Text) = "" Then
txtemp_desig.SetFocus
MsgBox "enter suitable designation", vbInformation
Exit Sub
End If
txtemp_phone.Text = IIf(Trim(txtemp_phone.Text) = "", "-
", txtemp_phone.Text)
If Trim(DTd_o_j.Value) = "" Then
DTd_o_j.SetFocus
MsgBox "enter suitable date of joining", vbInformation
Exit Sub
End If
' Dim a As Integer
' a = DateDiff("yyyy", dtd_o_b.Value, DTd_o_j.Value)
' If a < 18 Then
' DTd_o_j.SetFocus
' MsgBox "enter suitable date of birth", vbInformation
' Exit Sub
' End If
If Trim(cmbsex.Text) = "" Then
cmbsex.SetFocus
MsgBox "select suitable sex", vbInformation
Page 48
Exit Sub
End If
sql = "insert into emp_details values('" & txtemp_no.Text &
"','" & txtemp_name.Text & "','" & txtemp_add.Text & "'," &
Txtsalary.Text & ",'" & txtemp_phone.Text & "','" &
txtemp_desig.Text & "',#" & DTd_o_j.Value & "#,#" &
dtd_o_b.Value & "#,'" & cmbsex.Text & "')"
con.Execute sql
MsgBox "record saved", vbInformation
Form_Load
cmdnew.Enabled = True
cmdsave.Enabled = False
cmdFind.Enabled = True
End Sub
Private Sub cmdupdate_Click()
sql = "(update emp_details set emp_name='" & txtemp_name
& "',address='" & txtemp_add & "',salary='" & Txtsalary &
"',phone_no='" & txtemp_phone & "',designation='" &
txtemp_desig & "',d_o_j=#" & DTd_o_j & "#,d_o_b=#" &
dtd_o_b & "#,sex='" & cmbsex & "' where emp_no='" &
txtemp_no & "')"
con.Execute sql
Page 49
MsgBox ("record update"), vbInformation
End Sub
Private Sub Form_Load()
'centerform Me
dtd_o_b.Value = Date
DTd_o_j.Value = Date
sql = "select * from emp_details"
If RS.State = 1 Then
RS.Close
Set RS = Nothing
End If
RS.Open sql, con, adOpenKeyset, adLockPessimistic,
adCmdText
If RS.RecordCount = 0 Then
cmdsave.Enabled = False
cmdUpdate.Enabled = False
cmdFind.Enabled = False
End If
List1.Visible = False
Page 50
If RS.State = 1 Then RS.Close
RS.Open "select emp_no from emp_details", ,
adOpenKeyset, adLockOptimistic
List1.Clear
While Not RS.EOF = True
List1.AddItem RS(0)
RS.MoveNext
Wend
txtemp_name = ""
txtemp_add = ""
Txtsalary = ""
txtemp_phone = ""
txtemp_desig = ""
DTd_o_j = Date
dtd_o_b = Date
cmbsex = ""
cmdnew.Enabled = True
cmdsave.Enabled = False
cmdFind.Enabled = True
cmdUpdate.Enabled = False
End Sub
Page 51
Private Sub List1_Click()
txtemp_no = List1.Text
If RS.State = 1 Then RS.Close
RS.Open "select * from emp_details where emp_no='" &
txtemp_no & "' ", , adOpenKeyset, adLockOptimistic
If RS.RecordCount > 0 Then
txtemp_name = RS(1)
txtemp_add = RS(2)
Txtsalary = RS(3)
txtemp_phone = RS(4)
txtemp_desig = RS(5)
DTd_o_j = RS(6)
dtd_o_b = RS(7)
cmbsex = RS(8)
End If
End Sub
Page 52
EMPLOYESS ATTEND. FORM
Page 53
Exit Sub
End If
End Sub
Page 54
Private Sub Form_Load()
dt1.Value = Date
'Me.Height = 5950
'Me.Width = 10965
'centerform Me
End Sub
End Sub
Page 55
STUDENTS DETAILS FORM
Page 56
dtd_o_b = RS(7)
cmbsex = RS(8)
End If
cmdUpdate.Enabled = True
End Sub
Private Sub cmdnew_Click()
Dim sql As String
cmdSave.Enabled = True
cmdUpdate.Enabled = False
cmdFind.Enabled = False
cmdnew.Enabled = False
sql = "select max(VAL(MID(emp_no,2)))from mem_details"
If RS.State = 1 Then RS.Close
RS.Open sql, , adOpenDynamic, adLockOptimistic
If IsNull(RS(0)) Then
txtemp_no.Text = "S1"
Else
txtemp_no.Text = "S" & (RS(0) + 1)
End If
txtemp_name.SetFocus
txtemp_name.Text = ""
txtemp_add.Text = ""
Page 57
Txtsalary.Text = ""
txtemp_desig.Text = ""
txtemp_phone.Text = ""
cmbsex.Text = ""
End Sub
Private Sub cmdSave_Click()
Dim sql As String
If Trim(txtemp_name.Text) = "" Then
txtemp_name.SetFocus
MsgBox "enter suitablename", vbInformation
Exit Sub
End If
If Trim(txtemp_add.Text) = "" Then
txtemp_add.SetFocus
MsgBox "enter suitable address", vbInformation
Exit Sub
End If
If Trim(Txtsalary.Text) = "" Then
Txtsalary.SetFocus
MsgBox "enter suitable salary", vbInformation
Exit Sub
End If
Page 58
If Trim(txtemp_desig.Text) = "" Then
txtemp_desig.SetFocus
MsgBox "enter suitable designation", vbInformation
Exit Sub
End If
txtemp_phone.Text = IIf(Trim(txtemp_phone.Text) = "", "-
", txtemp_phone.Text)
If Trim(DTd_o_j.Value) = "" Then
DTd_o_j.SetFocus
MsgBox "enter suitable date of joining", vbInformation
Exit Sub
End If
' Dim a As Integer
' a = DateDiff("yyyy", dtd_o_b.Value, DTd_o_j.Value)
' If a < 18 Then
' DTd_o_j.SetFocus
' MsgBox "enter suitable date of birth", vbInformation
' Exit Sub
' End If
If Trim(cmbsex.Text) = "" Then
cmbsex.SetFocus
MsgBox "select suitable sex", vbInformation
Page 59
Exit Sub
End If
sql = "insert into mem_details values('" & txtemp_no.Text
& "','" & txtemp_name.Text & "','" & txtemp_add.Text & "',"
& Txtsalary.Text & ",'" & txtemp_phone.Text & "','" &
txtemp_desig.Text & "',#" & DTd_o_j.Value & "#,#" &
dtd_o_b.Value & "#,'" & cmbsex.Text & "')"
con.Execute sql
MsgBox "record saved", vbInformation
Form_Load
cmdnew.Enabled = True
cmdSave.Enabled = False
cmdFind.Enabled = True
End Sub
Private Sub cmdupdate_Click()
sql = "(update mem_details set emp_name='" & txtemp_name
& "',address='" & txtemp_add & "',salary='" & Txtsalary &
"',phone_no='" & txtemp_phone & "',designation='" &
txtemp_desig & "',d_o_j=#" & DTd_o_j & "#,d_o_b=#" &
dtd_o_b & "#,sex='" & cmbsex & "' where emp_no='" &
txtemp_no & "')"
con.Execute sql
Page 60
MsgBox ("record update"), vbInformation
End Sub
Private Sub Form_Load()
dtd_o_b.Value = Date
DTd_o_j.Value = Date
sql = "select * from mem_details"
If RS.State = 1 Then
RS.Close
Set RS = Nothing
End If
RS.Open sql, con, adOpenKeyset, adLockPessimistic,
adCmdText
If RS.RecordCount = 0 Then
cmdSave.Enabled = False
cmdUpdate.Enabled = False
cmdFind.Enabled = False
End If
List1.Visible = False
If RS.State = 1 Then RS.Close
RS.Open "select emp_no from mem_details", ,
adOpenKeyset, adLockOptimistic
Page 61
List1.Clear
While Not RS.EOF = True
List1.AddItem RS(0)
RS.MoveNext
Wend
txtemp_name = ""
txtemp_add = ""
Txtsalary = ""
txtemp_phone = ""
txtemp_desig = ""
DTd_o_j = Date
dtd_o_b = Date
cmbsex = ""
cmdnew.Enabled = True
cmdSave.Enabled = False
cmdFind.Enabled = True
cmdUpdate.Enabled = False
End Sub
Page 62
RS.Open "select * from mem_details where emp_no='" &
txtemp_no & "' ", , adOpenKeyset, adLockOptimistic
If RS.RecordCount > 0 Then
txtemp_name = RS(1)
txtemp_add = RS(2)
Txtsalary = RS(3)
txtemp_phone = RS(4)
txtemp_desig = RS(5)
DTd_o_j = RS(6)
dtd_o_b = RS(7)
cmbsex = RS(8)
End If
End Sub
Page 63
VIEW AND SEARCH BOOK
FORM
End Sub
Page 65
Else
Adodc1.RecordSource = "select service_name as
Category,sub_service_name as BOOK,code_p as ID,PRICE
from CODETBL where service_name='" & cmbser.Text & "'
and sub_service_name like'%" & Text1.Text & "%'"
End If
Adodc1.Refresh
End Sub
Combo1.Clear
'cmdsave.Enabled = True
'CMDUP.Enabled = False
'CMDDEL.Enabled = False
Page 66
RS.Open "SELECT * FROM MAIN_SERVICE order by
SERVICE_NAME", con, adOpenKeyset, adLockOptimistic,
adCmdText
cmbser.Clear
cmbser.Text = "ALL"
cmbser.AddItem "ALL"
If RS.RecordCount >= 1 Then
While RS.EOF = False
cmbser.AddItem RS(0)
RS.MoveNext
Wend
End If
RS.Close
End Sub
Page 67
ISSUE BOOKS FORM
End Sub
Page 68
MsgBox "Plz select all boxes", vbInformation
Exit Sub
End If
If Label15.Caption <> "Available" Then
MsgBox "Book not Available", vbInformation
Exit Sub
End If
If RS.State = 1 Then RS.Close
RS.Open "select * from tblissue", con, adOpenKeyset,
adLockOptimistic
RS.AddNew
RS(0) = cmbmem.Text
RS(1) = Combo1.Text
RS(2) = Date
RS(4) = "Issued"
RS.Update
If RS.State = 1 Then RS.Close
RS.Open "select avl from codetbl where
sub_service_name='" & Combo1.Text & "'", con,
adOpenKeyset, adLockOptimistic
RS(0) = True
RS.Update
Page 69
Form_Load
MsgBox "Book Issued", vbInformation
End Sub
End Sub
Page 70
Private Sub Form_Load()
dt1.Value = Date
Label2.Caption = ""
Label4.Caption = ""
Label6.Caption = ""
Label10.Caption = ""
Label12.Caption = ""
Label15.Caption = ""
Label18.Caption = ""
Label7.Caption = ""
Page 71
RS.Open "select sub_service_name from CODETBL order
by 1", con, adOpenKeyset, adLockOptimistic
Combo1.Clear
While Not RS.EOF = True
Combo1.AddItem RS(0)
RS.MoveNext
Wend
End Sub
End Sub
Page 72
BOOKS RETURNS FORM
End Sub
Page 73
MsgBox "Plz select all boxes", vbInformation
Exit Sub
End If
If Label15.Caption <> "Available" Then
MsgBox "Book not Available", vbInformation
Exit Sub
End If
If RS.State = 1 Then RS.Close
RS.Open "select * from tblissue", con, adOpenKeyset,
adLockOptimistic
RS.AddNew
RS(0) = cmbmem.Text
RS(1) = Combo1.Text
RS(2) = Date
RS(4) = "Issued"
RS.Update
If RS.State = 1 Then RS.Close
RS.Open "select avl from codetbl where
sub_service_name='" & Combo1.Text & "'", con,
adOpenKeyset, adLockOptimistic
RS(0) = True
RS.Update
Page 74
Form_Load
MsgBox "Book Issued", vbInformation
End Sub
End Sub
Page 75
Private Sub Form_Load()
dt1.Value = Date
Label2.Caption = ""
Label4.Caption = ""
Label6.Caption = ""
Label10.Caption = ""
Label12.Caption = ""
Label15.Caption = ""
Label18.Caption = ""
Label7.Caption = ""
Page 76
RS.Open "select sub_service_name from CODETBL order
by 1", con, adOpenKeyset, adLockOptimistic
Combo1.Clear
While Not RS.EOF = True
Combo1.AddItem RS(0)
RS.MoveNext
Wend
End Sub
End Sub
Page 77
BOOKS ISSUE
& RETURN REPORT
Page 78
RS.Open "SELECT * FROM mem_details order by 2",
con, adOpenKeyset, adLockOptimistic, adCmdText
Combo1.Clear
If RS.RecordCount >= 1 Then
While RS.EOF = False
Combo1.AddItem RS(1)
RS.MoveNext
Wend
End If
RS.Close
End Sub
End Sub
Page 79
CATEGORY REPORT
Page 80
Combo1.Clear
If RS.RecordCount >= 1 Then
While RS.EOF = False
Combo1.AddItem RS(1)
RS.MoveNext
Wend
End If
RS.Close
End Sub
End SuB
Page 81
LIMITATION
Page 82
Here only one work can be done at one time,
Because mdi forms are used.
Books maintenance can’t be determine
Through this project.
Page 83
CONCLUSION
Page 84
BIBLIOGRAPHY
Other than these books I referred some sites and ebooks also.
URL’s:-
www.freecomputerbooks.com
www.bigbanyantree.com
www.forumempire.com
Page 85