Blood Bank Full

72
CONTENTS Title Page No. 1.Introduction  1.1Abstract 2Description of the Problem  2.1 Existing System  2.2 Proposed System  2.3 System Environment 2. System !e"uirement 3.System Analysis  3.#System Description  3.2 Data $lo% Diagram 4. Development of System and &esting 4.1System 'aintenance 4.2System testing  5. Implementation 6 (onclusions

Transcript of Blood Bank Full

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 1/72

CONTENTS

Title Page No.

1.Introduction

 

1.1Abstract

2Description of the Problem

  2.1 Existing System  2.2 Proposed System

  2.3 System Environment

2. System !e"uirement

3.System Analysis

  3.#System Description

  3.2 Data $lo% Diagram

4. Development of System and &esting

4.1System 'aintenance

4.2System testing

  5. Implementation

6 (onclusions

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 2/72

  )ibliography

Intruduction

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 3/72

  Blood Bank Management System

Abstract

  &his is soft%are %hich has mainly made for

management of )lood )an* system. &he soft%are has been designed %ith front

end as +) and bac* end as 'S,access.  Blood Bank Management Software,

readily scalable and adaptable to meet te comple! need of Blood Banks

"o are #ey $acilitator for te %ealtcare Sector, it also s&pports all te

f&nctionalities of Blood Bank.  It %ill help person to donate blood easily and

helps people %ho are in need of blood by giving the details of the donors by

searching- if at all there are no donors having the same group and %ithin their o%n

city they %ill be given the address. )lood donation campaign is carried out blood

is ta*en from all the donors irrespective of the group they belong to. &his results in

getting blood from a particular group in excess of %hat is re"uired.

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 4/72

EXISTIN S!STEM

All the blood ban*s are attached to hospitals and there is no stand,alone

 blood ban*. As each hospital has its o%n systems and limitations- the co,ordination

 bet%een the blood ban*s is practically impossible. )ecause of lo% number of

donors and more number of blood ban*s- the efficiency and "uality of blood ban*s

are lo%- resulting in %astage of blood and blood components. &he challenges in the

 present system are/

#. Some of the hospitals are having individual blood ban*s

2. Some of the hospitals are not having blood ban*s

3. Donors do not have any record of their donations or information related to

their blood diseases.

P"OPOSE# S!STEM

An efficient blood ban* management system should be developed- %ith theaim of ensuring that every patient has access to an ade"uate "uantity of safe blood

in a centrali0ed manner. &he management system should solve the issue of demand

and %astage and lead to self,sufficiency in blood re"uirement. &his should

encourage ne% donors and retain old donors to donate blood.

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 5/72

Module #escri$tion%

#. 1ogin 'odule

2. Donor 'anagement

3. !ecipient Details

. !eport

&ogin Module%

  In this module the admin have to enter the username and pass%ord .If

the username and pass%ord is correct only then they %ill be proceed further else anerror message %ill be displayed.

#onor Management%

  &his module contains donors details li*e donor

number-name-age-sex-sponser name-donor type- blood donation date- permanenet

address-donors contact number-last donation date and also screening test detailsli*e screening officer name-ran*-screening date-etc.

"eci$ient Module%

  &his module contains recipient details li*e recipient number- name- age-

sex- blood group- permanenet address- contact number- blood pac* cell volume and

also screening test is also conducted. It contains screening officer name- ran*-

screening date- etc.

"e$orts%

  &his module contains the donor reports and recipient

reports.Donor report contains donor number-name-age-sex-sponser name-donor

type-blood donation date-permanenet address-donors contact number-last donation

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 6/72

date and also screening test details li*e screening officer name-ran*-screening

date-etc.

  !ecipient report contains recipient number- name- age- sex- blood

group- permanenet address- contact number- blood pac* cell volume- screeningofficer name- ran*- screening date- etc.

'. S!STEM SPECI(ICATION

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 7/72

 3.1. HARDWARE SPECIFICATION 

 

'rocessor ( )ntel 'enti&m ))) or later.

  Main Memory ( 256 MB

  Base Memory ( 64* #B

  +ace Memory ( 512 #B

  #eyboard ( 1* #eys

  Monitor ( 1- +olor Monitor

  Mo&se ( /ptical Mo&se

  %ard 0isk ( 2* B

'.). SO(T*A"E SPECI(ICATION

  $ront nd ( b

  Back nd ( Microsoft cess

  /perating System ( "indows 2*** ' Serice 'ack 2.

'.'. So+t,are #escri$tion

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 8/72

'icrosoft released +isual )asic in #4. It %as the first visual development tool

from 'icrosoft- and it %as to compete %ith (- (55- Pascal and other %ell,*no%n

 programming languages. $rom the start- +isual )asic %asn6t a hit. It %asn6t until

release 2.7 in ## that people really discovered the potential of the language- and

%ith release 3.7 it had become the fastest,gro%ing programming language on the

mar*et.

*-at Is isual Basic/

Programmers have undergone a ma8or change in many years of programming

various machines. $or example %hat could be created in minutes %ith +isual )asic

could ta*e days in other languages such/ as 9(9 or 9Pascal9. +isual )asic provides

many interesting sets of tools to aid you in building exciting applications. +isual

)asic provides these tools to ma*e your life far more easier because all the real

hard code is already %ritten for you.

:ith controls li*e these you can create many applications %hich use certain parts

of %indo%s. $or example- one of the controls could be a button- %hich %e have

demonstrated in the 9;ello :orld9 program belo%. $irst create the control on the

screen- then %rite the code %hich %ould be executed once the control button is

 pressed. :ith this sort of operation in mind- simple programs %ould ta*e very little

code. :hy do it li*e the poor old 9(9 programmer %ho %ould have to %rite code

to even display a %indo% on the screen- %hen +isual )asic already has this part

%ritten for you.

Even though people tend to say +isual )asic6s compiler is far behind the compilers

of Pascal and (- it has earned itself the status of a professional programming

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 9/72

language- and has almost freed )ASI( of the reputation of a children6s language.

<verall you %ould class +isual )asic as a =raphics >ser Interface?=>I@. )ecause

as you dra%- you %rite for the program. &his must al%ays be remembered in any

*ind of creation of a +isual )asic program. All in all- +) is the preferred language

of many future program mers. If you %ant to start programming :indo%s- and

don6t *no% how to start- give +isual )asic a shot.

Signi+icant &anguage (eatures

+isual )asic is not only a programming language- but also a complete graphical

development environment. &his environment allo%s users %ith little programming

experience to 0uickly develop useful 'icrosoft :indo%s applications %hich have

the ability to use <1E ? <b8ect 1in*ing and Embedding @ ob8ects- such as an Excel

spreadsheet. +isual )asic also has the ability to develop programs that can be used

