Sie sind auf Seite 1von 16

ADVANCE DATABASE MANAGEMNET SYSTEM

PROJECT SYNOPSIS REPORT ON

BLOOD BANK MANAGEMENT SYSTEM


T.E. COMPUTER ENGINEERING-B PRESENTED BY VRUSHAL RAUT VIPUL PISAL GUNJAN CHOUDHARY GROUP GUIDE MS.ORIN PEREIRA

ST.JOHN COLLEGE OF ENGINEERING AND ECHNOLOGY PALGHAR (2013-2014)

ST.JOHN COLLEGE OF ENGINEERING AND TECHNOLOGY PALGHAR (2013-2014)

CERTIFICATE
THIS IS TO CERTIFY THAT

1. VRUSHAL RAUT(69) 2. VIPUL PISAL(68) 3. GUNJAN CHOUDHARY(74) HAVE SATISFACTORILY COMPLETED PROJECT ENTITLED:

BLOOD BANK MANAGEMENT SYSTEM


IN PARTIAL FULFILLMENT OF THE DEGREE OG T.E. IN COMPUTER ENGINEERING AFFILITED TO UNIVERSITY OF MUMBAI FOR THE ACADEMIC YEAR 2013-2014. DATE: _________

______________ (PROJECT GUIDE)

ACKNOWLEDGEMENT
After the completion of this project, as we look back in retrospect, we find a lot of people who have helped us in our project. First, we express our sincere gratitude to our guide Ms. ORIN PEREIRA for her timely and valuable suggestions without whom this project wouldnt have been a success. Her suggestions were always there whenever we needed. Finally at last but not least we would like to thank all our colleagues and friends who have been always there to help us , who helped us directly or indirectly in completion for this project.

CONTENT
SR.NO.

CONTENT
Problem definition EER Diagram User Interface and Coding Application Advantages Drawbacks Future Scope References

1 2 3 4 5 6 7 8

PROBLEM DEFINITION
The purpose of the project entitled as BLOOD BANK MANAGEMENT SYSTEM is to computerize the Front Office Management of Blood Bank to develop software which is user friendly, simple, fast, and cost effective. It deals with the collection of blood donors information, diagnosis details, etc. Traditionally, it was done manually. The main function of the system is to register and store donor details and blood details and retrieve these details as and when required, and also to manipulate these details meaningfully System input contains donor details, diagnosis details; while system output is to get these details on to the screen.

EER DIAGRAM

age bgroup gender addres s

dob lname fname


DID

Phno.

Reg.No.

Name

DONOR

Donate

BLOOD BANK

Has

Admin

username

password

USER INTERFACE
LOGIN.frm

CODING

Private Sub Command1_Click() Set con = New ADODB.Connection With con .Open "Provider=SQLOLEDB.1;Integrated Security=SSPI; Persist Security Catalog=blood_bank_system;Data Source=VRUSHAL-DESKTOP\VRUSHAL" End With Set oRs = New ADODB.Recordset sql = "select * from login" oRs.Open sql, con, adOpenDynamic, adLockOptimistic oRs.MoveFirst Do While Not oRs.EOF If oRs("username").Value = txtusername.Text Then UNAME = True If oRs("password").Value = txtpassword.Text Then UPASS = True MsgBox "Login successful.Welcome To Blood Bank", vbInformation MDIForm1.Show Unload Me Else UPASS = False MsgBox "Invalid Login.Incorrect Password!", vbCritical txtpassword.SetFocus Exit Do Exit Sub End If Else UNAME = False MsgBox "Invalid Login.User not found!", vbCritical 'txtusername.SetFocus Exit Do Exit Sub End If oRs.MoveNext Loop oRs.close con.close End Sub Private Sub Command2_Click() answer = MsgBox("DO YOU REALLY WANTED TO EXIT", vbExclamation + vbYesNo) If answer = vbYes Then End Command2 = False End If End Sub

Info=False;Initial

MDIForm1.frm

CODING
Private Sub newdonar_Click() Form1.Show End Sub Private Sub sheet_Click() Form5.Show End Sub Private Sub search_Click() Form6.Show 'Form9.Show End Sub Private Sub updatedonar_Click() Form3.Show Form1.Hide End Sub Private Sub viewsheet_Click() Form5.Show End Sub

Form1.frm

CODING

Private Sub Form_Load() Combo1.AddItem "MALE", 0 Combo1.AddItem "FEMALE", 1 Combo1.AddItem "OTHER", 2 Combo2.AddItem "A+", 0 Combo2.AddItem "B+", 1 Combo2.AddItem "AB+", 2 Combo2.AddItem "O+", 3 Combo2.AddItem "A-", 4 Combo2.AddItem "B-", 5 Combo2.AddItem "AB-", 6 Combo2.AddItem "O-", 7 End Sub Private Sub reset_Click() 'Adodc1.refresh Form1.Cls End Sub Private Sub submit_Click() Dim bday As Integer Dim bmonth As Integer

