Blood Bank VB
Blood Bank VB
Blood Bank VB
com/fyp/
CONTENT
Chapter No
i
ii
1
2
3
5
6
7
8
9
10
11
12
13
Topic Name
Certificate
Page no
Certificate of Client
Acknowledgement
Preface
Organizational Overview
Current System and Limitations
Proposed System and its Scope
Gantt Chart
Analysis
E-R Diagram
Event Table
Data Flow Diagram(DFD)
8.1 Diagram Zero
8.2 Context Diagram
8.3 DFD Fragments
Structure Chart
System Flowchart
Menu Tree
Program List
Data Dictionary
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
14
15
16
17
18
19
20
21
Table List
List of Fields
Report List
System Coding Controls
System Coding Convention
System Coding
Screen Layout
Report Layout
Conclusion
References
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
CHAPTER 2
CURRENT SYSTEM AND LIMITATION
Current System
The Om Blood Bank uses Blood Bank application for office
automation. It is used to do all the office work computerized. The current
system is graphical user interface. It does not support much functionality. It
is partial automated system.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
CHAPTER 3
PROPOSED SYSTEM
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
CHAPTER 4
SCOPE OF PROPOSED SYSTEM
Scope and Boundaries
The system will provide the user the option to look at the details of the
existing Donor List, Blood Group and to add a new Donor. It also allows the
user to modify the record. The administrator can alter all the system data.
Business Event
The system will demand for right user id and password for
authentication.
The administrator is assigned to create, update and delete the record
and information about system.
The administrator can change the password of the system.
The normal user is given the rights as per his/her role.
Normal user cannot edit or delete any records
Input for each Business event
User id and password distinguished the states of the user.
The right of the user can be changed by the administrator whenever
necessary.
Software Requirement
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Operating System
Windows 98,Xp
Front End
Back end
Microsoft Acess
Hardware Requirement
Processor
RAM
Hard Disk
20GB HDD
Accessories
Security
An unauthorized user of the application is not allowed to enter in to the
system.
CHAPTER 5
GNATT CHART ANALYSIS
ACTIVITY
Project Search
11/7-18/7
18/7-25/7
1/8-22/8
23/8-13/9
11/10-1/11
14/11-10/12
Finalization&
Allocation
Investigation
of system
requirement
System
Design
Program
design
Program
coding
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
15/12-30/12
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
System
integration
Acceptance
test
E-R DIAGRAM
DONOR
LIST
BLOOD
DETAILS
HOSPITAL
MANAGER
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
GIVE
Final Year Project's is One place for all Engineering Projects,
Presentation, seminar,
ORDE
Summer training report and lot more.
R for Educational Purpose.
NOTE:-This work is copyright () to its Authors. This is only
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
USER
HOLD
S
BANK
GENERAL
BLOOD
INVENTORY
NEW USER
BLOOD
GROUP
CHANGE
PASSWORD
HOLD
S
REPORT
DONOR LIST
PLAC
E
HANDLE
S
ACCOUNT
BILLS
CERTIFICATE
TRANSCATION
KEEP
DETAI
LS
DONOR
HOSPITA
L
OUTSIDER
TRANSACTION
TRANSCATION
LIST
SALARY
TRANSCATION
DETAILS
CONTAC
TS
HELP
ADDRESS BOOK
ABOUT US
MAILING
ADDRESS
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
EVENT TABLE
No
Event
Trigger
User wants to
Login
Login
Request
Adminstrator
Want to add
new user
New user
change
password
Customer
wants the
availability of
blood group
User search
for donor
details
User wants to
search for
transaction
User search
for reports
details
New user
request
2
3
4
5
6
7
10
New
password
Blood
group
details
Donor
details
Request
Transaction
Request
Reports
availability
Request
User search
for Customer
details
Customer
availability
Request
Add /
Modify /
Update /
Reset /
certificate
info
Add /
Modify /
Update /
Reset /
certificate
Request
Source
User
Adminstr
ator
User
Customer
User
User
User
User
User
Activity
Response
Check for
Password
validation
Check for
user name
validation
Create new
password
Login
Confirmed /
Denied
New user
confirmed/de
nied
Password
confirmation
Look up the
blood group
details
List of blood
group
Retrieve
donor
Details
Retrieve
transaction
Details
Retrieve
reports
availability
Details
Retrieve
Customer
availability
Details
Add / Modify
/ Update /
Reset /
certificate
info
Donor
transaction
details
Transaction
details
reports
availability
details
Customer
availability
details
Certificate
info
Added /
Modified /
Updated /
Reset
Destination
Login
New user
user
Customer
User
User
User
User
Blood bank
Add /
Add /
Add / Modify
Donor info
Modify /
Modify /
/ Update /
Added /
Update /
Update /
User
Reset / Donor
Modified /
Donor
Reset / Donor
Reset /
info
Updated /
info
Donor
Reset
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
11
12
13
14
15
Add /
Modify /
Update /
Reset /
outsider
transaction
Add /
Modify /
Update /
Reset /
Customer info
Add / Delete /
Update /
Purchase
order info
Add / Delete /
Update / Sales
order info
Management Place an
Order
Request
Add /
Modify /
Update /
Reset /
outsider
Request
Add /
Modify /
Update /
Reset /
Customer
Request
Add /
Delete/
Update /
Purchase
order
Request
Add /
Delete/
Update /
Sales order
Request
New Order
User
User
User
User
Management
Add / Modify
/ Update /
Reset /
outsider info
Add / Modify
/ Update /
Reset /
Customer
info
Add /Delete /
Update /
Purchase
order info
Add /Delete /
Update /
Sales order
info
Create New
Order
Outsider
info
Added /
Modified /
Updated /
Reset
Customer
info
Added /
Modified /
Updated /
Reset
Purchase
order info
Added /
Deleted
Updated
Sales order
info
Added /
Deleted
Updated
Order
Confirmation
Outsider
Customer
Purchase
Order
Sales order
Management
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
CHAPTER 8
DATA FLOW DIAGRAM (DFD)
DIAGRAM ZERO
1
DONOR
ENQUIRY
ENQUIRY
BLOOD
TRANSACTION
3
REPORT
BANK
CERTIFICATE
4
ATTENDENCE
REPORT
PAYMENT FROM
CUSTOMER
LOOK FOR
ATTENDENCE OF
EMPLOYEE
CUSTOMER
R
ORDER FOR
BLOOD
CUSTOMER
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
8.2
CONTEXT LEVEL DIAGRAM
PAYMENT
ORDER FOLLOW
OUTSIDER TRANSACTION
TRANSACTION
HOSPITAL
DETAILS OF BLOOD
CUSTOMER
BLOOD BANK
REQUEST FOR REPORT
REQUESTED GRANTED
REQUEST FOR CERTIFICATE
CERTIFICATE PROVIDED
8.3
DATA FLOW DIAGRAM
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
FRAGEMENT
BLOOD ENQUIRY
CUSTOMER
ENQUIRY
ENQUIRY
BLOOD DETAILS
BLOOD DETAILS
REPORT
2
CUSTOMER
CERTIFICATE
REPORT
REPORT
CERTIFICATE
CHECK ATTENDENCE
BANK
3
ATTENDENCE
REPORT
PAYMENT
BANK
ATTENDE
NCE
ATTENDENCE
4
PAYMENT
EMPLOYEE PAYMENT
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
TRANSACTION
5
DONOR
DONOR TRANSACTION
DONOR
TRANSACTION
6
OUTSIDER TRANSACTION
OUTSIDER
OUTSIDER
TRANSACTION
HOSPITAL
7
HOSPITAL
ADD ENQUIRY
CUSTOMER
HOSPITAL TRANSACTION
1.1
ADD/UPDATE ENQUIRY
ENQUIRY
UPDATE
ENQUIRY
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
ADD REPORT
CUSTOMER
1.2
ADD/UPDATE
REPORT
CERTIFICATE
UPDATE
REPORT
ADD PAY
BANK
2.1
ADD/UPDATE PAYMENT
EMPLOYEE PAYMENT
UPDATE
PAYMENT
DONOR
ADD TRANSA
CTION
3.1
ADD/UPDATE DONOR
TRANSACTION
DONOR TRANSACTION
UPDATE
TRANSACTION
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
ADD TRANSACTION
4.1
OUTSIDER
UPDATE
TRANSACT
ION
ADD/UPDATE OUTSIDER
TRANSACTION
ADD TRANSACT
ION
HOSPITAL
OUTSIDER TRANSACTION
5.1
ADD/UPDATE
HOSPITAL
TRANSATION
HOSPITAL TRANSACTION
UPDATE
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
CHAPTER 9
STURUCTURE CHART
BLOOD BANK
INFORMATION
BANK
INFO
CUSTOME
R INFO
CUSTOMER
DETAILS
REPORT
DETAILS
MAINTAIN
CUSTOMER
DETAILS
MAINTAIN
REPORT
DETAILS
ADD NEW
CUSTOMER
ADD
REPORT
UPDATE NEW
CUSTOMER
UPDATE
REPORT
CERTIFICATE
DETAILS
EMPLOYEE
PAYMENT
MAINTAIN
CERTIFICATE
DETAILS
ADD
CERTIFICATE
TRANSACTION
MAINTAIN
EMPLOYEE
PAYMENT
UPDATE
CERTIFICATE
ADD
PAYMENT
ADDRESS INFO
MAINTAIN
TRANSACTION
UPDATE
PAMENT
ADD
TRAVSACTION
MAINAIN
ADDRESS INFO
ADD
ADDRESS
UPDATE
TRANSACTION
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
UPDATE
ADDRESS
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
CHAPTER 10
SYSTEM FLOW CHART
AUTO
GENERATION
CERTIFICATE
MAINTAIN
CUSTOMER
CERTIFICATE
CERTIFICATE
DB
CERTIFICATE
REPORT
ENQUIRY
ENQUIRY
DB
MAINTAIN
TRANSACTION
REPORT
DONOR
DB
AUTO
GENERATION
ID
TRANSACTI
ON REPORT
TRANSACTION
CUSTOMER
INFORMATION
TRANSACTION
DB
MAINTAIN
OUITSIDER
MAINTAIN
HOSPITAL
HOSPITAL
REPORT
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
OUTSIDER
REPORT
OUTSIDER
HOSPITAL DB
DB
MENU TREE
BLOOD BANK
FILE
GENERAL
TRANSACTION
REPORT
HELP
FILE
NEW USER
CHANGE
PASSWORD
GENERAL
BLOOD
DETAILS
DONOR LIST
HOSPITAL
MANAGER
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
EXIT
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
TRANSACTION
BLOOD
GROUP
TRANSACTI
ON LIST
TRANSACTI
ON DETAILS
REPORT
DONOR LIST
BLOOD
INVENTRY
DONOR
TRANSACTION
TRANSACTI
ON
OUTSIDER
TRANSACTION
CERTIFICATE
HOSPITAL
TRANSACTIUON
HELP
ADDRESS
BOOK
CONTACT US
ABOUT US
MAILING
ADDRESS
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
EXIT
END
PROGRAM LIST
FORM TITLE
Login Form
DESCRIPTION
Used to check username and
FORM NAME
Login(mainlogin.frm)
password.
Main Blood bank
MdiMain (MdiMain.frm)
ChangePass(changepass.frm)
Newuser(frmnewuser.frm)
details.
This form is used to view the
Frmtranslist(frmtranslist.frm)
transaction .
General form
Frmhospitalmaster(frmhospitalmaster.f
rm)
Frmdonorlist(frmdonorlist.frm)
the donor.
Certificate form
of donor.
This form contains list of
Contact form
address of donor.
This form is used to contact the
Frmaddress(frmaddress.frm)
Frmcontact(frmcontact.frm)
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Donor transaction
Frmindividual(frmindividual.frm)
form
Outsider transaction
donor
This form contains the details of
Frmouttrans(frmouttrans.frm)
form
outsider transaction.
Hospital transaction
form
Frmhospital(frmhospital.frm)
hospital.
DATA DICTIONARY
i.Table List
TABLE NAME
Login
DESCRIPTION
This table is used to store login information about the user
of the system.
BloodGroup
DonateTransaction
HospitalMaster
IndividualMaster
hospital.
This table is used the store the transaction from the Donor.
Outsider
trans
Transactiondetails
Typesofcontact
outsider.
This table is used the store the transaction id and the date.
This table is used the store the details of transaction.
This table is used the store the types of contact.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
ii.Table List
Table Name:-bloodgroup
Fields
Data type
Size
Constraint
PK_BloodGroup
BloodGroupname
AvailableQty
rate
Number
Text
Number
Number
6
35
6
15
Foreign Key
Not Null
Not Null
Not Null
Table Name:-DonateTransaction
Fields
Data type
Size
Constraint
PK_Donatetrans
FK_Individualid
Date
Noofbags
Number
Number
Date/Time
number
6
6
6
Not Null
Not Null
Not Null
Not Null
Table Name:-HospitalMaster
Fields
Data type
Size
Constraint
HospitalName
PK_Hospitalid
Address
Text
Number
Text
35
6
40
Not Null
Primary key
Not Null
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Phonenum
City
Pincode
Number
Text
Number
10
20
10
Not Null
Not Null
Not Null
Table Name:-IndividualMaster
Fields
Data type
Size
Constraint
PK_donorid
Donorname
Add
Age
Gender
Telephone
Mobile
Date
PK_bloodgroup
City
Pincode
Bodyweight
Temperature
Pulse
Bp
Hb
Wtofbag
Number
Text
Text
Number
Text
Number
Number
Number
Text
Text
Number
Number
Number
Number
Number
Number
Number
10
20
30
10
10
10
10
10
10
10
10
10
10
10
10
10
10
Primary key
NotNull
NotNull
NotNull
NotNull
NotNull
NotNull
NotNull
NotNull
NotNull
NotNull
NotNull
NotNull
NotNull
NotNull
NotNull
NotNull
Table Name:-Login
Fields
Data type
Size
Constraint
PK_userid
username
Number
Text
10
20
Primary key
NotNull
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
password
Number
10
NotNull
Size
Constraint
10
20
10
20
30
Primary key
NotNull
NotNull
NotNull
NotNull
Table Name:-Outsider
Fields
Data type
PK_outsiderid Number
name
Text
phonenum
Number
hospname
Text
address
Text
Table Name:-Trans
Fields
Data type
Size
Constraint
PK_transactionid
typeofReceipet
FK_Receipetid
Transactiondate
Transactionno
Amount
Number
Number
Number
Number
Number
Number
10
20
10
10
10
10
Primary key
NotNull
NotNull
NotNull
NotNull
NotNull
Fields
Data type
Size
Constraint
PK_transdetailid
FK_Transid
FK_Bloodgroup
Nob
FK_Receipetid
Number
Number
Text
Number
Number
10
10
10
10
10
Primary key
NotNull
NotNull
NotNull
NotNull
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Fields
Data type
Size
Constraint
PK_tocid
name
Add
Telephone
Number
Text
Text
Number
10
20
30
10
Primary key
NotNull
NotNull
NotNull
REPORT LIST
12.REPORT LIST
REPORT TITLE
DESCRIPTION
Donorfromto report
Donortrans Report
REPORT NAME
Donorfromto.dsr
Donortrans.dsr
Hospitaltrans.dsr
Outsiderbill.dsr
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Bloodinventry Report
Rptbloodinventry.dsr
of Blood inventry.
CHAPTER 15
SYSTEM CODING CONVENTIONS
AND CONTROLS
SYSTEM CODING CONVENTIONS
The system designed has certain conventions which the user has to follow for
proper transaction to be performed. Here is the tabular format giving information
about the conventions involved in this system.
CONTROL NAME
DESCRIPTION
ADD
Adds a new record.
UPDATE
Updates the current record.
EDIT
Edits the record
CANCEL
Cancel the current action.
DELETE
Delete current record.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
PRINT
FIRST
PREVIOUS
NEXT
current record.
Moves to next record from current
LAST
EXIT
record.
Moves to last record.
Exits from the form.
from
LOGIN FORM
Private Sub cmdexit_Click()
Dim can
can = MsgBox("Are You sure want to Cancel ?", vbYesNo +
vbQuestion, "Cancelation")
If can = vbYes Then
Unload Me
End
Else
txtUser.SetFocus
End If
End Sub
Private Sub cmdOk_Click()
If txtpassword = "" And txtUser = "" Then
'place code to here to pass the
'success to the calling sub
'setting a global var is the easiest
LoginSucceeded = True
Me.Hide
MDImain.Show
Else
MsgBox "Invalid Password, Please try again!", vbCritical, "Login
Error"
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
txtPass.SetFocus
SendKeys "{Home}+{End}"
End If
End Sub
Private Sub Cmdok_LostFocus()
'Cmdok.Font.Bold = False
'Cmdok.BackColor = vbButtonFace
End Sub
Private Sub cmdOk_MouseMove(Button As Integer, Shift As Integer,
X As Single, Y As Single)
'Cmdok.Font.Bold = True
'Cmdok.BackColor = vbHighlightText
End Sub
Private Sub Timer1_Timer()
Line1.BorderColor = RGB(Rnd * 255, Rnd * 255, Rnd * 255)
Line2.BorderColor = RGB(Rnd * 255, Rnd * 255, Rnd * 255)
Line3.BorderColor = RGB(Rnd * 255, Rnd * 255, Rnd * 255)
Line4.BorderColor = RGB(Rnd * 255, Rnd * 255, Rnd * 255)
Line5.BorderColor = RGB(Rnd * 255, Rnd * 255, Rnd * 255)
Line6.BorderColor = RGB(Rnd * 255, Rnd * 255, Rnd * 255)
Line7.BorderColor = RGB(Rnd * 255, Rnd * 255, Rnd * 255)
Line8.BorderColor = RGB(Rnd * 255, Rnd * 255, Rnd * 255)
LblNo.Caption = LblNo.Caption - 1
ProgressBar1.Value = ProgressBar1.Value + 1
ProgressBar2.Value = ProgressBar2.Value + 1
ProgressBar3.Value = ProgressBar3.Value + 1
ProgressBar4.Value = ProgressBar4.Value + 1
If LblNo.Caption = 0 Then
LblNo.Caption = 30
ProgressBar1.Value = 1
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
ProgressBar2.Value = 1
ProgressBar3.Value = 1
ProgressBar4.Value = 1
End If
End Sub
Private Sub Timer2_Timer()
Label3.ForeColor = RGB(Rnd * 255, Rnd * 255, Rnd * 255)
Label4.ForeColor = RGB(Rnd * 255, Rnd * 255, Rnd * 255)
End Sub
Private Sub Timer3_Timer()
End Sub
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
MDIFORM
Private Sub MnuBloodDetailsGroup_Click()
frmflexbloodgr.Show
End Sub
Private Sub mnucert_Click()
Certificate.Show
End Sub
Private Sub MnuConAddrBook_Click()
frmflexdesclist.Show
End Sub
Private Sub MnuEmpPass_Click()
changePass.Show
End Sub
Private Sub MnuEmpUser_Click()
NewUser.Show
End Sub
Private Sub MnuExit_Click()
Unload Me
End Sub
Private Sub MnuGenDonar_Click()
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
frmindividual.Show
End Sub
Private Sub MnuGenHosp_Click()
frmflexhospital.Show
End Sub
Private Sub MnuRDonRep_Click()
frmDonorList.Show
End Sub
Private Sub MnuRTDonTr_Click()
frmdonortrans.Show
End Sub
Private Sub MnuRTHospTran_Click()
frmhosptrans.Show
End Sub
Private Sub MnuRTOutTran_Click()
frmOutTrans.Show
End Sub
Private Sub MnuTranDetails_Click()
frmtransaction.Show
End Sub
Private Sub MnuTranList_Click()
frmTransList.Show
End Sub
Private Sub Timer1_Timer()
Label1.ForeColor = RGB(Rnd * 255, Rnd * 255, Rnd * 255)
End Sub
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
NEW USER
Option Explicit
Public rsUser As New ADODB.Recordset
Private Sub cmdNExit_Click()
MDImain.Show
Unload Me
End Sub
Private Sub cmdnOk_click()
Dim StrSql As String
StrSql = "select * from Login"
If Trim(txtnewusername.Text) = "" Then
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
txtnewusername.Text = ""
txtpassword.Text = ""
txtconfpassword.Text = ""
txtnewusername.SetFocus
End Sub
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
CHANGE PASSWORD
Option Explicit
Dim rs As New ADODB.Recordset
Public Function fillusername()
Dim i As Integer
For i = 1 To rs.RecordCount
cbousername.AddItem rs.Fields("username")
rs.MoveNext
Next
End Function
Function OldNotNew() As Boolean
Dim rs As New ADODB.Recordset
Dim StrSql As String
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
txtnewpass.Text = ""
txtoldpass.Text = ""
cbousername.SetFocus
End Sub
Private Sub Form_Load()
With rs
If .State Then .Close
.ActiveConnection = Cnn
.CursorLocation = adUseClient
.LockType = adLockBatchOptimistic
.CursorType = adOpenDynamic
.Open "login"
End With
Call fillusername
End Sub
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
MODULE
Option Explicit
Public Donid As Integer
Public Cnn As New ADODB.Connection
Function numericcheck(i As Integer) As Integer
If i >= 48 And i <= 57 Or i = 13 Or i = 8 Then
numericcheck = i
Else
numericcheck = 0
MsgBox "Please enter numbers only"
End If
End Function
Public Function Clear(frm As Form)
Dim ctrl As Control
For Each ctrl In frm.Controls
If TypeOf ctrl Is TextBox Then
ctrl.Text = ""
ElseIf TypeOf ctrl Is ComboBox Then
ctrl.Text = ""
'ElseIf TypeOf ctrl Is Label Then
'ctrl.Caption = ""
End If
Next
End Function
Function lettercheck(i As Integer) As Integer
If i >= 65 And i <= 90 Or i >= 97 And i <= 122 Or i = 8 Or i = 32
Then
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
lettercheck = i
Else
lettercheck = 0
MsgBox "Please enter letters only"
End If
End Function
Function numeric(i As Integer) As Integer
If i >= 48 And i <= 57 Or i = 13 Or i = 8 Or i = 47 Then
numeric = i
Else
numeric = 0
MsgBox "Please enter numbers and / only"
End If
End Function
Public Function Connect()
If Cnn.State Then Cnn.Close
Cnn.CursorLocation = adUseClient
Cnn.ConnectionString =
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path &
"\bloodbank_db.mdb;Persist Security Info=False"
Cnn.Open
End Function
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
TRANSACTION LIST
Private Sub Form_Load()
Call DrawAndFill
End Sub
Public Function DrawAndFill()
Dim ctr As Integer
Dim rsTrans As New ADODB.Recordset
Dim strsqltrans As String
strsqltrans = "Select Distinct * From Trans"
If rsTrans.State Then rsTrans.Close
rsTrans.Open strsqltrans, cnn, adOpenDynamic,
adLockOptimistic
With msfTransList
.Clear
.Cols = 5
.ColWidth(0) = 1
.ColWidth(1) = 5500
.ColWidth(2) = 1
.ColWidth(3) = 1
.ColWidth(4) = 5100
.TextMatrix(0, 0) = "Transaction ID"
.TextMatrix(0, 1) = "Transaction No"
.TextMatrix(0, 2) = "Type Of Reciepent"
.TextMatrix(0, 3) = "Recepient ID"
.TextMatrix(0, 4) = "Date"
.Rows = rsTrans.RecordCount + 1
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
frmtransaction.Show
End If
If TOR = 3 Then
Call hospname
frmtransaction.Show
End If
End Function
Public Function donname()
frmtransaction.txtOutsider.Visible = True
frmtransaction.Frame3.Enabled = False
Dim did As Integer
did = msfTransList.TextMatrix(msfTransList.Row, 3)
Dim rsname As New ADODB.Recordset
Dim strsqlodonname As String
If rsname.State Then rsname.Close
strsqlodonname = "Select DonorName From IndividualMaster
where PK_DonorID=" & did
rsname.Open strsqlodonname, cnn, adOpenDynamic,
adLockOptimistic
frmtransaction.txtOutsider.Text = rsname("DonorName")
End Function
Public Function outsidername()
frmtransaction.optOutsider.Value = True
frmtransaction.Frame3.Enabled = False
frmtransaction.txtOutsider.Visible = True
Dim did As Integer
did = msfTransList.TextMatrix(msfTransList.Row, 3)
Dim rsname As New ADODB.Recordset
Dim strsqlodonname As String
If rsname.State Then rsname.Close
strsqlodonname = "Select * From OutSider where
PK_OutSiderID=" & did
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
End If
Next
End Sub
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
TRANSACTION DETAILS
Private Sub Form_Load()
FillCombos
If IsMod = False Then
Call autoinc
txttransno.Text = Val(txttransno.Text) + 1
End If
Call drawgrid
Call optDonor_Click
dtDate.Value = Now
txtamount.Text = 0
End Sub
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode
As Integer)
IsMod = False
End Sub
Private Sub msfhosptrans_Click()
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
'MsgBox msfhosptrans.CellWidth
End Sub
Private Sub optDonor_Click()
TOR = 0
lblRecipient.Caption = "Donor"
cboDonorName.Visible = True
cboHospital.Visible = False
txtOutsider.Visible = False
fmMoreDetails.Visible = False
cmdMoreDetails.Visible = False
frmamt.Visible = False
Shape7.Visible = False
cmdprint.Visible = False
msfhosptrans.Clear
Call drawgrid
'Call Clear
cboBG.Clear
cboBGID.Clear
lblstock.Caption = ""
txtNOB.Text = ""
Call FillBloodgroup
ctr = 1
End Sub
Private Sub optHospital_Click()
TOR = 2
lblRecipient.Caption = "Hospital"
cboHospital.Visible = True
cboDonorName.Visible = False
txtOutsider.Visible = False
cmdprint.Visible = False
msfhosptrans.Clear
Call drawgrid
cboBG.Clear
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
cboBGID.Clear
lblstock.Caption = ""
txtNOB.Text = ""
Call FillBloodgroup
ctr = 1
End Sub
Private Sub optOutsider_Click()
TOR = 1
lblRecipient.Caption = "Outsider"
txtOutsider.Visible = True
'------------------added
cmdMoreDetails.Visible = True
cboDonorName.Visible = False
cboHospital.Visible = False
fmMoreDetails.Visible = False
cmdMoreDetails.Visible = True
frmamt.Visible = True
Shape7.Visible = True
cmdprint.Visible = True
msfhosptrans.Clear
Call drawgrid
cboBG.Clear
cboBGID.Clear
lblstock.Caption = ""
txtNOB.Text = ""
Call FillBloodgroup
ctr = 1
End Sub
Sub FillCombos()
FillBloodgroup
Dim rs As New ADODB.Recordset
Dim StrSql As String
StrSql = "Select * From HospitalMaster"
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
End Function
Public Function autoid()
Dim rs7 As New ADODB.Recordset
Dim strsqlinc As String
Dim u As Integer
If rs7.State Then rs7.Close
strsqlinc = "Select * From Trans"
rs7.Open strsqlinc, cnn, adOpenDynamic, adLockOptimistic
If rs7.RecordCount > 0 Then
For u = 1 To rs7.RecordCount
txttransid.Text = rs7("PK_TransactionID")
rs7.MoveNext
Next
Else
txttransid.Text = 0
End If
End Function
Public Function TransData(transid As Integer)
Dim StrSql As String
Dim rs As New ADODB.Recordset
Dim t As Integer
If rs.State Then rs.Close
StrSql = "Select * From Trans Where PK_TransactionID=" &
transid
rs.Open StrSql, cnn, adOpenDynamic, adLockOptimistic
TransactionID = transid
dtDate.Value = rs("TransactionDate")
transoutid = rs("PK_TransactionID")
txttransno.Text = rs("TransactionNo")
txtamount.Text = rs("Amount")
StrSql = "SELECT TransactionDetails.NOB,
TransactionDetails.FK_TransID,
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
TransactionDetails.FK_BloodGroupID,
BloodGroup.BloodGroupName" & _
" FROM (Trans INNER JOIN TransactionDetails ON
Trans.PK_TransactionID = TransactionDetails.FK_TransID)
INNER JOIN BloodGroup ON
TransactionDetails.FK_BloodGroupID =
BloodGroup.PK_BloodGroupID" & _
" WHERE (((TransactionDetails.FK_TransID)=" & transid &
"))"
msfhosptrans.Clear
If rs.State Then rs.Close
rs.Open StrSql, cnn, adOpenDynamic, adLockOptimistic
msfhosptrans.Row = 1
For t = 1 To rs.RecordCount
msfhosptrans.TextMatrix(msfhosptrans.Row, 0) =
rs("FK_BloodGroupID")
msfhosptrans.TextMatrix(msfhosptrans.Row, 1) =
rs("BloodGroupName")
msfhosptrans.TextMatrix(msfhosptrans.Row, 2) = rs("NOB")
msfhosptrans.Row = msfhosptrans.Row + 1
rs.MoveNext
Next
End Function
Private Sub cmdPrint_Click()
OutsiderTransReport
End Sub
Function OutsiderTransReport()
Dim rate As Integer
rate = 625
Dim rs As New ADODB.Recordset
If rs.State Then rs.Close
Dim StrSql As String
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Exit Function
End If
If Trim(txtouthosp.Text) = "" Then
MsgBox "Enter Outsider-Recipient Hospital Name ",
vbInformation
fmMoreDetails.Visible = True
txtouthosp.SetFocus
out_validation = False
Exit Function
End If
msfhosptrans.Row = 1
If msfhosptrans.TextMatrix(msfhosptrans.Row, 0) = "" Then
MsgBox "Select your Blood Requirement"
cboBG.SetFocus
out_validation = False
Exit Function
End If
out_validation = True
End Function
Function hosp_valid() As Boolean
If Trim(cboHospital.Text) = "" Then
MsgBox "Select Hospital Name ", vbInformation
cboHospital.SetFocus
hosp_valid = False
Exit Function
End If
msfhosptrans.Row = 1
If msfhosptrans.TextMatrix(msfhosptrans.Row, 0) = "" Then
MsgBox "Select your Blood Requirement"
cboBG.SetFocus
hosp_valid = False
Exit Function
End If
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
hosp_valid = True
End Function
Public Function automemb()
Dim rs9 As New ADODB.Recordset
Dim strsqlmemb As String
Dim u As Integer
If rs9.State Then rs9.Close
strsqlmemb = "Select TransactionNo From Trans"
rs9.Open strsqlmemb, cnn, adOpenDynamic, adLockOptimistic
If rs9.RecordCount > 0 Then
For u = 1 To rs9.RecordCount
txtinc.Text = rs9("TransactionNo")
rs9.MoveNext
Next
Else
txtinc.Text = 0
End If
End Function
Private Sub txtAddress_KeyPress(KeyAscii As Integer)
'MsgBox KeyAscii
Select Case KeyAscii
Case 8
Case 32
Case 65 To 90, 97 To 122, 44 To 57, 40, 41
Case Else
KeyAscii = 0
End Select
End Sub
Private Sub txtamount_KeyPress(KeyAscii As Integer)
Select Case KeyAscii
Case 13
Case Else
KeyAscii = 0
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
End Select
End Sub
Private Sub txtNOB_KeyPress(KeyAscii As Integer)
Select Case KeyAscii
Case 8
Case 48 To 57
Case Else
KeyAscii = 0
End Select
End Sub
Private Sub txtouthosp_KeyPress(KeyAscii As Integer)
Select Case KeyAscii
Case 8
Case 32, 46
Case 65 To 90
Case 97 To 122
Case Else
KeyAscii = 0
End Select
End Sub
Private Sub txtOutsider_KeyPress(KeyAscii As Integer)
Select Case KeyAscii
Case 8
Case 32, 46
Case 65 To 90
Case 97 To 122
Case Else
KeyAscii = 0
End Select
End Sub
Private Sub txtOutsiderPhone_KeyPress(KeyAscii As Integer)
Select Case KeyAscii
Case 8, 45
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Case 48 To 57
Case Else
KeyAscii = 0
End Select
End Sub
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
DonorReport
End Sub
Function DonorReport()
Dim rs As New ADODB.Recordset
Dim StrSql As String
StrSql = " SELECT IndividualMaster.PK_DonorID,
IndividualMaster.DonorName, BloodGroup.BloodGroupName,
IndividualMaster.Date" & _
" FROM BloodGroup INNER JOIN IndividualMaster ON
BloodGroup.PK_BloodGroupID=IndividualMaster.FK_BloodGro
upID" & _
" WHERE (((IndividualMaster.Date) Between #" &
Format(DTPicker1.Value, "dd - MMM - yyyy") & "# And #" &
Format(DTPicker2.Value, "dd-MMM-yyyy") & "#))"
rs.Open StrSql, cnn, adOpenDynamic, adLockOptimistic
If rs.RecordCount < 1 Then
MsgBox "Record not present", vbInformation
Exit Function
Else
Set DonorFromTo.DataSource = rs
With DonorFromTo
.Sections("Section2").Controls.Item("lblFrom").Caption =
Format(DTPicker1.Value, "dd-MMM-yyyy")
.Sections("section2").Controls.Item("lblTo").Caption =
Format(DTPicker2.Value, "dd-MMM-yyyy")
End With
With DonorFromTo.Sections("Section1").Controls
.Item("txtDate").DataField = "Date"
.Item("txtDonorName").DataField = "DonorName"
.Item("txtBloodGroup").DataField = "BloodGroupName"
.Item("txtId").DataField = "PK_DonorID"
End With
DonorFromTo.Refresh
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
DonorFromTo.Show
End If
End Function
Private Sub Form_Load()
DTPicker2.Value = Now
End Sub
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
DONOR TRANSACTION
Private Sub cmdprint_Click()
If DTPicker1.Value > DTPicker2.Value Then
MsgBox "Please check Selected Dates", vbInformation +
vbOKOnly
Exit Sub
End If
If DTPicker2.Value > Now Then
MsgBox "select 2nd Date as Todays Date"
Exit Sub
End If
DonorTransReport
End Sub
Function DonorTransReport()
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
'With DonorTrans.Sections("Section5").Controls
' .Item("funtotal").DataField = "TotalAmount"
'End With
DonorTrans.Refresh
DonorTrans.Show
End If
End Function
Private Sub Form_Load()
DTPicker2.Value = Now
End Sub
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
OUTSIDER TRANSACTION
Private Sub cmdprint_Click()
If DTPicker1.Value > DTPicker2.Value Then
MsgBox "Please check Selected Dates", vbInformation +
vbOKOnly
Exit Sub
End If
If DTPicker2.Value > Now Then
MsgBox "select 2nd Date as Todays Date"
Exit Sub
End If
OutsiderTransReport
End Sub
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Function OutsiderTransReport()
Dim rs As New ADODB.Recordset
Dim StrSql As String
StrSql = " SELECT Trans.TransactionDate,Trans.Amount,
OutSider.Name, BloodGroup.BloodGroupName,
TransactionDetails.NOB, Trans.TypeOfReciepent" & _
" FROM ((Trans INNER JOIN TransactionDetails ON
Trans.PK_TransactionID = TransactionDetails.FK_TransID)
INNER JOIN OutSider ON Trans.FK_RecepientID =
OutSider.PK_OutSiderID) INNER JOIN BloodGroup ON
TransactionDetails.FK_BloodGroupID =
BloodGroup.PK_BloodGroupID" & _
" WHERE (((Trans.TransactionDate) Between #" &
Format(DTPicker1.Value, "dd-MMM-yyyy") & " # And # " &
Format(DTPicker2.Value, "dd-MMM-yyyy") & " #) AND
((Trans.TypeOfReciepent)='2'))"
rs.Open StrSql, cnn, adOpenDynamic, adLockOptimistic
If rs.RecordCount < 1 Then
MsgBox "Record not present", vbInformation
Exit Function
Else
Set OutTrans.DataSource = rs
With OutTrans
.Sections("Section2").Controls.Item("lblFrom").Caption =
Format(DTPicker1.Value, "dd-MMM-yyyy")
.Sections("section2").Controls.Item("lblTo").Caption =
Format(DTPicker2.Value, "dd-MMM-yyyy")
End With
With OutTrans.Sections("Section1").Controls
.Item("txtDate").DataField = "TransactionDate"
.Item("txtName").DataField = "Name"
.Item("txtBloodGroup").DataField = "BloodGroupName"
.Item("txtNOB").DataField = "NOB"
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
.Item("txtAmount").DataField = "Amount"
End With
With OutTrans.Sections("Section5").Controls
.Item("funTotal").DataField = "Amount"
End With
OutTrans.Refresh
OutTrans.Show
End If
End Function
Private Sub Form_Load()
DTPicker2.Value = Now
End Sub
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
HOSPITAL TRANSACTION
Private Sub cboHospitalName_Click()
cbohospid.ListIndex = cboHospitalName.ListIndex
End Sub
Private Sub cmdprint_Click()
If cbohospid.ListIndex >= 0 Then
HospitalTrans
Else
MsgBox "Select Hospital Name First", vbInformation
Exit Sub
End If
End Sub
Function HospitalTrans()
Dim rs As New ADODB.Recordset
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
.Item("txtBloodGroup").DataField = "BloodGroupName"
.Item("txtNOB").DataField = "NOB"
End With
HospitalTransaction.Refresh
HospitalTransaction.Show vbModal
End If
End Function
Private Sub Form_Load()
Call fillcombo
End Sub
Public Function fillcombo()
Dim rs1 As New ADODB.Recordset
Dim i As Integer
Dim Strs1ql As String
Strs1ql = "SELECT distinct
HospitalMaster.HospitalName,Trans.TypeOfReciepent,
Trans.FK_RecepientID" & _
" FROM Trans INNER JOIN HospitalMaster ON
Trans.FK_RecepientID = HospitalMaster.PK_HospitalID" & _
" WHERE (((Trans.TypeOfReciepent)='3'))"
If rs1.State Then rs1.Close
rs1.Open Strs1ql, cnn, adOpenDynamic, adLockOptimistic
For i = 1 To rs1.RecordCount
cboHospitalName.AddItem rs1.Fields("HospitalName")
cbohospid.AddItem rs1.Fields("FK_RecepientID")
rs1.MoveNext
Next
End Function
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Call Clear(Me)
'txtbloodgroup.Text = ""
End Sub
Private Sub cmddelete_Click()
If MsgBox("Do You Want To Delete?", vbQuestion + vbYesNo) =
vbYes Then
Dim rs1 As New ADODB.Recordset
With rs1
If .State Then .Close
Dim StrSql As String
StrSql = "delete * from BloodGroup where
PK_BloodGroupID=" & BloodGroupID
.Open StrSql, cnn, adOpenDynamic,
adLockBatchOptimistic
MsgBox "Record Deleted", vbInformation + vbOKOnly
End With
Else
Exit Sub
End If
frmflexbloodgr.DrawAndFillBloodgr
Unload Me
End Sub
Public Function ItemRefresh()
Dim rs As New ADODB.Recordset
With rs
If .State Then .Close
.ActiveConnection = cnn
.CursorLocation = adUseClient
.LockType = adLockBatchOptimistic
.CursorType = adOpenDynamic
.Open "BloodGroup"
frmflexbloodgr.DrawAndFillBloodgr
End With
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
End Function
Private Sub cmdsave_Click()
If validatebloodgr = False Then Exit Sub
Dim rsbloodgr As New ADODB.Recordset
If IsMod Then
rsbloodgr.Open "Select * From BloodGroup Where
PK_BloodGroupID=" & BloodGroupID, cnn, adOpenDynamic,
adLockOptimistic
rsbloodgr.Update
Else
rsbloodgr.Open "Select * From BloodGroup Where
PK_BloodGroupID=" & BloodGroupID, cnn, adOpenDynamic,
adLockOptimistic
rsbloodgr.AddNew
End If
MsgBox "Record save successfully", vbInformation
frmflexbloodgr.DrawAndFillBloodgr
Unload Me
End Sub
Public Function validatebloodgr() As Boolean
If Trim(txtbloodgroup.Text) = "" Then
MsgBox "Enter the Blood Group", vbInformation
txtbloodgroup.SetFocus
validatebloodgr = False
Exit Function
End If
validatebloodgr = True
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode
As Integer)
IsMod = False
End Sub
Private Sub txtbloodgroup_KeyPress(KeyAscii As Integer)
'MsgBox KeyAscii
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
End Sub
Public Function validatebloodgr() As Boolean
If Trim(txtbloodgroup.Text) = "" Then
MsgBox "Enter the Blood Group", vbInformation
txtbloodgroup.SetFocus
validatebloodgr = False
Exit Function
End If
validatebloodgr = True
End Function
Private Sub Command1_Click()
End Sub
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode
As Integer)
IsMod = False
End Sub
Private Sub txtbloodgroup_KeyPress(KeyAscii As Integer)
'MsgBox KeyAscii
Select Case KeyAscii
Case 65 To 90
Case 8, 43, 45
Case 32
Case Else
KeyAscii = 0
End Select
End Sub
Public Function AssignBloodGr(bloodgrid As Integer)
Dim rsblood As New ADODB.Recordset
Dim StrSql As String
StrSql = "Select * From BloodGroup Where PK_BloodGroupID="
& bloodgrid
'If rsblood.State Then rsblood.Close
rsblood.Open StrSql, cnn, adOpenDynamic, adLockOptimistic
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
ADDRESS BOOK
Private Sub cmdnew_Click()
frmdescription.Show vbModal
frmdescription.cmddelete.Visible = False
frmdescription.cmdclear.Visible = True
End Sub
Private Sub Form_Load()
Call DrawAndFillDesc
End Sub
Public Function DrawAndFillDesc()
Dim ctr As Integer
Dim rsdesc As New ADODB.Recordset
If rsdesc.State Then rsdesc.Close
rsdesc.Open "TypeOfContact", cnn, adOpenDynamic,
adLockOptimistic
With msfdesclist
.Clear
.ColWidth(0) = 1
.ColWidth(1) = 6500
.ColWidth(2) = 4000
.TextMatrix(0, 0) = "PK_TOCID"
.TextMatrix(0, 1) = "Name"
.TextMatrix(0, 2) = "Phone No"
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
.Rows = rsdesc.RecordCount + 1
For ctr = 1 To rsdesc.RecordCount
.TextMatrix(ctr, 0) = rsdesc("PK_TOCID")
.TextMatrix(ctr, 1) = rsdesc("Name")
.TextMatrix(ctr, 2) = rsdesc("PhoneNo")
rsdesc.MoveNext
Next
End With
End Function
Private Sub msfdesclist_DblClick()
If msfdesclist.Row = 0 Then Exit Sub
frmdescription.Assigndesc
Val(msfdesclist.TextMatrix(msfdesclist.Row, 0))
frmdescription.Show vbModal
frmdescription.cmddelete.Visible = True
frmdescription.cmdclear.Visible = False
End Sub
Private Sub txtSearch_Change()
Dim i As Integer
For i = 1 To msfdesclist.Rows - 1
If InStr(1, Mid(msfdesclist.TextMatrix(i, 1), 1,
Len(txtSearch.Text)), txtSearch.Text, vbBinaryCompare) > 0 Then
msfdesclist.Row = i
msfdesclist.RowSel = i
msfdesclist.ColSel = 2
'msfindividuallist.SetFocus
'HighLightRow i
Exit For
End If
Next
End Sub
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
DESCRIPTION
Option Explicit
Dim IsMod As Boolean
Dim descriptionid As Integer
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
End Sub
Private Sub txtdescription_KeyPress(KeyAscii As Integer)
Select Case KeyAscii
Case 97 To 122
Case 65 To 90
Case 8
Case 32
Case Else
KeyAscii = 0
End Select
End Sub
Public Function Assigndesc(descid As Integer)
Dim rsdesc As New ADODB.Recordset
Dim StrSql As String
StrSql = "Select * From TypeOfContact Where PK_TOCID=" &
descid
'If rsdesc.Open Then rsdesc.Close
rsdesc.Open StrSql, cnn, adOpenDynamic, adLockOptimistic
If rsdesc.RecordCount > 0 Then
IsMod = True
descriptionid = descid
txtdescription.Text = rsdesc("Name")
txtadd.Text = rsdesc("Address")
txtphone.Text = rsdesc("PhoneNO")
End If
End Function
Public Function Validatedesc() As Boolean
If Trim(txtdescription.Text) = "" Then
MsgBox "Enter Description", vbInformation
txtdescription.SetFocus
Validatedesc = False
Exit Function
End If
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
DATA ENVIRONMENT
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
CONCLUSION
The quality and reliability of the software depends on the result of phasaes in the
system development .The software quality includes the modularity ,good
documentation ,user friendliness,maintainability etc,
The software reliability depends on the less chances of failure and enhancement in
th system even in stressed situations
As far as my developed system is concerned ,We have tried to make the
system as user friendly as possible where a layman can handle the system very
comfortably.
During detail design ,the system is designed into modules so it is easy to
understand and helpful to the management.
Suggestions for Future
The system is developed by keeping in mind the present conditions and rules .if
there are changes in the rules and conditions,system needs maintenance according to the
changes.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
CHAPTER 21
REFERENCES
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
www.final-yearprojects.co.cc | www.troubleshoot4free.com/fyp/
Final Year Project's is One place for all Engineering Projects, Presentation, seminar,
Summer training report and lot more.
NOTE:-This work is copyright () to its Authors. This is only for Educational Purpose.