as a front end application to a database system- serving as the user interface %hich

collects user input and displays formatted output in a more appealing and useful

form than many S1 versions are capable of.

+isual )asic6s main selling point is the ease %ith %hich it allo%s the user to create

nice loo*ing- graphical programs %ith little coding by the programmer- unli*e

many other languages that may ta*e hundreds of lines of programmer *eyed code.

As the programmer %or*s in the graphical environment- much of the program code

is automatically generated by the +isual )asic program. In order to understand

ho% this happens it is necessary to understand the ma8or concepts- ob8ects and

tools used by +isual )asic. &he main ob8ect in +isual )asic is called a +orm.

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 10/72

:hen you open a ne% pro8ect- you %ill start %ith a clear form that loo*s similar to

this /

&his form %ill eventually be incorporated into your program as a %indo%. &o this

form you add controls. (ontrols are things li*e text boxes- chec* boxes and

command buttons. (ontrols are added to your form by choosing them from the

+isual )asic 9tool box9 %ith the mouse and inserting them in the form. Bours may

loo* different- but the basic +isual )asic &ool )ox loo*s li*e this /

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 11/72

<nce formsCcontrols are created- you can change the properties ? appearance-

structure etc. @ related to those ob8ects in that particular ob8ects $ro$erties

,indo,. $rom this %indo%- you choose the property you %ant to change from the

list and change its corresponding setting. ;ere is an example of a properties

%indo% /

$inally- you can add e1ents  to your controls. Events are responses to actions

 performed on controls. $or example- in the 9;ello %orld9 program sample on this

 page- %hen you clic* on the command button on our form the event that is

triggered is the output of the message 9;ello %orld9 to the screen. (ode must be

%ritten to create an event. Bou can do this in +isual )asic6s code ,indo,. Bours

%ill loo* similar to this ? except of course- the body of the sub,procedure %here the

actions are specified@ /

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 12/72

<nce the code box is open- you select the ob8ect to create an event for and the

triggering action ? such as a certain mouse action @ from the drop do%n menus in

the code box. Bou can open a code box for a particular form by choosing it from

the $ro2ect ,indo,  and selecting the ie, Code  button. &he pro8ect %indo%

contains a list of ob8ects associated %ith that pro8ect. )elo% is an example of a

 pro8ect %indo% /

<nce all your ob8ects are created- you can combine them to form a single

executable program that can be run outside of the +isual )asic environment- in

'icrosoft :indo%s.

Areas o+ A$$lication

&he term 9 Personal Programming 9 refers to the idea that- %herever you %or*-

%hatever you do- you can expand your computer6s usefulness by %riting

applications to use in your o%n 8ob. Personal Programming is %hat +isual )asic is

all about.

>sing +isual )asic6s tools- you "uic*ly translate an abstract idea into a program

design you can actually see on the screen. +) encourages you to experiment-

revise- correct- and net%or* your design until the ne% pro8ect meets your

re"uirements. ;o%ever - most of all- it inspires your imagination and creativity.

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 13/72

+isual )asic is ideal for developing applications that run in the ne% :indo%s

operating system. +) presents a 3,step approach for creating programs/

#. Design the appearance of your application.

2. Assign property settings to the ob8ects of your program.

3. :rite the code to direct specific tas*s at runtime.

+isual )asic can and is used in a number of different areas- for example/

• Eucation

!esearch

• 'edecine

• )usiness