Dim byear As Integer bday = DTPicker1.Day bmonth = DTPicker1.Month byear = DTPicker1.Year If Year(Now) <= DTPicker1.Year Then lblage.Caption = 0 ElseIf (bmonth < Month(Now)) Or (bday < Day(Now)) Then lblage.Caption = Abs((Year(Now) - DTPicker1.Year) - 1) Else lblage.Caption = Abs((Year(Now) - DTPicker1.Year)) End If If lblage.Caption <= 18 Then MsgBox "Donar is under age", vbCritical End If 'FieldClear 'lstload If txtdid.Text = "" Then MsgBox "*DonarID Field Requird!", vbCritical ElseIf txtfname.Text = "" Then MsgBox "*FirstName Field Required!", vbCritical ElseIf txtlname.Text = "" Then MsgBox "*LastName Field Required!", vbCritical ElseIf txtaddress.Text = "" Then MsgBox "*Address Field Required!", vbCritical ElseIf txtzip.Text = "" Then MsgBox "*ZipCode Field Required!", vbCritical ElseIf txtphno.Text = "" Then MsgBox "*Phone no. field mandatory!", vbCritical ElseIf lblage.Caption <= 18 Then 'MsgBox "Sorry Donar is Under AGE", vbOKOnly Else Adodc1.Recordset.AddNew MsgBox "New Donar added successfully.", vbInformation End If 'End If txtdid.SetFocus End Sub Private Sub txtdid_Change() 'If txtdid.Text = "" Then 'MsgBox "field is mandatory", vbCritical 'txtdid.SetFocus 'End If End Sub Private Sub txtphno_Change() If Not IsNumeric(txtphno.Text) Then 'MsgBox "Value must be numeric", vbCritical txtphno.Text = "" End If End Sub Private Sub txtzip_Change() If Not IsNumeric(txtzip.Text) Then 'MsgBox "Value must be numeric", vbCritical txtzip.Text = "" End If End Sub

SQL QUERY

Adodc1.Recordset.AddNew

select*from donarinfo

Form3.frm

SQL QUERY
Adodc1.Recordset.update select*from donarinfo

SQL QUERY
Adodc1.Recordset.delete select*from donarinfo

Form5.frm

Form6.frm

CODING

Dim FIELD Dim Exp Dim val Private Sub Combo3_Change() FIELD = Combo3.Text End Sub Private Sub Combo4_Change() Exp = Combo4.Text End Sub Private Sub Command1_Click() Unload Me End Sub Private Sub Command3_Click() val = "'" & Trim(Text9.Text) & "'" Adodc1.CommandType = adCmdText Adodc1.RecordSource = ("select * from donarinfo where ") & FIELD & Exp & val 'Adodc1.refresh End Sub Private Sub Command4_Click() Adodc1.CommandType = adCmdText Adodc1.RecordSource = "select * from donarinfo" Adodc1.refresh End Sub Private Sub Form_Load() Combo3.AddItem "fname", 0 Combo3.AddItem "lname", 1 Combo3.AddItem "did", 2 Combo3.AddItem "age", 3 Combo3.AddItem "zip", 4 Combo3.AddItem "phno", 5 Combo4.AddItem "=", 0 Combo4.AddItem ">", 1 Combo4.AddItem "<", 2 Combo4.AddItem "<=", 3 Combo4.AddItem ">=", 4 End Sub

Form7.frm

Form8.frm

SQL QUERY
Adodc1.Recordset.AddNew select*from login

Adodc1.Recordset.update select*from login

Application:
It is used to get the enquiry about the blood donar. It gives the test report to the donors.

Advantages:
It is fast, efficient and reliable Avoids data redundancy and inconsistency Very user-friendly Easy accessibility of data Number of personnel required is considerably less Provides more security and integrity to data

Disadvantages:
Local technical support: Maintaining LAN requires a person with technical know-how to some extend which might be an obstacle to set up LAN in some areas. This has been planned to resolve by providing adequate training or identifying a person who can support more than one particular organization from a central place. Expensive for low turnover organizations: It requires investment on hardware as well as networking software. It may not be feasible or applicable who handle very low patients volume.

Future Scope:
The proposed system is Blood Bank System. We can enhance this system by including more facilities like emergency SMS for donor which ready for donating blood as well as embedding with hospitals, for Hospital patients facility those who one need blood they can find easily.

Das könnte Ihnen auch gefallen