• (ommerce

• 'ar*eting and Sales

• Accounting

• (onsulting

• 1a%

• Science 

• About the software

•   *indo,s XP%

•   :indo%s P is a line of proprietary operating system

developed by 'icrosoft for use on general purpose computer

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 14/72

systems- including home and business des*tops- note boo*

computers and media centers. 1etters FPG stand for ePerience.

•   :indo%s P is the successor to both :indo%s 2777 and

:indo%s 'e- and is the first consumer ,oriented <peratingSystem produced by 'icrosoft to be built on the :indo%s H&

*ernel and architecture.

•   &he most common editions of the operating system are

%indo%s P home edition- %hich is targeted home users- and

:indo%s P professional- %hich has additional features such as

support for :indo%s server domain and dual processor- and is

targeted at po%er users and business clients.

•   :indo%s P is *no%n for its improved stability and efficiency

over previous version of 'icrosoft :indo%s. It presents a

significantly redesigned graphical user interface- a change

'icrosoft promoted as more user friendly than previous versions

of :indo%s.

4. SYSTEM DESIGN 

  System design is te process of deeloping

specification for te proposed system tat meet te criteria

establised in te system analysis a maor step in te

system design is preparation of te inp&t and design ofo&tp&t reports in te form acceptable. System design

inoles first logical design and ten te pysical

constr&ction of te system. 7e logical design describes

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 15/72

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 16/72

#onor

"eci$ient

Cross C-ecking

"e$ort

:ecipient :egister

teir

details

  dmin:eport

enerated  'rocess

0onor ;ew 0onor

:egistration

0onation

process

Screening test

 will be

cond&cted

0onor blood:ecipient

Blood

+ross

cecking

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 17/72

9<9 1 dmin(

0onor details

  dmin

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 18/72

LEVEL 2

:eceipient

Blood details

0onor name

Blood gro&p

  dmin

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 19/72

LEVEL 3

 <iral stat&s

  dmin

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 20/72

:eceipient name

Blood gro&p

:es&s

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 21/72

FLOW CHART

Start

+ec

k

admi

n

  0onor details

  :ecipient 0etails

  +ecking alidlity

  stop

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 22/72

Blood Bank Management System

0onor:ecord 0onor :eference

0no

0na

me

dtyp

e date

address

ro&

p

dn

o

nam

e

bagno

%emoglobin

0onor

7ype

Screening

date

<:

0/;7S

  :ecepient :ecord  =sedno

0onor>s ;oBag

nonon

o;o

Blood ro&p

!p

0ate

Screening/ffic

er

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 23/72

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 24/72

DEVELOPMENT OF SYSTEM AND TESTN!

SYSTEM MAINTENANCE%

7e obecties of tis maintenance work are to make s&re

tat te system gets into work all time wito&t any b&g. 'roision

m&st be for enironmental canges wic may affect te

comp&ter or software system. 7is is called te maintenance of

te system. ;owadays tere is te rapid cange in te software

 world. 0&e to tis rapid cange, te system so&ld be capable of

adapting tese canges. )n o&r proect te process can be added

 wito&t affecting oter parts of te system. Maintenance plays a

ital role. 7e system liable to accept any modification after its

implementation. 7is system as been designed to faor all new

canges. 0oing tis will not affect te system?s performance or its

acc&racy.

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 25/72

SYSTEM TESTN!"

7esting is done for eac mod&le. fter testing all te

mod&les, te mod&les are integrated and testing of te final

system is done wit te test data, specially designed to sow tat

te system will operate s&ccessf&lly in all its aspects conditions.

7e proced&re leel testing is made first. By giing improper

inp&ts, te errors occ&rred are noted and eliminated. 7&s te

system testing is a confirmation tat all is correct and an

opport&nity to sow te &ser tat te system works. 7e final step

inoles <alidation testing, wic determines weter te

software f&nction as te &ser e!pected. 7e end@&ser rater tan

te system deeloper cond&ct tis test most software deelopers

as a process called Alpa and Beta test to &ncoer tat only te

end &ser seems able to find.

7is is te final step in system life cycle. %ere we implement

te tested error@free system into real@life enironment and make

necessary canges, wic r&ns in an online fasion. %ere system

maintenance is done eery monts or year based on company

policies, and is cecked for errors like r&ntime errors, long r&n

errors and oter maintenances like table erification and reports.

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 26/72

5NIT TESTIN

  =nit testing erification efforts on te smallest &nit of

software design, mod&le. 7is is known as AMod&le 7esting.

7e mod&les are tested separately. 7is testing is carried o&t

d&ring programming stage itself. )n tese testing steps, eac

mod&le is fo&nd to be working satisfactorily as regard to te

e!pected o&tp&t from te mod&le.

INTE"ATION TESTIN

  )ntegration testing is a systematic tecni8&e for

constr&cting tests to &ncoer error associated witin te

interface. )n te proect, all te mod&les are combined and ten

te entire programmer is tested as a wole. )n te integration@

testing step, all te error &ncoered is corrected for te ne!t

testing steps.

VALDATON TESTN!

  &o uncover functional errors- that is- to chec* %hether

functional characteristics confirm to specification or not specified.

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 27/72

MPLEMENTATON

  )mplementation is te most cr&cial stage in

acieing a s&ccessf&l system and giing te &ser?s confidence

tat te new system is workable and effectie. )mplementation of

a modified application to replace an e!isting one. 7is type of

conersation is relatiely easy to andle, proide tere are nomaor canges in te system.

ac program is tested indiid&ally at te time of

deelopment &sing te data and as erified tat tis program

linked togeter in te way specified in te programs specification,

te comp&ter system and its enironment is tested to te

satisfaction of te &ser. 7e system tat as been deeloped is

accepted and proed to be satisfactory for te &ser. nd so te

system is going to be implemented ery soon. simple operating

proced&re is incl&ded so tat te &ser can &nderstand te

different f&nctions clearly and 8&ickly.

  )nitially as a first step te e!ec&table form of te

application is to be created and loaded in te common serer

macine wic is accessible to te entire &ser and te serer is to

be connected to a network. 7e final stage is to doc&ment te

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 28/72

entire system wic proides components and te operating

proced&res of te system.

)mplementation is te stage of te proect wen teteoretical design is t&rned o&t into a working system. 7&s it can

be considered to be te most critical stage in acieing a

s&ccessf&l new system and in giing te &ser, confidence tat te

new system will work and be effectie.

  7e implementation stage inoles caref&l planning,

inestigation of te e!isting system and it?s constraints on

implementation, designing of metods to aciee cangeoer and

eal&ation of cangeoer metods.

  )mplementation is te process of conerting a new

system design into operation. )t is te pase tat foc&ses on &ser

training, site preparation and file conersion for installing acandidate system. 7e important factor tat so&ld be considered

ere is tat te conersion so&ld not disr&pt te f&nctioning of

te organiation

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 29/72

ConClusion

&he donor details is maintained. &he search for blood can done easily. &he

each blood group details is 'aintained separately. )y this method the blood details

is maintained efficiently and can process easily.

(uture En-ancement

  &he solution should give complete information about blood donors- and various

activities of hospitals and blood ban*s regarding the blood donation.

Donors are provided %ith registration process to maintain their information forfuture donations as %ell as to ma*e their information available to search. )lood

recipients can place order for blood.

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 30/72

"E(E"ENCE

)eginning +isual )asic

)y Peter :right- Published by :rox Press- August #- Paperbac*- 77 pages- IS)H

##77#73.

&each Bourself +isual )asic

)y =reg Perry- Published by Sams- Softcover- Published December #- #77 pages- IS)H

7423##22

'icrosoft +isual )asic .7 Deluxe 1earning Edition

)y 'ichael ;alvorson- Published by 'S Press- #32 pages %C (D,!<'- IS)H #423#432

+isual )asic from the =round >p

)y =ary (ornell- Published by 'c=ra% ;ill- Sept #- 32 pages- IS)H 77427

Advanced 'icrosoft +isual )asic .7

)y the 'andelbrot Set- Published by 'S Press- Hovember #- Paperbac*- 7 pages- IS)H

#423#34

+isual)asic Programmer6s =uide to the :in32 API

)y Dan Appleman published by Sams- 'arch #- Paperbac*- #7 pages IS)H 7423#7

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 31/72

Tables

#ONO" "ECO"#

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 32/72

#ONO" "E(E"NCE

"ECIPIENT

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 33/72

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 34/72

CODN!

Ma#$ Me$u

'riate S&b cmdCBack&pC+lickDE

frmBack=p.Sow bModal

nd S&b

'riate S&b cmdbo&tC+lickDE

frmbo&t.Sow bModal

nd S&b

'riate S&b cmd0onorC9istC+lickDE

frm:$:;+C:+/:0.Sow bModal

nd S&b

'riate S&b cmd0onorC:ecordC+lickDE

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 35/72

frm0/;/:C:+/:0.Sow bModal

nd S&b

'riate S&b cmd:ecipientC:ecordC+lickDE

frm:+)');7C:+/:0.Sow bModal

nd S&b

'riate S&b cmd:ptC0onorC+lickDE

drpC0onor.Sow bModal

nd S&b

'riate S&b cmd:pt:eciC+lickDE

drpC:ecipient.Sow bModalnd S&b

'riate S&b cmdSettingsC+lickDE

>frmSettings.Sow bModal

nd S&b

'riate S&b $ormCF&ery=nloadD+ancel s )nteger, =nloadMode s

)ntegerE

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 36/72

)f MsgBo!DG!it Blood BankHG, bIes;o J bF&estion, G!itGE K bIes

7en

nd

lse

+ancel K 7r&e

nd )f

nd S&b

'riate S&b lbl!itC+lickDE)f MsgBo!DG!it Blood BankHG, bIes;o J bF&estion, G!itGE K bIes

7en

nd

lse

+ancel K 7r&e

nd )f

nd S&b

'riate S&b $ormCMo&seMoeDB&tton s )nteger, Sift s )nteger, s

Single, I s SingleE

lbl!it.$ontSie K 14

lbl!it.$ore+olor K L%$$**L

nd S&b

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 37/72

'riate S&b lbl!itCMo&seMoeDB&tton s )nteger, Sift s )nteger, s

Single, I s SingleE

lbl!it.$ontSie K 24

lbl!it.$ore+olor K L%$$L

nd S&b

'riate S&b $ormC9oadDE

frmCMen&.+aption K GMain Men&G

nd S&b

0onor :ecord

0im B9//0CB;#0B s 0atabase

0im rst0onor s :ecordset

0im rst:eference s :ecordset

0im rst+eckC;o s :ecordset

0im rst<S s :ecordset

0im <ar'reC;o s String

0im <arenerateC;o s String

0im <ar+eckC;o s String

'riate S&b ;ew:ecDE

/n rror :es&me ;e!t

+learform

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 38/72

et)0

t!t$&ll;ame.Set$oc&s

nd S&b

'riate S&b et)0DE

/n rror o7o rror7rap

<ar'reC;o K G0;G

lbl'refi!C;o K <ar'reC;o

<arenerateC;o K <ar+eckC;o

"it rst+eckC;o

/n rror :es&me ;e!t

.Moe9ast

<arenerateC;o K $ormatD1, G***GE

lblenerateC;o K <arenerateC;o

lblenerateC;o K $ormatD+0blDNOailableC;oPE J 1, G***GElbl0onor;o K lbl'refi!C;o L lblenerateC;o

nd "it

!it S&b

rror7rap(

 MsgBo! rr.0escription, b)nformation, GrrorG

nd S&b

'riate S&b +learformDE

/n rror :es&me ;e!t

t!t$&ll;ame K GG

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 39/72

lbl0onor;o K GG

t!t'ddress K GG

cboSe! K GG

t!tge K GG

t!tderseC:; K GG

t!tBB; K GG

lbl0onor;o K GG

cbo'yC!am K GG

cboBloodCro&p K GG

t!t'+< K GG

t!t%B K GG

cboerC0o K GG

cboC%)< K GG

cboC%BS K GGcboC%+< K GG

cboCSyp K GG

cboC:es&s K GG

t!tScreenC/ff K GG

t!tC:ank K GG

t!t:emark K GG

mskSceenC0ate K GG

msk0onationC0ate K GG

msk9astC0oC0ate K GG

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 40/72

cbo0onor7ype K GG

msk'oneC;o K GG

t!t'arent;ame K GG

t!t:eaction K GG

nd S&b

'riate S&b dit:ecDE

/n rror :es&me ;e!t

"it rst0onor

.dit

NO0/;/: ;MP K t!t$&ll;ame

NO0/;/: ;=MB:P K lbl0onor;o

NS K cboSe!

NO':;7S'/=S ;MP K t!t'arent;ame

N K t!tgeNO0/;/: 7I'P K cbo0onor7ype

NOB9//0 B ;=MB:P K t!tBB;

NO0/;7)/; 07P K msk0onationC0ate

NO':M;;7 00:SSP K t!t'ddress

NO0/;/: '%/; ;=MB:P K msk'oneC;o

NO<: 0/;70HP K cboerC0o

NO9S7 0/;7)/; 07P K msk9astC0oC0ate

NO0<:S :+7)/;P K t!tderseC:;

NO%)< S77=SP K cboC%)<

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 41/72

NOSI'%)9)SP K cboCSyp

N%BS K cboC%BS

N%+< K cboC%+<

NO'%IS)+9 MP K cbo'yC!am

NOB9//0 :/='P K cboBloodCro&p

N:%S=S K cboC:es&s

NB'+< K t!t'+<

NO%M/9/B); S7P K t!t%B

NOS+:;); /$$)+:P K t!tScreenC/ff

N:;# K t!tC:ank

N:M:# K t!t:emark

NOS+:;); 07P K mskSceenC0ate

.=pdate

.Bookmark K .9astModifiednd "it

+learform

nd S&b

'riate S&b Sae:ecDE

/n rror o7o rror7rap(

"it rst0onor

.dd;ew

NO0/;/: ;MP K t!t$&ll;ame

NO0/;/: ;=MB:P K lbl0onor;o

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 42/72

NS K cboSe!

NO':;7S'/=S ;MP K t!t'arent;ame

N K t!tge

NO0/;/: 7I'P K cbo0onor7ype

NOB9//0 B ;=MB:P K t!tBB;

NO0/;7)/; 07P K msk0onationC0ate

NO':M;;7 00:SSP K t!t'ddress

NO0/;/: '%/; ;=MB:P K msk'oneC;o

NO<: 0/;70HP K cboerC0o

NO9S7 0/;7)/; 07P K msk9astC0oC0ate

NO0<:S :+7)/;P K t!tderseC:;

NO%)< S77=SP K cboC%)<

NOSI'%)9)SP K cboCSyp

N%BS K cboC%BSN%+< K cboC%+<

NO'%IS)+9 MP K cbo'yC!am

NOB9//0 :/='P K cboBloodCro&p

N:%S=S K cboC:es&s

NB'+< K t!t'+<

NO%M/9/B); S7P K t!t%B

NOS+:;); /$$)+:P K t!tScreenC/ff

N:;# K t!tC:ank

N:M:# K t!t:emark

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 43/72

NOS+:;); 07P K mskSceenC0ate

.=pdate

.Bookmark K .9astModified

+learform

nd "it

"it rst+eckC;o

.dd;ew

NOailableC;oP K lblenerateC;o

.=pdate

.Bookmark K .9astModified

nd "it

!it S&b

rror7rap(

  MsgBo! rr.0escription, b)nformation, GrrorG nd S&b

'riate S&b $ind:ecordDE

/n rror :es&me ;e!t

0im StrSearc s String

StrSearc K )np&tBo!DGnter 0onor>s ;&mber(G, G$ind 0onorGE

/n rror :es&me ;e!t

"it rst0onor

.)nde! K G0/;/: ;=MB:G

.Seek GKG, StrSearc

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 44/72

)f .;oMatc 7en

MsgBo! G;o :ecordG, b)nformation, G$ind 0onorG

!it S&b

lse

et:ecord

nd )f

nd "it

t!t$&ll;ame.Set$oc&s

nd S&b

'riate S&b et:ecordDE

/n rror :es&me ;e!t

"it rst0onor

t!t$&ll;ame K NO0/;/: ;MP

lbl0onor;o K NO0/;/: ;=MB:PcboSe! K NS

t!t'arent;ame K NO':;7S'/=S ;MP

t!tge K N

cbo0onor7ype K NO0/;/: 7I'P

t!tBB; K NOB9//0 B ;=MB:P

msk0onationC0ate K NO0/;7)/; 07P

t!t'ddress K NO':M;;7 00:SSP

msk'oneC;o K NO0/;/: '%/; ;=MB:P

cboerC0o K NO<: 0/;70HP

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 45/72

msk9astC0oC0ate K NO9S7 0/;7)/; 07P

t!tderseC:; K NO0<:S :+7)/;P

cboC%)< K NO%)< S77=SP

cboCSyp K NOSI'%)9)SP

cboC%BS K N%BS

cboC%+< K N%+<

cbo'yC!am K NO'%IS)+9 MP

cboBloodCro&p K NOB9//0 :/='P

cboC:es&s K N:%S=S

t!t'+< K NB'+<

t!t%B K NO%M/9/B); S7P

t!tScreenC/ff K NOS+:;); /$$)+:P

t!tC:ank K N:;#

t!t:emark K N:M:#mskSceenC0ate K NOS+:;); 07P

nd "it

nd S&b

'riate S&b 0eleteDE

/n rror o7o rror7rap(

)f MsgBo!DG0elete 0onor :ecordHG, bF&estion J bIes;o, G0eleteGE K

b;o 7en

!it S&b

nd )f

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 46/72

"it rst0onor

.0elete

+learform

nd "it

!it S&b

rror7rap(

 MsgBo! rr.0escription, b)nformation, GrrorG

nd S&b

'riate S&b $ormC9oadDE

Set B9//0CB;#0B K /pen0atabaseDpp.'at L

GQB9//0CB;#.mdbG, $alse, $alseE

Set rst0onor K B9//0CB;#0B./pen:ecordsetDG0/;/:C:+/:0GE

Set rst:eference K

B9//0CB;#0B./pen:ecordsetDG0/;/:C:$:;+C07GE

Set rst+eckC;o K B9//0CB;#0B./pen:ecordsetDG=sedC;oGE

cboSe!.dd)tem G$emaleG

cboSe!.dd)tem GMaleG

cbo'yC!am.dd)tem G;ormalG

cbo'yC!am.dd)tem G;ot ;ormalG

cboBloodCro&p.dd)tem GG

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 47/72

cboBloodCro&p.dd)tem GBG

cboBloodCro&p.dd)tem GBG

cboBloodCro&p.dd)tem G/G

cboC:es&s.dd)tem G'ositieG

cboC:es&s.dd)tem G;egatieG

cboC%)<.dd)tem G'ositieG

cboC%)<.dd)tem G;egatieG

cboC%BS.dd)tem G'ositieG

cboC%BS.dd)tem G;egatieG

cboC%+<.dd)tem G'ositieG

cboC%+<.dd)tem G;egatieG

cboCSyp.dd)tem G'ositieG

cboCSyp.dd)tem G;egatieG

cbo0onor7ype.dd)tem G+ommercialGcbo0onor7ype.dd)tem G:eplacementG

cbo0onor7ype.dd)tem G<ol&ntaryG

cboerC0o.dd)tem G;oG

cboerC0o.dd)tem GIesG

nd S&b

'riate S&b 7oolbar1CB&tton+lickDBy<al B&tton s MS+om+tl9ib.B&ttonE

  /n rror :es&me ;e!t

  Select +ase B&tton.#ey

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 48/72

 

+ase G;ewG

  ;ew:ec

 

+ase GSaeG

  Sae:ec

 

+ase G$indG

  $ind:ecord

 

+ase GB&ttonG

  dit:ec

  +ase G0eleteG

  0elete  nd Select

nd S&b

'riate S&b cmd$irst:ecordC+lickDE

/n rror :es&me ;e!t

"it rst0onor

.Moe$irst

et:ecord

nd "it

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 49/72

nd S&b

'riate S&b cmd9ast:ecordC+lickDE

/n rror :es&me ;e!t

"it rst0onor

.Moe9ast

et:ecord

nd "it

nd S&b

'riate S&b cmd;e!tC+lickDE

/n rror :es&me ;e!t

"it rst0onor

.Moe;e!t

)f ./$ 7en .Moe9ast

nd )f

et:ecord

nd "it

nd S&b

'riate S&b cmd'reio&sC+lickDE

/n rror :es&me ;e!t

"it rst0onor

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 50/72

.Moe'reio&s

)f .B/$ 7en

 .Moe$irst

nd )f

et:ecord

nd "it

nd S&b

:ecepient :ecord

0im B9//0CB;#0B s 0atabase

0im rst:ecipient s :ecordset0im rst0onor s :ecordset

0im rst:eference s :ecordset

0im 0e:ef s +onnection0esigner

0im <ar:ecipient;&mber s String

0im <ar'reC;o s String

0im <arenerateC;o s String

0im <arCBB; s String

0im <arCBloodro&p s String

0im <arC:es&s s String

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 51/72

'riate S&b cmdBlood<alidityC+lickDE

/n rror :es&me ;e!t

0im s0ate s String

  0im int;&m0ays s )nteger

  0im int;ow s )nteger

  0im nterdate s )nteger

  0im 0ayBalance s )nteger

  s0ate K lbl!pC0ate

  nterdate K +)ntD0ate<al&eDs0ateE @ ;owDEE

  int;&m0ays K nterdate

  lbl0ay<1 K int;&m0ays R D@1E

  lbl0ay<2 K 35 @ <alDlbl0ay<1E

  0ayBalance K lbl0ay<2 

)f lbl0ay<2 35 7en

  MsgBo! G"rong 0onation 0ate, 'lease +eckG, b)nformation K

b/#/nly

  !it S&b

  nd )f

  )f lbl0ay<1 K 35 7en

  MsgBo! GBlood is !piredG

  "it rst0onor

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 52/72

  .0elete

  +learform

  nd "it

  lse

  MsgBo! GBlood is Still %ealty(G L G:emaining 0ays is(G C 

  L b+r9f L 0ayBalance, b)nformation

 

nd )f

 

nd S&b

'riate S&b cmdMatcC+lickDE

>/n rror :es&me ;e!t

)f MsgBo!DG)s +ross Matcing /kH 'lease +eckNNG, bF&estion JbIes;o, G+ross MatcGE K b;o 7en

!it S&b

nd )f

"it rst:eference

>.Moe9ast

.dd;ew

NO$&ll ;ameP K lbl0onorname

NO0onor>s ;&mberP K lbl0onorC;o

NO':M;;7 00:SSP K lblpaddress

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 53/72

N0ate K lbldonordate

>NO!p 0ateP K lbl!pC0ate

NOBag ;&mberP K lstBag;o.7e!t

NO'%IS)+9 MP K lblpysicale!am

NOB9//0 :/='P K lblbloodgro&p

N:%S=S K lblC:es&s

NOBlood 'ack +ell <ol&meP K lblbpc

NO%emoglobin stimateP K lblemoest

N%)< K lbli

NO%epatitis B S&rface ntigenP K lblbsa

NO%epatitis + <ir&sP K lblc

NOSI'%)9)SP K lblsypilis

NO/fficer>s ;ameP K lblscrenoff

N:;# K lblrankN:M:# K lblremark

NOS+:;); 07P K lblscrendate

NO0/;/: 7I'P K lbldonortype

NO0onor 'oneP K lbldonorpone

NO'arent ;ameP K lblparent

NO9S7 0/;7)/; 07P K lbllastdonordate

NO0<:S :+7)/;P K lblr!n

NS K lblse!

N K lblge

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 54/72

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 55/72

nd S&b

'riate S&b +ommand1C+lickDE

0im Slip s String

0im db s 0/0B.+onnection

0im rs s 0/0B.:ecordset

Set db K ;ew 0/0B.+onnection

db./pen G'roider K Microsoft.Tet./90B.4.*U 0ata so&rceKG L pp.'at

L GQB9//0CB;#.mdbGSlip K )np&tBo!DGnter 0onor>s ;o. 7o 'rintGE

Set rs K ;ew 0/0B.:ecordset

rs./pen GSelect R $rom :+)');7C:+/:0 "ere O:ecipient>s

;&mberPKG L G>G L Slip L G>G, db, ad/pen0ynamic, ad9ock/ptimistic

Set drpC:ecipient.0ataSo&rce K rs

drpC:ecipient.:efres

drpC:ecipient.Sow bModal

nd S&b

'riate S&b +ommand2C+lickDE

0im db s 0/0B.+onnection

0im rs s 0/0B.:ecordset

Set db K ;ew 0/0B.+onnection

db./pen G'roider K Microsoft.Tet./90B.4.*U 0ata so&rceKG L pp.'at

L GQB9//0CB;#.mdbG

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 56/72

Set rs K ;ew 0/0B.:ecordset

rs./pen GSelect R $rom :+)');7C:+/:0 order by O:ecipient>s

;&mberPG, db, ad/penStatic, ad9ock:ead/nly

Set drpC:ecipient.0ataSo&rce K rs

drpC:ecipient.:efres

drpC:ecipient.Sow bModal

nd S&b

'riate S&b lstBag;oC+lickDE/n rror :es&me ;e!t

lbl0onorC;o K GG

lbl!pC0ate K GG

lblC:es&s K GG

<arCBB; K lstBag;o.7e!t

Set rst0onor K B9//0CB;#0B./pen:ecordsetDG Select R from

0/;/:C:+/:0 were OB9//0 :/='PK >G L <arCBloodro&p L G>

nd OB9//0 B ;=MB:P K >G L <arCBB; L G>UG, db/pen0ynasetE

"it rst0onor

lbl0onorC;o K NO0/;/: ;=MB:P

lbl!pC0ate K NO0/;7)/; 07P

lblC:es&s K NO:%S=SP

lbl0onorname K NO0/;/: ;MP

lblpaddress K NO':M;;7 00:SSP

lblse! K NS

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 57/72

lblge K N

lbldonordate K NO0/;7)/; 07P

lblBB; K NOB9//0 B ;=MB:P

lblpysicale!am K NO'%IS)+9 MP

lblbloodgro&p K NOB9//0 :/='P

lblbpc K NOB'+<P

lblemoest K NO%M/9/B); S7P

lbli K NO%)< S77=SP

lblbsa K N%BS

lblc K N%+<

lblsypilis K NSI'%)9)S

lblscrenoff K NOS+:;); /$$)+:P

lblrank K N:;#

lblremark K N:M:#lblscrendate K NOS+:;); 07P

lbldonortype K NO0/;/: 7I'P

lbldonorpone K NO0/;/: '%/; ;=MB:P

lblparent K NO':;7S'/=S ;MP

lbllastdonordate K NO9S7 0/;7)/; 07P

lblr!n K NO0<:S :+7)/;P

lbleerdonate K NO<: 0/;70HP

nd "it

nd S&b

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 58/72

'riate S&b 7oolbar1CB&tton+lickDBy<al B&tton s MS+om+tl9ib.B&ttonE

  /n rror :es&me ;e!t

  Select +ase B&tton.#ey

  +ase G;ewG

  ;ew:ecord

  +ase GSaeG

  Sae:ecord

  +ase G$indG

  cmd$indC:ecord

  +ase GB&ttonG

  cmdSaeCdit

 

+ase G0eleteG  0elete

  nd Select

nd S&b

'riate S&b 0eleteDE

/n rror o7o rror7rap(

)f MsgBo!DG0elete :ecipient :ecordHG, bF&estion J bIes;o, G0elete

:ecordGE K b;o 7en

!it S&b

nd )f

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 59/72

"it rst:ecipient

.0elete

+learform

nd "it

!it S&b

rror7rap(

 MsgBo! rr.0escription, b)nformation, GrrorG

nd S&b

'riate S&b ;ew:ecordDE

/n rror :es&me ;e!t

+learform

<ar'reC;o K G:+G

lbl'refi!C;o K <ar'reC;o"it rst:ecipient

.Moe9ast

<arenerateC;o K $ormatD1, G***GE

lblenerateC;o K <arenerateC;o

lblenerateC;o K $ormatD+0blDNO'refi! ;oPE J 1, G***GE

nd "it

lbl:ecipient;&mber K lbl'refi!C;o L lblenerateC;o

t!t$&ll;ame.Set$oc&s

nd S&b

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 60/72

'riate S&b Sae:ecordDE

/n rror o7o rror7rap(

"it rst:ecipient

>.Moe9ast

.dd;ew

NO$&ll ;ameP K t!t$&ll;ame

NO:ecipient>s ;&mberP K lbl:ecipient;&mber

NO':M;;7 00:SSP K t!t'ddress

NS K cboSe!

N K t!tge

N0ate K msk:eceieC0ate

NO'refi! ;oP K lblenerateC;o

NOB9//0 :/='P K cboBloodCro&p

NO:%S=SP K cboC:es&sN'+< K t!t'+<

NO%M/9/B); S7P K t!t%B

NOnter ro&pP K t!tCBloodro&p

NOBag ;oP K lstBag;o.7e!t

NO0onor>s ;oP K lbl0onorC;o

NO!p 0ateP K lbl!pC0ate

NO:es&s 2P K lblC:es&s

NOS+:;); /$$)+:P K t!tScreenC/ff

N:;# K t!tC:ank

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 61/72

N:M:# K t!t:emark

NOS+:;); 07P K mskScreenC0ate

.=pdate

.Bookmark K .9astModified

+learform

nd "it

!it S&b

rror7rap(

MsgBo! rr.0escription, b)nformation, GrrorG

nd S&b

'riate S&b $ormC9oadDE

Set B9//0CB;#0B K /pen0atabaseDpp.'at L

GQB9//0CB;#.mdbG, $alse, $alseE

Set rst:ecipient K

B9//0CB;#0B./pen:ecordsetDG:+)');7C:+/:0GE

Set rst0onor K B9//0CB;#0B./pen:ecordsetDG0/;/:C:+/:0GE

Set rst:eference K

B9//0CB;#0B./pen:ecordsetDG0/;/:C:$:;+C07GE

cboSe!.dd)tem G$emaleG

cboSe!.dd)tem GMaleG

cboBloodCro&p.dd)tem GG

cboBloodCro&p.dd)tem GBG

cboBloodCro&p.dd)tem GBG

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 62/72

cboBloodCro&p.dd)tem G/G

cboC:es&s.dd)tem G'ositieG

cboC:es&s.dd)tem G;egatieG

lbl0ay.+aption K $ormatD0ate, Gmm(dd(yyGE

nd S&b

'riate S&b cmd$indC:ecordDE

/n rror :es&me ;e!t

0im StrSearc s String

StrSearc K )np&tBo!DGnter :ecipient>s ;&mber(G, G$ind 0onorGE

lstBag;o.<isible K $alse

lblBagC;o.<isible K 7r&e

"it rst:ecipient

.)nde! K G:ecipient>s ;&mberG

.Seek GKG, StrSearc

)f .;oMatc 7en

MsgBo! G;o :ecordG, b)nformation, G$ind :ecipientG

!it S&b

lse

/n rror o7o rror7rap(

"it rst:ecipient

t!t$&ll;ame K NO$&ll ;ameP

lbl:ecipient;&mber K NO:ecipient>s ;&mberP

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 63/72

t!t'ddress K NO':M;;7 00:SSP

cboSe! K NS

t!tge K N

msk:eceieC0ate K N0ate

lblenerateC;o K NO'refi! ;oP

cboBloodCro&p K NOB9//0 :/='P

cboC:es&s K NO:%S=SP

t!t'+< K N'+<

t!t%B K NO%M/9/B); S7P

t!tCBloodro&p K NOnter ro&pP

lblBagC;o K NOBag ;oP

lbl0onorC;o K NO0onor>s ;oP

lbl!pC0ate K NO!p 0ateP

lblC:es&s K NO:es&s 2Pt!tScreenC/ff K NOS+:;); /$$)+:P

t!tC:ank K N:;#

t!t:emark K N:M:#

mskScreenC0ate K NOS+:;); 07P

nd "it

!it S&b

rror7rap(

nd )f

nd "it

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 64/72

nd S&b

'riate S&b 9oad0ataDE

"it rst:ecipient

t!t$&ll;ame K NO$&ll ;ameP

lbl:ecipient;&mber K NO:ecipient>s ;&mberP

t!t'ddress K NO':M;;7 00:SSP

cboSe! K NS

t!tge K N

msk:eceieC0ate K N0ate

lblenerateC;o K NO'refi! ;oP

cboBloodCro&p K NOB9//0 :/='P

cboC:es&s K NO:%S=SP

t!t'+< K N'+<

t!t%B K NO%M/9/B); S7Pt!tCBloodro&p K NOnter ro&pP

lblBagC;o K NOBag ;oP

lbl0onorC;o K NO0onor>s ;oP

lbl!pC0ate K NO!p 0ateP

lblC:es&s K NO:es&s 2P

t!tScreenC/ff K NOS+:;); /$$)+:P

t!tC:ank K N:;#

t!t:emark K N:M:#

mskScreenC0ate K NOS+:;); 07P

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 65/72

nd "it

nd S&b

'riate S&b +learformDE

/n rror :es&me ;e!t

t!t$&ll;ame K GG

lbl:ecipient;&mber K GG

t!t'ddress K GG

cboSe! K GG

t!tge K GG

msk:eceieC0ate K GG

t!tBB; K GG

cboBloodCro&p K GG

cboC:es&s K GGt!t'+< K GG

t!t%B K GG

t!tCBloodro&p K GG

lstBag;o.7e!t K GG

lblBagC;o K GG

lbl0onorC;o K GG

lbl!pC0ate K GG

lblC:es&s K GG

t!tScreenC/ff K GG

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 66/72

t!tC:ank K GG

t!t:emark K GG

mskScreenC0ate K GG

nd S&b

'riate S&b cmd$irst:ecordC+lickDE

/n rror :es&me ;e!t

"it rst:ecipient

.Moe$irst

9oad0ata

nd "it

nd S&b

'riate S&b cmd9ast:ecordC+lickDE/n rror :es&me ;e!t

"it rst:ecipient

.Moe9ast

9oad0ata

nd "it

nd S&b

'riate S&b cmdSaeCditDE

/n rror o7o rror7rap(

"it rst:ecipient

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 67/72

>.Moe9ast

.dit

NO$&ll ;ameP K t!t$&ll;ame

NO:ecipient>s ;&mberP K lbl:ecipient;&mber

NO':M;;7 00:SSP K t!t'ddress

NS K cboSe!

N K t!tge

N0ate K msk:eceieC0ate

NO'refi! ;oP K lblenerateC;o

NOB9//0 :/='P K cboBloodCro&p

NO:%S=SP K cboC:es&s

N'+< K t!t'+<

NO%M/9/B); S7P K t!t%B

NOnter ro&pP K t!tCBloodro&pNOBag ;oP K lblBagC;o

NO0onor>s ;oP K lbl0onorC;o

NO!p 0ateP K lbl!pC0ate

NO:es&s 2P K lblC:es&s

NOS+:;); /$$)+:P K t!tScreenC/ff

N:;# K t!tC:ank

N:M:# K t!t:emark

NOS+:;); 07P K mskScreenC0ate

.=pdate

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 68/72

.Bookmark K .9astModified

+learform

nd "it

!it S&b

rror7rap(

MsgBo! rr.0escription, b)nformation, GrrorG

nd S&b

>'riate S&b t!tScreenC/ffC+angeDE

>)f MsgBo!DG%ae Io& +ross MatcedHG, b)nformation J bIes;o, G+ross

MatcGE K b;o 7en

>!it S&b

>nd )f

>lse

>t!tScreenC/ffC+ange

>nd S&b

'riate S&b t!tCBloodro&pC+angeDE

<arCBloodro&p K t!tCBloodro&p

Set rst0onor K B9//0CB;#0B./pen:ecordsetDG Select R from0/;/:C:+/:0 were OB9//0 :/='P K >G L <arCBloodro&p L G>UG,

db/pen0ynasetE

"it rst0onor

lstBag;o.+lear

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 69/72

"ile ;ot ./$

lstBag;o.dd)tem NOB9//0 B ;=MB:P

.Moe;e!t

"end

nd "it

nd S&b

O%TP%T FORM"

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 70/72

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 71/72

8/12/2019 Blood Bank Full

http://slidepdf.com/reader/full/blood-bank-full 72/72