Vous êtes sur la page 1sur 188

INTRODUCTION AND OBJECTIVES OF THE PROJECT

BRIEF ABOUT THE ORGANISATION:


Unity Public School is situated in Ekta Vihar, MDA Colony, Near Prem Wonder Land, am!ur oad, Moradabad" #he school is reco$ni%ed by U"P" &o't" (t is runnin$ since last three years )rom class Nursery to V(((th under administrati'e control o) Smt" *hurshid +a)ri" At !resent the school mana$ement and its all !rocedures are totally manual based" (t creates a lot o) !roblems due to ,ron$ entries or mistakes in totalin$ etc" #his system a'oided such mistakes throu$h !ro!er checks and 'alidation control methods in checkin$ o) student record, )ee de!osit !articulars, teachers schedule, e-amination re!ort, issue o) trans)er certi)icates etc" ( met !ersonally to the !rinci!al and mana$er and discuss about the com!uteri%ation o) manual school mana$ement system" #his system re$isters a student and con)irms its admission in school" When a student re$isters in school a S" " No .uni/ue (D0 is allotted to student" Student record is based on his1 her S" " No"

OBJECTIVE:
#he ob2ecti'e o) de'elo!in$ such a com!uteri%ation system is to reduce the !a!er ,ork and sa)e o) time in school mana$ement" #here by increasin$ the e))iciency and decreasin$ the ,ork load" #he !ro2ect !ro'ides us the in)ormation about student record, school )aculty, school timetable, school )ee, school e-amination result and library
SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

mana$ement" #he system must !ro'ide the )le-ibility o) $eneratin$ the re/uired documents on screen as ,ell as on !rinter as and ,hen re/uired"

PROJECT DESCRIPTION:
#he school mana$ement !rocess can be described usin$ di))erent modules" Each o) the module !er)orms a di))erent )unction"

SCHOOL MANAGEMENT SYSTEM

Student ecord

School 4ee

4aculty Pro)ile

#ime #able

E-amination esult

Library Mana$ement

(a) Student Record: We can easily )ind out the details o) student alon$,ith his !hoto$ra!h by enterin$ his1her S" " No" (b) School Fee: We can )ind out the )ee structure o) e'ery class and the )ee )or student ,hether the student has !aid )ee or not" () he1 she has not !aid school )ee ,ithin !rescribed !eriod, he 1 she should ha'e to !ay !enalty" (c) Faculty Profile:

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

We can easily )ind out the descri!tion about the teacher !osted in school " (d) Time Table: We can search out the name o) teacher and sub2ect in !articular class at a !articular time " (e) Examination Result: We can check the !er)ormance o) students durin$ the !articular year " 5n !assin$ the !articular class , student record and student #C is u!dated " (f) Library Management: Library mana$ement !rocess u!dates the library database" (t $i'es in)ormation about a !articular book ,hen issued to the student and ,hen it is taken back"

SCOPE:
#he sco!e o) the school mana$ement system )acilitate us in the )ollo,in$ 2obs 36 Maintainin$ Student ecords

Automatic Pre!aration o) Marksheet Automatic u!dation in student #C Library Mana$enent


SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

PROJECT CATEGORY:
#he Pro2ect is )unctionin$ under the D7MS . elational

Database Mana$ement System0 cate$ory o) the so)t,are ,hich handles the database o) all the students and sta))" (t uses ob2ect oriented !ro$rammin$ technolo$y to de'elo! the system "

ANALYSIS :
Necessary D4Ds and E (i) F s: Durin$ analysis !hase o) SDLC .So)t,are De'elo!ment Li)e Cycle0, the system analyst or other members o) the !ro2ect team dra, many dia$rams to sho, ho, data mo'e ,ithin an or$ani%ation" #hese dia$rams, !o!ularly called as D4D .Data 4lo, Dia$ram0, /uickly con'ey to both the so)t,are de'elo!ers and users ho, the current system is ,orkin$ and ho, the !ro!osed system ,ill ,ork" #he main ad'anta$e o) D4D is that they are easily understood by the users and hence users can su$$est modi)ications in the !ro!osed system" (n Data 4lo, Dia$ram .D4D0 ,e ha'e used )our ty!es o) symbols as described belo,3 6 Dia$ram are attached here,ith"

Symbol:

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

Stands For

Symbols

Source or Destination o) Data

ectan$le

S/uare

4lo, o) Data

Process ,hich trans)orms

Circle

5'al

ounded ectan$le

Store o) Data We consider three le'els o) D4Ds Le'el 8 D4D Le'el 9 D4D Le'el : D4D

Le!el "

CFD (Context Flow Diagram) SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

or CAD (Context Analysis Diagram)

Student or 4ee A!!licant


De!os it Admi ssion 4orm Valid1 (n'ali d 4ee De!os it 7ook e/ue st (ssue1 etur n e!or t

S !ool Managemen t System

ADM(N(S# A#5
D4D le'el 8 .Conte-t Le'el0

Le!el #

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

e!orts

i b

r a r y

( n

t u

e n

" 8 L i b r a r y e c oM r d a n a $ e m P r o c e s s

e n

" 8 S t u d e nS t t u d A d m i s s i o n P r o c e s s

e n

a4 s e t e r D 4 a i tl ae b

e e

t r u

c t u

r e

a r k

a t a b

a s e M i n a t i o n o t h l y e c o r d n 4

; E -

" 8 a m

= # C D a t a b M a s e C < " 8 # C e c o r d U ! d a t i o n

" 8 o n t h l y 4 e e o l l e c t i o n

Data Flow Diagram Level 1

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

LE$EL %
S

School Management Process


t u
S tu d e n t D e ta il

e n

S t u d e n e c o r d

e c o

r d

M ark s

# C & i' e n b y S c h o o l

U ! d a tio n

9 " : C o n ) i r m e $ i s t r a t i o nA d m i s s i o E n t r y C o n ) i r m e 2 e c t i o n

e/ u e st

" 9

i s s i o

4 e e n D

D a t a b e t a i l

a s e

4 M a r k s D a t a b a s e
S tu d e n t D e ta il

e e

t r u

e e

c t u

i l l

r e

e t a i l

4 &

" = e e 7 i l l e n e r a t i o
7 ill D e ta ils

9 E -

" < a m

i n

a t i o

t u

e n

e t a i l t u d e n t

a s t e r

i l e

M 4 e e D e ta ils # C D e ta il

t h

l y

e e

a t a b

a s e

9 C

" > ! d e c o r d a t i o n M C

" ; o n t h l y 4 e e o l l e c t i o n

Data 4lo, Dia$ram Le'el : )or School Mana$ement Process


SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

LE$EL %

Library Management Process

e , 7 o o k D e ta ils

t r y

7 C h a n $ e S ta tu s (n )o ra m tio n

a t a b

a s e

C h a n $ e S ta tu s (n )o ra m tio n

7 o o k D e ta ils

e e

a t a b

a s e

t u

e n

a t a b

a s e

" 9 ( s s u

t u d e nS t t u d e n : D e t a i l D e t a i l
o ke t u r n 7 D e t a i l

" : e t u
o o k

( s s u e 7 o D e t a i l

( s s u

a t a b

a s e

Data 4lo, Dia$ram Le'el : )or Library Mana$ement Process

E&R

iagram:
SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

4 in e D e ta ils

r n

k @

( Sd

" 7 o o

7 k @

o o k @ # ( d A u

i t l e t h o r

a s

t u

i b

* e ec eo !r d s

i b

( n

) o

P n # @ o 4 t ea e l @

l i c a t i o

N S @ N o "

a m C

e l a s s C

u i t i o

4 -

e e a m @ 4 e e

l a s s

t u

e n

t @

S e e c a o r cr dh

e e @

t r u

c t u@ Nr e o

"

e a r s4 e e P a i d

"

a t e

S
S @ N o S " u b 2 e c t

t u
7

e n
c e

t @

e e

a l a n

E
# C @ S

a m
s

t a t u

Entity elationshi! Dia$ram )or School Mana$ement System

COMPLETE STRUCTURE OF THE PROGRAM:


No" o) Modules used and their )unctions 3
SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

#he school mana$ement system o) Unity Public School is di'ided into si- !arts3 6 .a0 Student ecord

.b0 School 4ee .i0 .ii0 .c0 4aculty Pro)ile .d0 School #ime #able .e0 E-amination esult 4ee Structure Student 4ee

.)0 Library Mana$ement

(a) Student Record:


S" No" &" '" (" )" *" +" ," -" ." &
Fiel# Student@Name Student@4atherAs@Name Student@MotherAs@Name 4atherAs@5ccu!ation MotherAs@5ccu!ation Student@S" "@Number .Primary0 Student@D57 Student@SeStudent@Caste Student@Photo Data Ty$e Varchar Varchar Varchar Varchar Varchar Varchar Numeric #e-t #e-t 7lob Varchar Numeric Numeric Si%e 9> 9> 9> 9> 9> 8< 8B 8: 8B :8 =8 98 8B Constraint Not Null Not Null Not Null Null Null Not Null Not Null Not Null Not Null Not Null Not Null Null Not Null

/" & Student@Address &" & Student@Phone@No" '" & Date@o)@Admission

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

&

Student@Class@No" . e)" *ey0

Numeric Varchar

8: 8C

Not Null Not Null

)" & Student@Status *"

(b &i) Fee Structure:


S" No" &" '" (" )" *" +"
Fiel# Class@No" #ution@4ee Annual@4ee@Amount E-am@4ee@Amount Con'eyance@4ee@Amount #otal@4ee@Amount Data Ty$e Numeric Numeric Numeric Numeric Numeric Numeric Si%e 8: 8= 8= 8= 8= 8; Constraint Not Null Not Null Null Null Null Not Null

(b 'ii) Student Fee:


S" No" &" '" (" )" *" +" ," -" ." &
Fiel# Student@S" " No".4"*"0 Annual4ee@De!@Date 4ee@Amount@Paid 7alance@4ee #ution4ee@De!Date #ution4ee@AmountPaid #ution4ee@7alance E-am4ee@De!ositeDate E-am4ee@AmountPaid E-am4ee@7alance Data Ty$e Numeric Numeric Numeric Numeric Numeric Numeric Numeric Numeric Numeric Numeric Numeric Numeric Numeric Si%e 8< 8B 8; 8; 8B 8; 8; 8B 8; 8; 8B 8; 8; Constraint Not Null Not Null Not Null Not Null Not Null Not Null Not Null Not Null Not Null Not Null Not Null Not Null Not Null

/" & Con'eyance4ee@De!Date &" & Con'eyance4ee@AmtPaid '" & Con'eyance4ee@7alance

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

&

#otal@Amount@Paid

Numeric Numeric

8; 8;

Not Null Not Null

)" & #otal@Amount@7alance *"

(c) Faculty Profile:


S" No" &" '" (" )" *" +" ,"
Fiel# Data Ty$e Si%e Constraint

#eacherAs@Name #eacherAs@Duali)ication #eacherAs@D57 #eacherAs@Se#eacherAs@Photo #eacherAs@Address #eacherAs@Phone No"

Varchar Varchar Numeric Varchar 7lob Varchar Numeric Numeric Numeric Varchar Varchar Varchar Varchar Varchar Varchar Varchar

:8 :8 8B 8: ;8 =8 98 8B 8; 9: 9: 9: 9: 9: 9: 9:

Not Null Not Null Not Null Not Null Null Null Null Null Null Null Null Null Null Null Null Null

" -" #eacherAs@Date o) +oinin$ ." #eacherAs@Salary & #eacherAs@Sub2ect9 /" & #eacherAs@Sub2ect: &" & #eacherAs@Sub2ect= '" & #eacherAs@Sub2ect; (" & #eacherAs@Sub2ect< )" & #eacherAs@Sub2ect> *" & #eacherAs@Sub2ectC +"

(d) School Time Table :


SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

S" No"

Fiel# &" Sub2ect@Name '" Sub2ect@Code (" #otal No"@o)@Periods )" #ime@ slots *" Class@No"@Section +" #eacherAs @Name

Data Ty$e

Si%e

Constraint

Varchar Varchar Numeric Numeric Varchar Varchar

9: 8> 8: 8; 8; 9:

Not Null Null Null Null Null Null

(e) Examination Result:


S" No"

&" '" (" )" *" +" ,"

Fiel# Student@S" "No" . e)erence *ey0

Data Ty$e

Si%e

Constraint

Student@ClassNo" Student@Name Stud@4atherAs@Name esult@Status esult@Eear #C@Status

Varchar Varchar Char Char Char Numeric 7oollean

8; 8< 9< 9< ; ; 9

Not Null Not Null Not Null Null Not Null Not Null Not Null

(f) Library Management:


S" No"
Fiel# Data Ty$e Si%e Constraint

&" '" (" )" *" +" ," -" ."

7ook@(d 7ook@#itle 7ook@Author Publication 7ook@(ssue 7ook@ eturn 7ook@sub2ect 7ook@Cost 7ook@Status

Vanchar Char Char Char Numeric Numeric Vanchar Numeric Char

8< 9< 9< 9< 8B 8B 9< 8; 98

Not Null Not Null Not Null Null Null Null Not Null Null Null

TOOLS:
SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

FRONT END / GUI TOOLs : Visual Basic 6 ! $isual (asic )*" :


We ha'e selected Visual 7asic >"8 as our 4ront end " Visual

7asic is !ro$rammin$ lan$ua$e " (t is the most !o,er)ul ob2ect oriented based lan$ua$e on =: bit o!eratin$ system " We )ind V7> /uite use)ul de'elo!in$ =: bit &U( based a!!lication " (n Visual !ro$rammin$ , mouse is used e-tensi'ely , codin$ in V7 is same as ,ritin$ !ro$rammin$ statements )or other lan$ua$es " We selected V7 because o) its sim!licity o) creatin$ o) reusable code libraries " V7 lets us mark ob2ects in a code com!onent as $lobal so that their methods can be in'oked ,ithout e-!licitly creatin$ an instance o) the $lobal ob2ects" 7y addin$ su!!ort )or class modules the creation o) Acti'e F .Com0, DLL , EFEs , V7 !ro'ides in)rastructure o) usin$ an ob2ect oriented techni/ue , ,hich bein$ used in this !ro2ect "

RDBMS / BAC" END: S+L Ser!er %""":

S#L S$%&$%

We ha'e selected SDL 6 Ser'er :888, i"e" an

D7MS !acka$e

)or back end tool )or mana$in$ the database as this allo,s users to mana$e the database 'ery e))iciently and controls data redundancy and inconsistency " (t allo,s en)orcin$ 'arious data inte$rity constraints on the data bein$ entered into the tables" Database can be accessed usin$ &U( !ro'ided by the system " (t is 'ery easy to maintain " (t is also chea!er than other !acka$e "
SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

SDL ser'er is an

D7MS !acka$e as backend tool )or

mana$in$ database as this allo,s users to mana$e the data base 'ery e))iciently and controls data redundancy and inconsistency " (t allo,s en)orcin$ 'arious data inte$rity constraints on the data bein$ entered into the tables " Data6base can be accesses usin$ many )ront tools and it can be installed on a sim!ly con)i$ured system"

OPERATING E(&i%)(*$(+

SYSTEM

'INDO'S

,NT - .!!! - /P0 Ha%12a%$ R$3ui%$*$(+ ,Mi(i*u*0:


Any Pentium Processor" 9:B M7 AM ,ith :"88 &7 ?ard Disk 4ree S!ace 9";; M7 4lo!!y Disk Dri'e Monitor Mouse CD6 5M Dri'e
Printer

SECURITY MECHANISMS:

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

Security is !ro'ided at administrati'e and user le'el by introducin$ the conce!t o) !ass,ords )or authenti)ication !ur!ose" Pass,ord is cate$ori%ed as 3 Administrator User 6 6 6 6 6 Com!lete Student ecord Dis!lay

4aculty Dis!lay #ime #able read only esults ead only

FUTURE SCOPE- FURTHER ENHANCEMENT AND LIMITATIONS:


#his !ro2ect ,ill be use)ul )or any schools and colle$es ,ith sli$htly modi)ication" (t may be used )or En$lish Medium School as ,ell as ?indi Medium Schools" Pro2ect is )le-ible i"e" any chan$e 1 modi)ication in data base may be !er)orm easily" Also this !ro2ect could be made ,eb enabled" #his !ro2ect may be u!$raded ,ith some more modules such as s!orts module, !ri%e module, student attendance module, em!loyee salary module, annually recei!t and e-!enditure re!orts $eneration etc" #his !ro2ect can also be made )or multi6user en'ironment"
SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

01OCESS LOG2C

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

#he !rocess lo$ic )or our !ro2ect is de!endin$ on !ro$ram structure"

S !ool Management System

Student Database

4aculty Database

School 4ee Structure

4aculty #ime #able

Library System

Student 4ee ecord

Student #rans)er Certi)icate Student esult

Class G Sub2ect Database

Student esult

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

Each sub modules o) school mana$ement system re/uires sub6sub modules or di))erent )unctions, such student database has ne, student entry, edit student record, delete student record" 4aculty database also has add, delete and modi)ication )unctions" 5nce ,e ha'e entered school )ee structure, ,e ha'e maintained student )ee record e))ecti'ely" Student esult is also has 'arious o!tions, such as indi'idual result, class result, )ail and !ass student record in each sub2ect as ,ell as in class" Also trans)er certi)icate ,ill be made com!uteri%ed" Another im!ortant module Library mana$ement has also 'arious sub6sub modules, such as ne, book entry, search book, issue and return book, )ine char$es etc" #his !ro2ect carried out )or a )ull com!uteri%ed school mana$ement system" Most o) the school )unction ,as com!uteri%ed" #his !ro2ect ,ill be use)ul )or all schools and colle$es ,ith some modi)ication" #he modi)ication is customi%ed so it is not necessary to chan$e com!lete !ro2ect" Pro2ect is customised i"e" any chan$e 1 modi)ication in data base may be !er)orm easily" Also ,e are tryin$ to make this !ro2ect ,eb enabled"

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

01O3ECT 1E0O1T ON SCHOOL MANAGEMENT SYSTEM

CONTENTS
S" NO" 9" 0A1T2C4LA1S A!!ro'al o) Syno!sis SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

:" =" ;" <" >" C" B" H" 98" 99" 9:" 9=" 9;" 9<" 9>" 9C" 9B" 9H" :8" :9" ::" :="

Certi)icate o) 5ri$inality Ackno,led$ement (ntroduction 5b2ecti'e System Analysis (denti)ication o) Need Preliminary (n'esti$ation 4easibility Study So)t,are En$ineerin$ Paradi$m A!!lied So)t,are G ?ard,are e/uirement S!eci)ication System Desi$n Code E))iciency 5!timi%ation o) Code Validation Checks Maintenance System #estin$ System Security Measures Cost Estimation o) Pro2ect PE # Chart &antt Chart Database 4orms SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

:;" :<"

Codin$ 7iblio$ra!hy

CE1T2F2CATE OF O12G2NAL2TY
#his is to certi)y that the !ro2ect entitled 5S !ool Managrment System6 submitted to 2n#ira Gan#!i National O$en 4ni7ersity is !artial )ul)illment o) the re/uirement )or the a,ard o) the de$ree o) MASTE1 2N COM04TE1 SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

A00L2CAT2ONS (MCA), is an ori$inal ,ork carried out by Mr" 8a#ir A!ma# 3a9ri Enrolment No" /)'.))')- under my $uidance" #he matter embodied in this !ro2ect is a $enuine ,ork done by the student and has not been submitted ,hether to this Uni'ersity or to any other Uni'ersity1(nstitute )or the )ul)illment o) the re/uirement o) any course o) study"

Si$nature o) Student3 (8a#ir A!ma# 3a9ri) Enrol no" /)'.))')Moradabad

Si$nature o) the &uide3 (1a!:l ;:mar Mis!ra) Le t:rer< 2"F"T"M" Moradabad

AC;NO=LEDGEMENT
4irst and )oremost, ( ,ould like to thank Mr" 1a!:l ;:mar Mis!ra .my honorable $uide0, Lecturer, De!artment o) Com!uter A!!lications, (4#M, Moradabad, SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

)or his !rodi$ious, !ersuasions, !ainstakin$, and attitude, re)ormati'e and !rudential su$$estions throu$hout my !ro2ect" ( am also $reatly thank)ul to Mr" A7#!es! G:$ta< le t:rer )or installin$ in me a sense o) sel) con)idence and hel!in$ me as ,hen ( needed him" Also my thanks to (&N5U study centre (n char$e, Dr" >";" >atsa, ,ho $a'e me the idea )or this !ro2ect" ( ,ould also thank to Mr" 3iten#ra ;:mar 3in#al< Mr" Dee$a? ;:mar S!arma, lecturers in (4#M and Mr" As!wani ;:mar< Mr" S:nil Arora< lecturers in study centre (&N5U, )or hel!in$ me in this !ro2ect" #hey hel!ed me in de'elo!in$ such kind o) L(VE So)t,are"

# A Ja4%i MCA VI SEM !5.655.57

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

2NT1OD4CT2ON

INTRODUCTION
Unity Public School is situated in Ekta Vihar, MDA Colony, Near Prem Wonder Land, am!ur oad, Moradabad" #he school is reco$ni%ed by U"P" &o't" (t is runnin$ since last three years )rom class Nursery to V(((th under administrati'e control o) Smt" *hurshid +a)ri"
SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

At !resent the school mana$ement and its all !rocedures are totally manual based" (t creates a lot o) !roblems due to ,ron$ entries or mistakes in totalin$ etc" #his system a'oided such mistakes throu$h !ro!er checks and 'alidation control methods in checkin$ o) student record, )ee de!osit !articulars, teachers schedule, e-amination re!ort, issue o) trans)er certi)icates etc" ( met !ersonally to the !rinci!al and mana$er and discuss about the com!uteri%ation o) manual school mana$ement system" #his system re$isters a student and con)irms its admission in school" When a student re$isters in school a S" " No .uni/ue (D0 is allotted to student" Student record is based on his1 her S" " No"

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

O@3ECT2>ES

OBJECTIVES
#he ob2ecti'e o) de'elo!in$ such a com!uteri%ation system is to reduce the !a!er ,ork and sa)e o) time in school mana$ement" #here by increasin$ the e))iciency and decreasin$ the ,ork load" #he !ro2ect !ro'ides us the in)ormation about student record, school )aculty, school timetable, school )ee, school e-amination result and library mana$ement" #he system must !ro'ide the )le-ibility o) $eneratin$ the re/uired documents on screen as ,ell as on !rinter as and ,hen re/uired"
SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

PROJECT DESCRIPTION:
#he school mana$ement !rocess can be described usin$ di))erent modules" Each o) the module !er)orms a di))erent )unction"

SCHOOL MANAGEMENT SYSTEM

Student ecord

School 4ee

4aculty Pro)ile

#ime #able

E-amination esult

Library Mana$ement

(a) Student Record: We can easily )ind out the details o) student alon$,ith his !hoto$ra!h by enterin$ his1her S" " No"

(b) School Fee: We can )ind out the )ee structure o) e'ery class and the )ee )or student ,hether the student has !aid )ee or not" () he1 she has not !aid school )ee ,ithin !rescribed !eriod, he 1 she should ha'e to !ay !enalty" (c) Faculty Profile: We can easily )ind out the descri!tion about the teacher !osted in school "
SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

(d) Time Table: We can search out the name o) teacher and sub2ect in !articular class at a !articular time " (e) Examination Result: We can check the !er)ormance o) students durin$ the !articular year " 5n !assin$ the !articular class , student record and student #C is u!dated " (f) Library Management: Library mana$ement !rocess u!dates the library database" (t $i'es in)ormation about a !articular book ,hen issued to the student and ,hen it is taken back"

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

SES#EM ANALES(S

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

SYSTEM ANALYSIS
System Analysis re)ers to the !rocess o) e-aminin$ a situation ,ith the intent o) im!ro'in$ it throu$h better !rocedures and methods" System desi$n is the !rocess o) !lannin$ a ne, system to either re!lace or com!lement an e-istin$ system" 7ut be)ore any !lannin$ is done, the old system must be thorou$hly understood and the re/uirements determined" System Analysis is there)ore, the !rocess o) $atherin$ and inter!retin$ )acts, dia$nosis !roblems and usin$ the in)ormation to re6comment im!ro'ements in the system" 5r in other ,ords, System Analysis means a detailed e-!lanation or descri!tion" 7e)ore com!uteri%in$ a system under consideration, it has to be analy%ed" We need to study ho, it )unctions currently, ,hat are the !roblems, and ,hat are the re/uirements that the !ro!osed system should meet" #he main com!onents o) makin$ so)t,are are3 System and so)t,are re/uirements analysis Desi$n and im!lementation o) so)t,are Ensurin$, 'eri)yin$ and maintainin$ so)t,are inte$rity

System analysis is an acti'ity that encom!asses most o) the tasks that are collecti'ely called Com!uter System En$ineerin$" Con)usion sometimes occurs because the term is o)ten used in conte-t that all dues it only to so)t,are re/uirement analysis acti'ities, but system analysis )ocuses on all the system elements6 not 2ust so)t,are" System analysis is conducted ,ith the )ollo,in$ ob2ecti'es in mind3 SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

(denti)y the customerAs need E'aluate the system conce!t )or )easibility Per)orm economic and technical analysis Allocate )unctions to hard,are, so)t,are, !eo!le, database and other

system elements Establish cost and schedule constraints Create a system de)inition that )orms the )oundation )or all the

subse/uent en$ineerin$ ,ork" System Analysis is consistin$ o) t,o main ,orks i"e" (denti)y the need and Preliminary (n'esti$ation"

PHASE DEVELOPMENT PROCESS


A de'elo!ment !rocess consists o) 'arious !hases, each !hase endin$ ,ith a de)ined out!ut" #he !hases are !er)ormed in an order s!eci)ied by the !rocess model bein$ )ollo,ed" #he main reason )or ha'in$ a !hased !rocess is that it breaks the !roblem o) de'elo!in$ so)t,are into success)ully !er)ormin$ a set o) !hases, each handlin$ a di))erent concern o) so)t,are de'elo!ment" (t allo,s !ro!er checkin$ )or /uality and !ro$ress )or $i'en so)t,are durin$ de'elo!ment .end o) !hases0" 5ne !hase ,ould ha'e to ,ait until the end ,hat so)t,are has been !roduced" #his ,ill not ,ork )or lar$e system" ?ence )or mana$in$ the com!le-ity, !ro2ect trackin$, and /uality, all the de'elo!ment !rocess consists o) set o) !hases" Various !rocess models ha'e been !ro!osed )or de'elo!in$ so)t,are" Each or$ani%ation that )ollo,s a !rocess has its o,n 'ersion" #he di))erent !rocess can ha'e di))erent acti'ities" SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

(n $eneral, ,e can say that any !roblem sol'in$ in so)t,are must consist o) these acti'ities3 e/uirement s!eci)ication )or understandin$ and clearly statin$ the !roblem"

Desi$n )or decidin$ a !lan )or a solution" Codin$ )or im!lementin$ the !lanned solution #estin$ )or 'eri)yin$ the !ro$rams 4or small !roblem these acti'ities may not be clearly de)ined, and no ,ritten record o) the acti'ities may be ke!t" 7ut )or the com!le- and lar$e system ,here the !roblem sol'in$ acti'ity may last cou!le o) years and ,here many !ersons are in'ol'ed in de'elo!ment, and each o) these )our !roblem sol'in$ acti'ities has to be done )ormally" Each o) these acti'ities is a ma2or task )or lar$e so)t,are !ro2ects"

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

2DENT2F2CAT2ON OF NEED

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

(DEN#(4(CA#(5N 54 #?E NEED


1E8421EMENT ANALYS2S
e)ines !ro2ect $oals into de)ined )unctions and o!eration o) the intended a!!lication" Analy%es end6user in)ormation needs" Analysis is a detail study o) the 'arious o!erations !er)ormed by a system and their relationshi!s ,ithin and outside the system" #he !roblem could be automatin$ an e-istin$ manual !rocess, de'elo!in$ a ne, automated system, or a combination o) the t,o" A key /uestion is3 what is needed )or the system, not ho, the system ,ill achie'e its $oal" Durin$ analysis, data are collected on the a'ailable )iles, decision !oints, and transactions handled by the !resent system" 4or lar$e systems that ha'e many )eatures, and that need to !er)orm many di))erent tasks, understandin$ the re/uirements o) the system is a ma2or task" Data )lo, dia$rams, inter'ie,s, on6site obser'ations, and /uestionnaires are the e-am!les o) re/uirement analysis" #rainin$, e-!erience, and common sense are re/uired )or collection o) the in)ormation needed to do the analyst" 5nce the analysis is com!leted, the analyst has a )irm understandin$ o) ,hat is to done" #his task is com!licated by the )act that there are o)ten at least t,o !arties in'ol'ed in so)t,are de'elo!ment6a client and a de'elo!er" #he de'elo!er usually does not understand the clientAs !roblem domain, and the client o)ten does not understand the issues in the so)t,are systems" #his causes a communication $a! bet,een client and de'elo!er" #he $oal o) the re/uirement s!eci)ication !hase is to !roduce the so)t,are

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

re/uirements s!eci)ication document .also called the re/uirement document0" #he !erson res!onsible )or the re/uirement analysis is o)ten called the analyst" #here are t,o ma2or acti'ities in this !hase3 Problem understandin$ or analysis and re/uirement s!eci)ication" (n !roblem analysis, the analyst has to! understand the !roblem and its conte-t" Analysis re/uires a thorou$h understandin$ o) the system, !arts o) ,hich ha'e to be automated" #he $oal o) this acti'ity is to understand the re/uirement o) the ne, system that is to be de'elo!ed" #he client may not really kno, the need s o) the system" #he analyst has to make the client a,are o) the ne, !ossibilities, hel!in$ both client and the analyst the re/uirements )or the ne, system" 5nce the !roblem is analy%ed and the essentials understood, the re/uirement is s!eci)ied in the re/uirement document" 4or re/uirement s!eci)ication in the )orm o) document, some s!eci)ication lan$ua$e has to be selected .e"$" En$lish, re$ulates e-!ressions, tables, or combination o) these0" A !reliminary user manual that describes all the ma2or uses inter)aces )re/uently )orm a !art o) the re/uirement document" #he )irst ste! o) system analysis !rocess in'ol'es the identi)ication o) need" #he analyst .system en$ineer0 meets ,ith the customer G the end user .i) di))erent )rom customer0" (denti)ication o) need is the startin$ !oint in the e'olution o) a com!uter based system" #he analyst assists the customer on de)inin$ the $oals o) the system3 What in)ormation ,ill be !roducedI What in)ormation is to be !ro'idedI What )unctions and !er)ormance are re/uiredI

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

#he analyst makes sure to distin$uish bet,een customer JneedsK and customer J,antsK" #hat is ,hat the main aim behind the system is" De)inin$ aim is 'ery 'ital in system ,ork" () ,e do not kno, ,here ,e ,ant to $o, ,e ,ill not kno, ,hen ,e ha'e reached their" 5nce ,e kno, our aim, ,e can try to achie'e it in the best !ossible ,ay" #he user de!artment has to de)ine these ob2ecti'es in terms o) their needs" #hese become the out!uts ,hich the system analyst kee!s in to mind" 5nce ,e kno, the out!ut, ,e can easily determine ,hat the in!ut should be" #he essential elements o) in!uts are timeliness, accuracy, !ro!er )ormat and economy" (n)ormation $athered durin$ the need identi)ication ste! is s!eci)ied in a System Con e$t Do :ment" #he customer be)ore meetin$s sometimes !re!ares the ori$inal conce!t document ,ith the analyst" (n'ariably, customer6analyst communication results in the modi)ications to the documents"

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

01EL2M2NA1Y 2N>EST2GAT2ON

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

01EL2M2NA1Y 2N>EST2GAT2ON
Limitations or )ailure o) e-istin$ systems, or the a,areness o) technolo$ical ad'ances relatin$ to the !articular are in'ol'ed in !articular systems ,hich com!etitors are de'elo!in$" (n)ormation systems !ro2ectsA ori$inate )rom many reasons3 to achie'e $reater s!eed in !rocessin$ data, better accuracy and im!ro'ed consistency, )aster in)ormation retrie'al, inte$ration o) business areas, reduced cost and better security" #he sources also 'ary !ro2ect !ro!osals ori$inate ,ith de!artment mana$ers, senior e-ecuti'es and systems analysis" Sometimes the real ori$in is an outside source, such as a $o'ernment a$ency, ,hich sti!ulates systems re/uirements the or$ani%ation must meet" When the re/uest is made, the )irst systems acti'ity, the !reliminary in'esti$ation, be$ins" #he acti'ity has three !arts3 re/uest clari)ication, )easibility study and re/uest a!!ro'al"

1eA:est Clari9i ation


Many re/uests )rom em!loyees and users in or$ani%ations are not clearly stated" #here)ore, be)ore any systems in'esti$ation can be considered, the !ro2ect re/uest must be e-amined to determine !recisely ,hat the ori$inator ,ants" A sim!le tele!hone call may su))ice i) the re/uester has a clear idea but does not kno, ho, to state it" 5n the other hand, the re/uester may merely be askin$ )or hel! ,ithout kno,in$ ,hat is ,ron$ or ,hy there is a !roblem" Problem clari)ication in this case is much more di))icult" (n either case, be)ore any )urther ste!s can be taken, the !ro2ect re/uests must be clearly states" SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

#his !hase .initial study0 in'ol'es estimatin$ ,hether or not a de'elo!ment !ro2ect is ,orth,hile" Problems ,ith the current automated or manual system are identi)ied, as ,ell as the bene)its and costs o) an alternati'e system" () the bene)its seem to out,ei$h the costs .es!ecially ,hen com!ared ,ith com!etin$ !ro2ects0, a $reen si$nal may be $i'en to continue the !ro2ect, and detailed !lans and schedules are dra)ted )or makin$ the system a reality" #he !ro!osed solution to the userAs !roblem may in'ol'e somethin$ bet,een dramatic chan$e .com!letely ne, system0 and sli$ht chan$e to the !resent system" () the !resent system is manual and a com!uter system is !ro!osed, the de'elo!ment !ro2ect ,ill !robably be 'ery lar$e" At the other e-treme are small de'elo!ment !ro2ect that re!resent sli$ht chan$es to e-istin$ systems, such as sortin$ in)ormation in a di))erent ,ay or insertin$ subtotals or addin$ ne, columns to a re!ort" #he ob2ecti'es o) this !hase are3 9 #o determine the )easibility o) com!uteri%ation o) a !articular system or area o) o!eration" :" #o de)ine clearly the ob2ecti'es, sco!e and limitations o) the !ro2ect" =" #o establish a $ood ,orkin$ relationshi! bet,een the user de!artment and the data !rocessin$ .DP0 de!artment" ;" #o ac/uaint user mana$ement ,ith the a!!roach and method o) ,ork in systems de'elo!ment"

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

<" #o estimate the resources re/uired )or system de'elo!ment, li'e runnin$ and maintenance"
>"

#o identi)y the likely bene)its, ,hich should accrue )rom the introduction

o) the system"

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

FEAS2@2L2TY ST4DY

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

FEAS2@2L2TY ST4DY
#he data collection that occurs durin$ !reliminary in'esti$ations e-amines system )easibility, the likelihood that the system ,ill be bene)icial to the or$ani%ation" 4our tests o) )easibility are studies3 technical, economical and o!erational" All are e/ually im!ortant"

&" Te !ni al FeasiBilityC

(t in'ol'es determinin$ ,hether or not a

system can actually be constructed to sol'e the !roblem at hand" Some users e-!ect too much o) com!uters, assumin$ that com!uters can accurately !redict the )uture, immediately re)lect all in)ormation in an or$ani%ation, easily understand s!eech, or )i$ure out ho, to handle di))icult !roblems" Such systems, e'en i) they e-ist, are not yet a'ailable )or ,ides!read use" #he technical issues raised durin$ the )easibility sta$e o) the in'esti$ation are3 9" Does the necessary technolo$y e-ist .can it be ac/uired0 to do ,hat is su$$estedI :" Does the !ro!osed e/ui!ment ha'e the technical ca!acity to hold the data re/uired to use the ne, systemI =" Will the !ro!osed system and com!onents !ro'ide ade/uate res!onses to in/uires, re$ardless o) the number or location o) usersI ;" Can the system be e-!anded, i) de'elo!edI SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

<" Are there technical $uarantees o) accuracy, reliability, ease o) access and data securityI 4or e-am!le, i) the !ro!osal includes a !rinter that !rints at the rate o) :,888 lines !er minute, a brie) search sho,s that this is technically )easible" Whether it should be included in the con)i$uration because o) its cost is an economic decision" 5n the other hand, i) a user is re/uestin$ audio in!ut to ,rite, read, and chan$e stored data, the !ro!osal may not be technically )easible"

'" E onomi al FeasiBilityC

(t in'ol'es estimatin$ bene)its and costs"

#hese bene)its and costs may be tan$ible or intan$ible" 7ecause o) con)usion bet,een the ty!es o) costs, it is sometimes 'ery di))icult to decide i) the bene)its out,ei$h the costs" #an$ible bene)its may include decreasin$ salary costs .by automatin$ manual !rocedures0, !re'entin$ costly but )re/uent errors, sendin$ bills earlier in the month, and increasin$ control o'er in'entory le'els" Such bene)its may be directly estimated in ru!ees ,ithout much trouble" (ntan$ible bene)its may include increasin$ /uality o) $oods !roduced, u!$radin$ or creatin$ ne, customer ser'ices, reducin$ re!etiti'e or monotonous ,ork )or em!loyees, and de'elo!in$ a better understandin$ o) the market" Such bene)its may be much more im!ortant than tan$ible bene)its, but they may be i$nored because estimatin$ their ru!ee 'alues in'ol'es !ure $uess,ork" #an$ible costs are easily estimated" #hey include the one6time cost o)

de'elo!in$ the system and the continuous costs o) o!eratin$ the system" E-am!les o) de'elo!ment costs are the salaries o) !ro$rammers andL analysts, the !rices o) the SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

com!uter e/ui!ment, and the e-!enses connected ,ith user trainin$" 5!eratin$ costs include the salaries o) com!uter o!erators and the costs o) com!uter time and com!uter su!!lies" (ntan$ible costs are usually not discussed because they are rarely lar$e"

E-am!les o) such costs include those associated ,ith early user dissatis)action and ,ith the !roblems o) con'ertin$ to the ne, system" A system that can be de'elo!ed technically and ,ill be used i) installed must still be a $ood in'estment" #hat is, )inancial bene)its must e/ual or e-ceed the )inancial costs" #he economic and )inancial /uestions raised by analysts durin$ the !reliminary in'esti$ation seek estimates o)3 9" #he cost to conduct a )ull systems in'esti$ation" :" #he cost o) hard,are and so)t,are )or the class o) a!!lication bein$ considered" =" #he bene)its in the )orm o) reduced costs or )e,er costly errors" ;" #he cost i) nothin$ chan$es .the system is not de'elo!ed0" Cost and bene)it estimates on each !ro2ect !ro'ide a basis )or determinin$ ,hich !ro2ects are most ,orthy o) consideration" Each estimate can be analy%ed to determine ho, ra!idly costs are reco'ered by bene)its, to calculate both the absolute and interest6 ad2usted amounts o) e-cess bene)its, and to establish the ratio o) bene)its to costs" All o) these )actors are considered ,hen de'elo!in$ an o'erall sense o) the !ro2ectMs economic )easibility"

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

#o be 2ud$ed )easible, a !ro2ect !ro!osal must !ass all these tests" 5ther,ise, it is not a )easible !ro2ect" 4or e-am!le, a !ersonnel record system that is )inancially )easible and o!erational attracti'e, is not )easible i) the necessary technolo$y does not e-ist" 5r a medical system ,hich can be de'elo!ed at reasonable cost but ,hich nurses ,ill a'oid usin$ cannot be 2ud$ed o!erationally )easible"

(" O$erational FeasiBilityC

Pro!osed !ro2ects are o) course bene)icial

only i) they can be turned into in)ormation systems that ,ill meet the or$ani%ationMs o!eration re/uirements" Sim!ly stated, this test o) )easibility asks i) the system ,ill ,ork ,hen de'elo!ed and installed" Are there ma2or barriers to im!lementationI ?ere are /uestions that ,ill hel! test the o!erational )easibility o) a !ro2ect3 9" (s there su))icient su!!ort )or the !ro2ect )rom the mana$ement and )rom usersI () the current system is ,ell liked and used to the e-tent that !ersons ,ill not see reasons )or a chan$e, there may be resistance" :" Are current business methods acce!table to the userI () they are not, user may ,elcome a chan$e that ,ill brin$ about a more o!erational and use)ul system" =" ?a'e the users been in'ol'ed in the !lannin$ and de'elo!ment o) the !ro2ectI Early in'ol'ement reduces the chances o) resistance to the system and chan$e in $eneral, and increases the likelihood o) success)ul !ro2ects" ;" Will the !ro!osed system cause harmI #he )ollo,in$ /uestions are related to this issue3 Will the system !roduce result in any res!ect or areaI SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

Will loss o) control result in any areaI Will accessibility o) in)ormation be lostI Will indi'idual !er)ormance be !oorer a)ter im!lementation than be)oreI Will customers be a))ected in an undesirable ,ayI Will it slo, !er)ormance in any areasI 5!erational )easibility is a measure o) ho, !eo!le are able to ,ork ,ith the system" 4or e-am!le, a system may re/uire mana$ers to ,rite 7AS(C, C575L, or 45 # AN !ro$rams to access data" ?o,e'er, mana$ers !robably recei'e the $reatest hel! )rom a system ,hen they can concentrate on the !roblems to sol'e rather than on ho, !ro$rams should be constructed to sol'e them"

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

SOFT=A1E ENG2NEE12NG 0A1AD2GM A00L2ED

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

S54#WA E AND ?A DWA E EDU( EMEN# SPEC(4(CA#(5NS

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

F1ONT END D G42 TOOLs C $isual 1D@MS D @AC; ENDC

(asic )*" :

S+L Ser!er %""": SYSTEM : 'INDO'S

OPERATING E(&i%)(*$(+

,NT - .!!! - /P0 Ha%12a%$ R$3ui%$*$(+ ,Mi(i*u*0:


Any Pentium Processor" 9:B M7 AM ,ith :"88 &7 ?ard Disk 4ree S!ace 9";; M7 4lo!!y Disk Dri'e Monitor Mouse CD6 5M Dri'e
Printer

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

SYSTEM DES2GN

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

SYSTEM DES2GN
(t describes desired )eatures and o!erations in detail, includin$ screen layouts, business rules, !rocess dia$rams, !seudocode and other documentation" #he most creati'e and challen$es !hase o) the so)t,are de'elo!ment li)e cycle is so)t,are desi$n" #he term desi$n describes )inal so)t,are and the !rocess by ,hich it is de'elo!ed" #he !ur!ose o) the desi$n !hase is to !lan a solution o) the !roblem s!eci)ied by the re/uirements document" (t also includes the construction o) !ro$rams and !ro$ram testin$" Desi$n takes us to,ard how to satis)y the needs" #he desi$n o) a system is !erha!s the most critical )actor a))ectin$ the /uality o) the so)t,areN it has a ma2or im!act on the later !hase, !articularly testin$ and maintenance" #he out!ut o) this !hase is the desi$n document" #he )irst ste! is to determine ho, the out!ut is to be !roduced and in ,hat )ormat" Sam!les o) the out!ut and in!ut are to !resent Second, in!ut data and master )iles .database0 ha'e to be desi$ned to meet the re/uirement o) the !ur!osed out!ut" #he o!erational .!rocessin$0 !hases are handled throu$h !ro$ram construction and testin$, includin$ a list o) the !ro$rams needed to meet the so)t,are ob2ecti'es and com!lete documentation" #he desi$n acti'ity is o)ten di'ed into t,o !hases6system desi$n and detailed desi$n" System desi$n, ,hich is sometimes also called to!6le'el desi$n, all the ma2or data structures, )ile )ormats, out!ut )ormats, and the ma2or modules in the system and their s!eci)ication are decided"

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

Durin$ detailed desi$n, the internal lo$ic o) each o) the modules s!eci)ied in system desi$n is decided" Durin$ this !hase )urther details o) the data structure and al$orithmic desi$n o) each o) the modules is s!eci)ied" (n system desi$n )ocus is on identi)yin$ the modules, ,hereas durin$ detailed desi$n )ocus is on desi$nin$ the lo$ic )or each o) the modules" (n other ,ords, in system desi$n the attention is on ,hat com!onents are needed, ,hile in detailed desi$n how the com!onent can be im!lemented in so)t,are is the issue" #he desi$n o) an in)ormation system !roduces the details that state ho, a system ,ill meet the re/uirements identi)ied durin$ systems analysis" 5)ten systems s!ecialists re)er to this sta$e as lo$ical desi$n, in contrast to de'elo!in$ !ro$ram so)t,are, ,hich is re)erred to as !hysical desi$n" As soon as the user acce!ts the system !ro!osal, ,ork can start on !re!arin$ the system s!eci)ication" #his !hase takes the re/uirements as a$reed and the ,ork, ,hich has led u! to !roducin$ the !ro!osal and de'elo!s the system to the le'el o) details necessary to !re!are the ,ay )or !ro$rammin$" At this !oint the analysts is concerned ,ith the detail o) in!ut and out!ut, the !rocessin$ re/uired, and the ,ay in ,hich the system ,ill o!erate on a day6to6day basis" De!endin$ on the le'el o) com!le-ity o) the system and the amount and /uality o) ,ork done at the earlier sta$es, this !hase can take many months o) hard ,ork" (t is concerned ,ith the com!uter6oriented desi$n o) the system66the detail o) the in!ut transactions, the details o) the !rinted re!orts, screens and other out!uts, the )ile or database structure, the contents o) records, the !rocessin$ re/uired and the e))iciency o) the system )rom a com!uter !rocessin$ !oint o) 'ie,"

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

Systems analysts start by identi)yin$ re!orts and other out!uts the system ,ill !roduce" #hen the s!eci)ic data on each is !in!ointed, includin$ its e-act location on the !a!er, dis!lay screen, or other medium" Usually desi$ners sketch the )orm or dis!lay as they e-!ect it to a!!ear ,hen the system is com!leted" #he system desi$n also describes the data to be in!ut, calculated or stored" (ndi'idual data items and calculation !rocedures are ,ritten in detail" Desi$ners select )ile structures and stora$e de'ices, such as ma$netic disk, ma$netic ta!e, or e'en !a!er )iles" #he !rocedures they ,rite tell ho, to !rocess the data and !roduce the out!ut" #he documents containin$ the desi$n s!eci)ications use di))erent ,ays to !ortray the desi$n66 charts, tables, and s!ecial symbols66some o) ,hich you may ha'e used and others that may be totally ne, to you" #he detailed desi$n in)ormation is !assed onto the !ro$rammin$ sta)) so that so)t,are de'elo!ment can be$in" Desi$ners are res!onsible )or !ro'idin$ !ro$rammer ,ith com!lete and clearly outlines s!eci)ications that state ,hat the so)t,are should do" As !ro$rammin$ starts, desi$ners are a'ailable to ans,er /uestions, clari)y )u%%y areas, and handle !roblems that can )ront the !ro$rammers ,hen usin$ the desi$n s!eci)ications" A ty!ical system s!eci)ication ,ill contain3 9" An introduction con'ertin$ the rele'ance o) the document and ho, it has e'ol'ed )rom the !re'ious !hases" :" A descri!tion o) the system" #his is usually an outline in a narrati'e )rom ,ith accom!anyin$ )lo, charts, !rocedure charts, and data )lo, dia$rams or data models" SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

=" Detailed descri!tion o) in!uts, out!uts and )iles, )or e-am!le document layouts .in!ut0, screen layouts, re!ort layouts, )ile1record layouts, and database schemes" ;" A descri!tion o) the control, ,hich o!erate ,ithin the system" #his includes control o'er in!ut and !rocessin$, restriction on access .e"$", !ass,ords and control o'er in!ut and !rocessin$, restrictions on access .e"$", !ass,ords and control on out!ut .e"$" numberin$ o) checks0 <" Processin$ re/uired" #his may in )act be handled by s!eci)yin$ $enerally ,hat ,atch !ro$ram in the system is e-!ected to do and by backin$ this u! ,ith indi'idual !ro$ram s!eci)ications issued se!arately" described in this section" >" (m!lementation consideration 66 arran$ements )or con'ertin$ e-istin$ )iles checkin$ !arallel runs, !roduction o) user !rocedures and !roduction o) com!uter 6related !rocedures" C" A detailed de'elo!ment and im!lementation time6table" #his section should list all o) the tasks to be done, includin$ indi'idual !ro$rams, sho,in$ the interrelationshi! bet,een each task and the !lanned start and com!letion date )or each task" B" A back 6u! !lan" #his should describe be !rocedures to be de'elo!ed )or takin$ security dum!s o) )iles, )or ensurin$ system resilience .e"$", du!le-in$0 and )or runnin$ the system at an alternati'e site in the e'ent o) the com!uter not bein$ a'ailable" Arran$ements )or testin$ may also be

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

(t is at this sta$e that the )irst reliable estimate o) the amount o) com!uter !ro$rammin$ e))ort re/uired can be !roduced" U! to this !oint the estimates are to a lar$e e-tent in)ormed $uesses and ,hat comes out at the end o) this e-ercise may be /uite )ri$htenin$ com!ared ,ith the !re'iously a'ailable estimates" #his is a 'alid reason )or ensurin$ that senior mana$ement continues to ha'e an a!!ro'al role at the conclusion o) this sta$e"

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

CODE EFF2C2ENCY

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

CODE EFF2C2ENCY
#he de$ree to ,hich the so)t,are makes o!timal use o) system resources as indicated by the )ollo,in$ sub attributes3 time beha'ior, resource beha'ior" #he

e))iciency is the amount o) com!utin$ resources and code re/uired by a !ro$ram to !er)orm its )unctions" A desi$n should clearly be 'ery 'eri)iable, com!lete .im!lements all the s!eci)ication0, and traceable .all desi$n elements can be traced to some re/uirements0" ?o,e'er, the t,o most im!ortant !ro!erties that concerned desi$ners are e))iciency and sim!licity" E))iciency o) any system is concerned ,ith the !ro!er use o) scarce

resources by the system" #he need )or e))iciency arises due to cost considerations" () some resources are scarce and e-!ansi'e, it is desirable that those resources be used e))iciently" (n com!uter systems, the resources that are most o)ten considered )or

e))iciency are !rocessors time and memory" An e))icient system is one that consumes less !rocessors time and re/uire less memory" (n earlier days, the e))icient use o) CPU and memory ,as im!ortant due to the hi$h cost o) hard,are" No, that the hard,are cost are small com!ared to the so)t,are costs, )or many so)t,are systems traditional e))iciency concerns no, take a back seat com!ared to other consideration" 5ne o) the e-ce!tions is real6time system, ,here there are strict e-ecution time constraints" 4or e-am!le, o)ten the JtricksK used to increase the e))iciency o) a system result in makin$ the system more com!le-" #here)ore, desi$n decisions )re/uently in'ol'e trade6o))s" (t is the desi$nersA 2ob to reco$ni%ed the tradeOo))s and achie'e the best balance" 4or our !ur!oses, sim!licity is the !rimary !ro!erty o) interest, and there)ore the ob2ecti'e o) the desi$n !rocess is to !roduce desi$ns that are sim!le to understand" SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

O0T2M2EAT2ON OF CODE

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

O0T2M2EAT2ON OF CODE
#he #erm J Code 5!timi%ationK re)ers to techni/ues a com!iler can em!loy in an attem!t to !roduce a better ob2ect lan$ua$e !ro$ram than the most ob'ious )or a $i'en source !ro$ram" #he !rimary /uestions are ho, bene)icial a $i'en o!timi%ation is and ho, much its costs to im!lement" (n some situations it is unnecessary to consider any

o!timi%ationN a /uick and strai$ht)or,ard translation o) the source !ro$ram is su))icient" #y!ical o) this situation is a Jstudent 2obK ,hich ,ill be run a )e, times and than discarded" E-actly the o!!osite is true o) a !ro$ram, ,hich is to be run an inde)initely lar$e number o) times" Virtually any amount o) time s!ent im!ro'in$ the runnin$ time o) the !ro$ram ,ill be !aid back by e'en a small !ercenta$e s!eedu! each time the !ro$ram is run" (n most cases, ho,e'er, a !ro$ram ,ill not run inde)initely ,ithout bein$ chan$e and recom!ile" (t is economic there)ore to ha'e a'ailable an Jo!timi%in$K com!iler ,hich make ,ell 2ud$ed attem!ts to im!ro'e the code it !roduces" (t is im!ortant that the o!timi%in$ com!iler attem!t trans)ormations that are likely to im!ro'e the code ,ith out costin$ too much time at com!ilation" #he e/uation to bear in mind is that the runnin$ time ,e e-!ect to sa'e o'er the e-!ected numbers o) run o) the o!timi%ed ob2ect !ro$ram must e-ceed the time s!ent by the com!iler doin$ the o!timi%ation" #he trend is to make a'ailable )or each !ro$rammin$ lan$ua$e se'eral com!ilers, or o!tions ,ithin one com!iler, that s!end 'aryin$ amounts o) time

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

im!ro'in$ the code they $enerate and !roduce code o) increasin$ /uality" (n this ,ay the user can decide ho, much time he ,ishes to s!end o!timi%in$ his !ro$ram" Code o!timi%ation techni/ues are $enerally a!!lied a)ter synta- analysis, usually both be)ore and durin$ code $eneration" Code o!timi%ation de!ends on the ty!e o) a!!lication ,hat is ,ritin$" (n most cases, you ,ill be o!timi%in$ small, ti$ht sections o) code that are e-ecuted )re/uently .such as loo!s or )re/uently called !rocedures0" Code o!timi%ation re/uires a combination o) e-!erience, and eye )or detail, and a basic understandin$ o) the architecture o) the lan$ua$e and ho, !rocessors ,ork"

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

>AL2DAT2ON CHEC;S

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

>AL2DAT2ON CHEC;S
Veri)ication and 'alidation .V G V0 is the $eneric name $i'en to the checkin$ !rocesses ,hich ensure that so)t,are con)orms to its s!eci)ication and meets the need o) the so)t,are customer" #he system should be 'eri)ied and 'alidated at each sta$e o) the so)t,are !rocess usin$ documents !roduced durin$ the !re'ious sta$e" Veri)ication and 'alidation i"e" starts ,ith re/uirements re'ie,s and continues throu$h desi$n and code re'ie,s to !roduct testin$" Veri)ication in'ol'es checkin$ that the !ro$ram con)orms to its s!eci)ication" Validation in'ol'es checkin$ that the !ro$ram im!lemented meets the e-!ectations o) the so)t,are customer" e/uirements 'alidation techni/ues, such as !rototy!in$, hel! in this res!ect" ?o,e'er, )la,s and de)iciency in the re/uirements can sometimes only be disco'ered ,hen the system im!lementation is com!lete" #o satis)y the ob2ecti'es o) the V G V !rocess, both static and dynamic techni/ues o) system checkin$ and analysis should be used" Static techni/ues are concerned ,ith the analysis and checkin$ o) system re!resentations such as the re/uirements document" Desi$n dia$ram and the !ro$ram source code" #hey may be a!!lied at all sta$es o) the !rocess throu$h structured re'ie,s" Dynamic techni/ues or test in'ol'e e-ercisin$ and im!lementation" Static techni/ues include !ro$ram

ins!ections, analysis and )ormal 'eri)ication" Some !urists ha'e su$$ested that these techni/ues should com!letely re!lace dynamic techni/ues in the 'eri)ication and 'alidation !rocess and that testin$ is unnecessary" #his is nonsense" Static techni/ues

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

can only check the corres!ondence bet,een a !ro$ram and its s!eci)icationN they cannot demonstrate that the so)t,are is o!erationally use)ul" Althou$h static 'eri)ication techni/ues are becomin$ more ,idely used, !ro$ram testin$ is still the !redominant 'eri)ication and 'alidation techni/ue" #estin$ in'ol'es e-ercisin$ the !ro$ram usin$ data like the real data !rocessed by the !ro$ram" #he e-istence o) !ro$ram de)ects or inade/uacies is in)erred )rom une-!ected system out!ut" #estin$ may be carried out durin$ the im!lementation !hase to 'eri)y that the so)t,are beha'es as intended by its desi$ner and a)ter the im!lementation is com!lete" #his later testin$ !hase checks con)ormance ,ith re/uirements and assesses the reliability o) the system"

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

2M0LEMENTAT2ON AND MA2NTENANCE

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

SOFT=A1E MA2NTENANCE
What ha!!ens durin$ the rest o) the so)t,areMs li)e3 chan$es, correction, additions, mo'es to a di))erent com!utin$ !lat)orm and more" #his, the least $lamorous and !erha!s most im!ortant ste! o) all, $oes on seemin$ly )ore'er" A)ter installation !hase is com!leted and the user sta)) is ad2usted to the chan$es created by the candidate system, e'aluation and maintenance be$in" #he im!ortance o) maintenance is to continue to brin$ the ne, system to standards" So)t,are maintenance is a task that e'ery de'elo!ment $rou! has to )ace ,hen the so)t,are is deli'ered to the customerAs site, installed and is o!erational" #he time s!ent and e))ort re/uired kee!in$ so)t,are o!erational a)ter release is 'ery si$ni)icant and consumes about ;86C8P o) the cost o) the entire li)e cycle" #he term Maintenance is a little stran$e ,hen a!!lied to so)t,are" (n common s!eech, it means )i-in$ thin$s that break or ,ear out" (n so)t,are nothin$ ,ears outN it is either ,rin$ )rom be$innin$, or ,e decode later that ,e ,ant to do somethin$ di))erent" (t is a 'ery broad acti'ity that includes error corrections, enhancements o) ca!abilities, deletion o) obsolete ca!abilities, and o!timi%ation" #here are three ma2or cate$ories o) so)t,are maintenance3 Corre ti7e Maintenan eC #his re)ers to modi)ications initiated by de)ects in the so)t,are" (t means re!airin$ !rocessin$ or !er)ormances )ailures or makin$ chan$es because o) the !re'iously uncorrected !roblems" A de)ect can result )rom desi$n errors, lo$ic errors and codin$ errors" Desi$n errors occur ,hen, chan$es made to the so)t,are are incorrect, incom!lete, ,ron$ly communicated or the chan$e re/uest is SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

misunderstand" Lo$ic errors result )rom in'alid tests and conclusions, incorrect im!lementation o) desi$n s!eci)ication, )aulty lo$ic )lo, or incom!lete test data" Codin$ errors are caused by data !rocessin$ errors and system !er)ormances errors" A#a$ti7e Maintenan eC (t includes modi)yin$ the so)t,are to match chan$es in the e'er6chan$in$ en'ironment" #he term en'ironment in this conte-t re)ers to the totally o) all conditions and in)luences ,hich act )rom outside u!on the so)t,are, )or e-am!le, business rules, $o'ernment !olicies, ,ork !atterns, so)t,are and hard,are o!eratin$ !lat)orms" #his ty!e o) maintenance includes any ,ork initiated as a conse/uence o) mo'in$ the so)t,are to a di))erent hard,are or so)t,are !lat)orm6com!iler, o!eratin$ system or ne, !rocessor" (t means chan$in$ the !ro$ram )unction" 0er9e ti7e Maintenan eC (t means im!ro'in$ !rocessin$ e))iciency or !er)ormance, or restructurin$ the so)t,are to im!ro'e chan$eability" When the so)t,are becomes use)ul, the user trend to e-!eriment ,ith the ne, cases beyond the sco!e )or ,hich it ,as initially de'elo!ed" (t means enhancin$ the !er)ormance or modi)yin$ the !ro$rams to res!ond to userAs additional or chan$in$ needs" (n com!arison ,ith all the three maintenance, !er)ecti'e takes more time and s!ent more money" Maintenance co'ers a ,ide ran$e o) acti'ities, includin$ correctin$ codin$ and desi$n errors, u!datin$ documentation and test data and u!$radin$ user su!!ort" Maintenance means restorin$ somethin$ to its ori$inal condition unlike hard,are, ho,e'er, so)t,are does not ,ear out, it is corrected" A ma2or !roblem ,ith so)t,are maintenance is its labor6intensi'e nature" SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

SYSTEM TEST2NG

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

SYSTEM TEST2NG
(t brin$s all the !ieces to$ether into a s!ecial testin$ en'ironment, then checks )or errors, bu$s and intero!erability" So)t,are testin$ is the !rocess o) testin$ the so)t,are !roduct" E))ecti'e so)t,are testin$ ,ill contribute to the deli'ery o) hi$her /uality so)t,are !roducts, more satis)ied users, lo,er maintenance costs, more accurate, and reliable results" ?o,e'er, ine))ecti'e testin$ ,ill lead to the o!!osite resultsN lo, /uality !roducts, unha!!y users, increased maintenance costs, unreliable and inaccurate results" #estin$ is the ma2or /uality control measure used durin$ so)t,are de'elo!ment" (ts basic )unction is to detect errors in the so)t,are" (t is a 'ery e-!ensi'e !rocess and consumes one6third to one6hal) o) the cost o) a ty!ical de'elo!ment !ro2ect" (t is the !rocess o) e-ecutin$ !ro$ram .or a !art o) a !ro$ram0 ,ith the intention o) )indin$ the errors, ho,e'er, testin$ cannot sho, the absence o) errors it can sho, that errors are !resent" JErrors are !resent ,ithin the so)t,are under testK" #his cannot be the aim o) so)t,are desi$ners they must ha'e desi$ned the so)t,are ,ith the aim o) !roducin$ it ,ith %ero errors" So)t,are testin$ is becomin$ increasin$ly im!ortant in the earlier !art o) the so)t,are de'elo!ment li)e cycle, aimin$ to disco'er errors be)ore they are dee!ly embedded ,ithin systems" (n the so)t,are de'elo!ment li)e cycle the earlier the errors are disco'ered and remo'ed, the lo,er is the cost o) their remo'al" #he most dama$in$ errors are those, ,hich are not disco'ered durin$ the testin$ !rocess and there)ore remain ,hen the system Q$oes li'eA" SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

#he testin$ re/uires the de'elo!ers to )ind errors )rom their so)t,are" (t is 'ery di))icult )or so)t,are de'elo!er to !oint out errors )rom o,n creations" A $ood test is one that has a hi$h !robability o) )indin$ an as yet undisco'ered error" A success)ul test case unearths an undisco'ered error" #his im!lies that testin$ not only has to unco'er errors introduced durin$ codin$, but also errors introduced durin$ the !re'ious !hases" #he $oal o) testin$ is to unco'er re/uirement, desi$n, and codin$ errors in the !ro$rams" Di))erent le'els o) testin$ are used3 4nit testingC A module is tested se!arately and is o)ten !er)ormed by the coder himsel) simultaneously alon$ ,ith the codin$ o) the module" #he !ur!ose is to e-ercise the di))erent !arts o) the modules code to detect codin$ errors" 2ntegration TestingC #he modules are $radually inte$rated into subsystems, ,hich are then inte$rated to e'entually )rom the entire system" (nte$ration testin$ is !er)ormed to detect desi$n errors by )ocusin$ on testin$ the interconnection bet,een modules" System TestingC A)ter the system is !ut to$ether, it is !er)ormed" #he system is tested a$ainst the system re/uirement to see i) the entire re/uirement are met and i) the system !er)orms as s!eci)ied by the re/uirement" A e$tan e TestingC #he )inal sta$e o) initial de'elo!ment, ,here the so)t,are is !ut into !roduction and runs actual business" (t is !er)ormed to demonstrate to the client, on the real li)e data o) the client, the o!eration o) the system" #estin$ is an e-tremely critical and time6consumin$ acti'ity" (t re/uires !ro!er !lannin$ o) the o'erall testin$ !rocess" #he test !lan s!eci)ies conditions that should be tested, di))erent units to be tested, and the manner in ,hich the modules ,ill be SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

inte$rated to$ether" #he )inal out!ut o) the testin$ !hase is the test re!ort and the error re!ort, or a set o) such re!orts .one )or each unit tested0" #he im!ortance o) so)t,are testin$ and its im!lications ,ith res!ect to S1W Duality cannot be o'erem!hasi%ed" 7ecause o) this im!ortance G the lar$e amount o) !ro2ect e))ort associated ,ith the system de'elo!ment, it becomes /uite necessary to become ,ell !lanned and throu$h testin$" (nade/uate testin$ G no6ade/uate testin$ leadMs to errors that may be costly ,hen they a!!ear months later" E))ecti'e testin$ translates into cost sa'in$s )rom reduced errors G sa'es a lot o) !ro2ect e))orts" (t )ollo,s ma2or )actors that decide the occurrences o) errors in a ne, desi$n )rom the 'ery early sta$e o) the de'elo!ment" &" Comm:ni ation Between t!e :ser F t!e #esigner

#his )actor is handled by )re/uently communicatin$ ,ith the )inance de!artment and the $ate entry" '" T!e Time 9a tor 9or t!e #esign

#his )actor is handled by $i'in$ com!arati'ely more time to the desi$nin$ o) the system" OBGe ti7es o9 System Testing

5nce a system has been desi$ned, it is necessary to under$o an e-hausti'e testin$ be)ore installin$ the system" #his is im!ortant because in some cases a small error, not detected and corrected early be)ore installation, may e-!lode into a much lar$e !roblem later on" #estin$ is bein$ !er)ormed ,hen users are asked to assist in SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

identi)yin$ all !ossible situations" #hat mi$ht arise as re$ards the )actor that e))orts ,ere !ut to tackle the !roblem under consideration" A !lan ,as decided to be )ollo,ed )or testin$ the system" #he com!lete testin$ !rocedure ,as di'ided into se'eral ste!s, to be !er)ormed at di))erent sta$es" #ests ,ere to be done as )ollo,s3 6 Testing Criteria

A" =!ite @ox Testing


(i) Transa tion $at! Testing (n this !hase each and e'ery condition ,ithin a unit !ro$ram ,ere tested" As and ,hen a loo! or condition statement ,as incor!orated into a unit the loo!s ,ere tested )or correctness, )or )oundry conditions and )or not $ettin$ into in)inite e-ecution cycle" #he data used ,as ,hate'er necessary at that instance" #he !ath o) each transaction )rom ori$in to destination ,as tested )or reliable results" (ii) Mo#:le Testing #his ,as carried out durin$ the !ro$rammin$ sta$e itsel)" (ndi'idual !ro$rams ,ere tested at the time o) codin$ and necessary chan$es are made there on to make sure that the modules in the )orm !ro$ram, is ,orkin$ satis)actory as re$ards the e-!ected out!ut )rom the module" All as!ects o) the !ro$ram 'i%" All choices a'ailable ,ere !ro!erly tested" (iii) String Testing

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

A)ter loadin$ all indi'idual !ro$ram strin$ ,as !er)ormed )or each one o) !ro$rams ,here the out!ut $enerated by one !ro$ram is used as in!ut by another !ro$ram" #his ste! ,as com!leted a)ter makin$ necessary chan$es ,here'er re/uired"

B. Black Box Testing


(i) System Testing A)ter module and strin$ testin$, the systems ,ere tested as a ,hole system #ests ,ere undertaken to check bundled modules )or errors" #he errors )ound in the cou!le system as a ,hole ,as corrected" A testin$ on the Actual data o) the com!any )ollo,ed this" Durin$ this !hase the e-istin$ System and this !acka$e ,as runnin$ in !arallel to enable us to 'eri)y and com!are the result sets" #he )ollo,in$ criteria ,ere used ,hile testin$ the system" (ii) O:t$:t Testing No systems could be use)ul i) it does not !roduced the re/uired o!eration )or that matter o!eration in the re/uired )ormat the out!uts $enerated or dis!layed by the system under consider ,as tested by askin$ the )ormat re/uired by them" (iii) 4ser A e$tan e Testing User acce!tance o) a system is a key )actor )or the success o) any system" #he system under consideration ,as tested )or user acce!tance by constantly kee!in$ in touch ,ith the !ros!ected system users at the time o) de'elo!in$ and makin$ chan$es" Where'er re/uired this ,as done in re$ard to the user satis)action"

Testing 0ro e#:re


SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

Di))erent ty!e o) checks like du!licate checks, com!leteness check, 'alidity, checks etc" are incor!orated in this system, as the data has to be entered in di))erent )orms" #he user is not )amiliar ,ith ne, system the data entry screens are desi$ned in such a ,ay that they are Consistent Com!atible Easy to use ?ad /uick res!onse

#he )ollo,in$ con'entions are used ,hile desi$nin$ o) the 'arious screens to make the system user )riendly en'ironment" All the items that are lo$ically related are to$ether" Error and 'alidation messa$es are !ro'ided ,here'er re/uired" System testin$ is a$ainst its initial ob2ecti'es, it is done in a simulated

Test 1e7iew
#est re'ie, is the !rocess, ,hich ensures that testin$ is carried out, as !lanned test re'ie, decides ,hether or not the !ro$ram is ready to shi! out )or the im!lementation"

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

4or each data entry screen, ,e !re!ared test data ,ith e-treme 'alues and under all rele'ant data6 entry screen a$ainst real this !rocess hel!ed in recti)yin$ the modules time"

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

SYSTEM SEC412TY MEAS41ES

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

SYSTEM SEC412TY MEAS41ES


Security in'ol'es both !olicies and mechanism to !rotect data and ensure that it is not accessed, altered or deleted ,ithout !ro!er authori%ation" (nte$rity im!lies that any !ro!erly authori%ed access, alteration or deletion o) the data in the database does not chan$e the 'alidity o) the data" Security and inte$rity thou$h distinct, are related" (m!lementation o) both security and inte$rity re/uires that certain controls in the )orm o) constraints must be built in to the system" #he D7A, in consultation ,ith the security administration s!eci)y these controls" #he system en)orces the controls by monitorin$ the actions o) the users and limitin$ their actions ,ith in the constraints )or them" #o !re'ent the dissemination o) sensiti'e in)ormation )rom the data base to unauthori%ed users and thence to outside com!etiti'e or hostile a$ents, an or$ani%ation must established e))ecti'e security !olicies" Database security !olicies are $uidelines )or !resent and )uture desi$ners re$ardin$ the maintenance o) the data base security" Database security mechanisms are the )unction used to en)orced database security !olicies" #hese )unctions could be im!lemented by a combination o) one or more o) the )ollo,in$3 administrati'e control !rocedures, hard,are )unctions, so)t,are )unction, )irm,are )unctions" #he administrati'e controls !rocedures are the im!lementations o) security !olicies to !ro'ide !rotection, e-ternal to the database, o!eratin$ systems, and com!uter hard,are" An e-am!le o) such ty!e is that a !ass,ord to !ro'ide )or a !ro$ram be a random strin$ o) al!hanumeric characters, at least ei$ht in len$th, and be chan$ed re$ularly" SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

#he o!eratin$ system must ensure that )iles belon$in$ to the database are not used directly ,ithout !ro!er authori%ation" #his authori%ation can consist o) the user !ro'idin$ the !ro!er !ass,ords )or the )ile" #he o!eratin$ system must also ensure that ille$al users usin$ !ublic communication )acilities are not allo,ed access to the system" Users must be re/uired to use ade/uate identi)ication and !ass,ords" #he authori%ation mechanism !re!ares the user !ro)ile )or a user and indicates the !ortion o) the database accessible to that user and the mode o) access allo,ed" #he en)orcement the security !olicies in the database system re/uire that the system kno,s the identity o) the user makin$ the re/uests" #his in turn re/uires that be)ore makin$ any re/uest, the user has to identi)y him 1 her to the system and authenticate the identi)ication to con)irm that the user is in )act the correct !erson" #he sim!lest and most common authentication scheme used is a !ass,ord to authenticate the user" #he user enters the user name or number and than authenticate himsel)1hersel) by the !ass,ord" #y!ically, these identi)ication1authentication ste!s are used once )or the initial si$n6on to the system" ?o,e'er, )or sensiti'e data, this ste! could be re!eated )or each o!eration"

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

COST EST2MAT2ON OF THE 01O3ECT

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

COST EST2MAT2ON OF THE 01O3ECT


Pro2ect estimation and !ro2ect schedulin$ are carried out to$ether" ?o,e'er, some cost estimation may be re/uired at an early sta$e o) the !ro2ect be)ore detailed schedules are dra,n u!" #hese estimates may be needed to establish a bud$et )or the !ro2ect or to set a !rice )or the so)t,are )or a customer" 5nce a !ro2ect is under,ay, estimates should be u!dated re$ularly" #his assist ,ith the !lannin$ !rocess and allo,s the e))ecti'e use o) resources" () actual e-!enditure is si$ni)icantly $reater than the estimates than the !ro2ect mana$er must take some action" #his may in'ol'e a!!lyin$ )or additional resources )or the !ro2ect or modi)yin$ the ,ork to be done" #here are three !arameters in'ol'ed in com!utin$ the total cost o) a so)t,are de'elo!ment !ro2ect3 ?ard,are G So)t,are Costs includin$ maintenance #ra'el and trainin$ costs E))ort cost .#he costs o) !ayin$ so)t,are en$ineers0"

4or most !ro2ects, the dominant cost is the e))ort cost" Com!uters that are !o,er)ul enou$h )or so)t,are de'elo!ments are relati'ely chee!" Althou$h tra'el costs can be si$ni)icant ,here a !ro2ect is de'elo!ed at di))erent sites, they are relati'ely lo, )or most !ro2ects" 4urther more, the use o) e6mailN )a- and telecon)erencin$ can reduce the tra'el re/uired"

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

E))ort costs are not sim!ly the cost o) the salaries o) the so)t,are en$ineers in'ol'ed in the !ro2ect" 5r$ani%ation com!ute e))ort costs in terms o) o'erhead costs ,here they take the total cost o) runnin$ the or$ani%ation and di'ide this by the number o) !roducti'e sta))" #here)ore, the )ollo,in$ cost are all !art o) the total e))ort cost3 Costs o) !ro'idin$, coolin$ and li$htin$ o))ice s!aceN Costs o) su!!ort sta)) such as Accountant, Secretaries, !eon and so onN Costs o) net,orkin$ and communicationN Costs o) central )acilities such as library, recreational )acilities and so onN Costs o) health insurance and so on"

#y!ically this o'erhead )actor is some,here around t,ice the so)t,are en$ineerAs salary" #here)ore, i) a so)t,are en$ineers are !aid s" :"< Lakhs !er year, the total cost to the or$ani%ation is s 98 Lakhs !er year or s B= thousands !er month" () the !ro2ect has been com!uted as !art o) the !ro2ect bid to a customer, a decision then has to be made about the !rice /uoted to the customer" Classically, !rice is sim!ly cost !lus !ro)it" ?o,e'er, the relationshi! bet,een the !ro2ect cost and the !rice to the customer is not usually so sim!le" So)t,are should be carried out ob2ecti'ely ,ith the aim o) accurately !redictin$ the cost to the contractor o) de'elo!in$ the so)t,are" So)t,are !ricin$ must take into account broader or$ani%ational, economic, !olitical and business consideration" A so)t,are desi$ner can de'elo! architecture )or a ne, a!!lication, system, or !roduct by de)inin$ domain architecture and than !o!ulatin$ it ,ith structure !oint" SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

#hese structure !oints are either indi'idual reusable com!onents or !acka$es o) reusable com!onents" E'en thou$h structure !oint is reusable, their /uali)ication, ada!tation, inte$ration, and maintenance cost are nontri'ial" 7e)ore !roceedin$ ,ith reuse, the !ro2ect mana$er must understand the costs associated ,ith the use o) structure !oints" Since all structure !oints ha'e a !ast history, cost data can be collected )or each" (n an ideal settin$, the /uali)ication, ada!tation, inte$ration, and maintenance cost associated ,ith each com!onent in a reuse library is maintained )or each instance o) usa$e" #hese data can then be analy%ed to de'elo! !ro2ected costs )or the ne-t instance o) reuse"

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

0E1T CHA1T

01OG1AM E>AL4AT2ON 1E>2E= TECHN284E (0E1T) CHA1T


SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

#he chart sho,s clearly that the !ro2ect consists o) the acti'ities o) Analysis, desi$n, )ront6end codin$, back6end codin$ and re!ort $eneration" ecall that the

!re'ious estimates )or these si- tasks ,ere, res!ecti'ely, :8, :8, ;<, ;<, =8 and :< days" #he )i$ure sho,s that the !ro2ect ,ill start on A!ril 89, :88>" #he analysis ,ork ,ill start on A!ril 8=, :88>" Since the analysis is estimated to take :8 days, any acti'ity that )ollo,s the desi$n may start on A!ril :8, :88> at the earliest" #he de!endency arro,s hel! us com!ute these earliest start dates based on our estimates o) the duration o) each acti'ity" #hese dates are sho,n in the )i$ure" We could also com!ute the earliest )inish dates or latest start dates or latest )inish dates, de!endin$ on the kind o) analysis ,e ,ant to !er)orm" #he chart sho,s that the !ath throu$h the !ro2ect that consists o) the #esign acti'ity is the critical !ath )or the !ro2ect" Any delay in any acti'ity in this !ath ,ill cause a delay in the entire !ro2ect" We ,ill clearly ,ant to monitor the acti'ities on the critical !ath much more closely than the other acti'ities"

4ront end codin$

Start

Analysis

Desi$n

#estin$

e!ort &eneration

7ack end codin$

4inish

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

GANTT CHA1T

GANTT CHARTS

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

A bar chart is !erha!s the sim!lest )orm o) )ormal !ro2ect mana$ement" #he bar chart .also kno,n as &antt chart0 is used almost e-clusi'ely )or schedulin$ !ur!oses and there)ore controls only the time dimension o) !ro2ects" &antt chart .de'elo!ed by ?enry L" &antt0 are a !ro2ect control techni/ue that can be )or se'eral !ur!oses, includin$, bud$etin$ and resource !lannin$" A &antt chart is a bar chart, ,ith each bar re!resentin$ an acti'ity" #he bars are dra,n a$ainst a time line" #he len$th o) each bar is !ro!ortional to the len$th o) time !lanned )or acti'ity" #o !re!are the &antt chart )or our !ro2ect ,e estimate the number o) days re/uired )or each o) the si- task as )ollo,s3 Analysis, :8N desi$n, :8N 4ront end codin$, ;<N 7ack end codin$, ;<N testin$, =8N and e!ort $eneration, :<" Usin$ these estimates, ,e can dra, the &antt chart" A &antt chart hel!s in schedulin$ the acti'ities o) a !ro2ect, but it does not hel! in identi)yin$ them" 5ne can be$in ,ith acti'ities identi)ied in the ,ork breakdo,n structure, as ,e did )or the com!lier e-am!le" Durin$ the schedulin$ acti'ity, and also durin$ im!lementation o) the !ro2ect, ne, acti'ities may be identi)ied that ,ere not en'isioned durin$ the initial !lannin$" #he mana$er must then $o back and re'ise the breakdo,n structure and the schedules to deal ,ith these ne, acti'ities" #he &antt chart in the )i$ure is actually an enhanced 'ersion o) standard &antt chart" #he ,rite !art o) the bar sho,s the len$th o) time each task is estimated to take" #hey $ray sho,s the slack time, that is, the latest time by ,hich a task must be )inished" 5ne ,ay to 'ie, the slack time is that, i) necessary, ,e can slide the ,hite area o'er the $ray area ,ithout )orcin$ the start o) the ne-t acti'ity to be delayed" A bar SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

that is all ,hile, such as that re!resentin$ the code $enerator task, has no slack and must be started and com!leted in the scheduled dates i) the schedule is to be maintained" 4or the )i$ure, ,e can see that the one task desi$n has no slack" (t is this task then determines the total len$th o) time the !ro2ect is e-!ected to take"

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

DATA@ASE

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

(a) Student Record:


Fiel# S" No" & Student@Name Data Ty$e Varchar Varchar Varchar Varchar Varchar Varchar Numeric #e-t #e-t 7lob Varchar Numeric Numeric Numeric Varchar Si%e 9> 9> 9> 9> 9> 8< 8B 8: 8B :8 =8 98 8B 8: 8C Constraint Not Null Not Null Not Null Null Null Not Null Not Null Not Null Not Null Not Null Not Null Null Not Null Not Null Not Null

+" & Student@4atherAs@Name ," & Student@MotherAs@Name -" & 4atherAs@5ccu!ation ." ' MotherAs@5ccu!ation /" ' Student@S" "@Number .Primary0 &" ' Student@D57 '" ' Student@Se(" ' Student@Caste )" ' Student@Photo *" ' Student@Address +" ' Student@Phone@No" ," ' Date@o)@Admission -" ' Student@Class@No" . e)" *ey0 ." ( Student@Status /"

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

(b &i) Fee Structure:


S" No" ," -" ." &
Fiel# Class@No" #ution@4ee Annual@4ee@Amount E-am@4ee@Amount Data Ty$e Numeric Numeric Numeric Numeric Numeric Numeric Si%e 8: 8= 8= 8= 8= 8; Constraint Not Null Not Null Null Null Null Not Null

/" & Con'eyance@4ee@Amount &" & #otal@4ee@Amount '"

(b 'ii) Student Fee:


Fiel# S" No" & Student@S" " No".4"*"0 Data Ty$e Numeric Numeric Numeric Numeric Numeric Numeric Numeric Numeric Numeric Si%e 8< 8B 8; 8; 8B 8; 8; 8B 8; Constraint Not Null Not Null Not Null Not Null Not Null Not Null Not Null Not Null Not Null

+" & Annual4ee@De!@Date ," & 4ee@Amount@Paid -" & 7alance@4ee ." ' #ution4ee@De!Date /" ' #ution4ee@AmountPaid &" ' #ution4ee@7alance '" ' E-am4ee@De!ositeDate (" ' E-am4ee@AmountPaid )"

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

'

E-am4ee@7alance

Numeric Numeric Numeric Numeric Numeric Numeric

8; 8B 8; 8; 8; 8;

Not Null Not Null Not Null Not Null Not Null Not Null

*" ' Con'eyance4ee@De!Date +" ' Con'eyance4ee@AmtPaid ," ' Con'eyance4ee@7alance -" ' #otal@Amount@Paid ." ( #otal@Amount@7alance /"

(c) Faculty Profile:


Fiel# S" No" & #eacherAs@Name Data Ty$e Si%e Constraint

Varchar Varchar Numeric Varchar 7lob Varchar Numeric

:8 :8 8B 8: ;8 =8 98

Not Null Not Null Not Null Not Null Null Null Null

," & #eacherAs@Duali)ication -" & #eacherAs@D57 ." ' #eacherAs@Se/" ' #eacherAs@Photo &" ' #eacherAs@Address '" ' #eacherAs@Phone No" (" " ' #eacherAs@Date o) +oinin$

Numeric

8B

Null

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

'

#eacherAs@Salary

Numeric Varchar Varchar Varchar Varchar Varchar Varchar Varchar

8; 9: 9: 9: 9: 9: 9: 9:

Null Null Null Null Null Null Null Null

*" ' #eacherAs@Sub2ect9 +" ' #eacherAs@Sub2ect: ," ' #eacherAs@Sub2ect= -" ' #eacherAs@Sub2ect; ." ( #eacherAs@Sub2ect< /" ( #eacherAs@Sub2ect> &" ( #eacherAs@Sub2ectC '"

(d) School Time Table :


S" No"
Fiel# ," Sub2ect@Name -" Sub2ect@Code ." #otal No"@o)@Periods &/ #ime@ slots " && Class@No"@Section " &' #eacherAs @Name " Data Ty$e Si%e Constraint

Varchar Varchar Numeric Numeric Varchar Varchar

9: 8> 8: 8; 8; 9:

Not Null Null Null Null Null Null

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

(e) Examination Result:


S" No"
Fiel# Student@S" "No" . e)erence *ey0 Data Ty$e Si%e Constraint

-" ." Student@ClassNo" & Student@Name

Varchar Varchar Char Char Char Numeric 7oollean

8; 8< 9< 9< ; ; 9

Not Null Not Null Not Null Null Not Null Not Null Not Null

/" & Stud@4atherAs@Name &" & '" &


esult@Status esult@Eear

(" & #C@Status )" (f) Library Management:


S" No"
Fiel#

Data Ty$e

Si%e

Constraint

& 7ook@(d /" & 7ook@#itle &" & 7ook@Author '" & Publication (" & 7ook@(ssue

Vanchar Char Char Char Numeric


SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

8< 9< 9< 9< 8B

Not Null Not Null Not Null Null Null

& 7ook@ eturn *" & 7ook@sub2ect +" & 7ook@Cost ," & 7ook@Status -"

Numeric Vanchar Numeric Char

8B 9< 8; 98

Null Not Null Null Null

FO1MS
SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

m#i9orm

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

9rmres:lt

9rm9a :lty

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

9rm9ee

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

9rm9a :ltysear !

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

9rmst:#ent

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

9rmst:#entsear !

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

S4@3ECT

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

T2TLES

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

@OO;S

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

MEM@E1S

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

EM0LOYEES

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

O0T2ONS

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

2SS4E

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

1ET41N

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

1ESE1>E @OO;

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

M2SS2NG @OO;

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

1E0O1T FO1 0AY F2NE

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

F2NE @ALANCE 1E0O1T

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

M2SS2NG @OO; 1E0O1T

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

COD2NG

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

COD2NG FO1 SCHOOL MANAGEMENT MOD4LES


frmExamResultAdd - 1 Dim r1 As ew AD!DB.Recordset "rivate #u$ cmdAdd%&lick'( )))))))))))&!DE T! * #ERT RE&!RD * T! DATABA#E Dim rs As ew AD!DB.Recordset rs.!+en ,ExamResult,- con- ad!+enD.namic- adLock!+timistic /it0 rs .Add ew .Fields',#R o,( 1 Trim'&om##R o.Text( .Fields',#tud A2E,( 1 Trim'txt ame.Text( .Fields',Fat0er A2E,( 1 Trim'txtF ame( .Fields',&LA##no,( 1 Trim'txt&lass o( .Fields',Result#tatus,( 1 Trim'txtResult#tatus( .Fields',Result3ear,( 1 Trim'txtResult3ear( .Fields',T&#tatus,( 1 Trim'txtTc#tatus( .4+date .&lose End /it0 2sgBox ,#4&E##F4LL3 ADDED, ))))))))))))))))))))))))))))))))E D !F &!DE T! * #ERT))))))))))))))))))))))))) &all clearTxtBox'frmExamResultAdd( &all L&5'&om##R o( End #u$ "rivate #u$ &om##R o%&lick'( #et r1 1 con.Execute',select 6 from #tudentRecord w0ere ##R% um$er 1 ), 7 Trim'&om##R o.Text( 7 ,),( txt ame.Text 1 r1.Fields',#% A2E,( txtF ame 1 r1.Fields',F% A2E,( txt&lass o 1 r1.Fields',&LA##,( *mage1."icture 1 Load"icture'r1.Fields',"8!T!,(( r1.&lose End #u$ "rivate #u$ Form%Load'( &all connect &all L&5'&om##R o( txtResult3ear.Text 1 Format'Date- ,....,( End #u$ "rivate #u$ L&5'&om$o1 As &om$oBox( SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

&om$o1.&lear #et r1 1 con.Execute',select 6 from #tudentRecord order $. ##R% um$er,( *f r1.E!F 1 True T0en 2sgBox ,#tudent List Em+t. , Exit #u$ End *f r1.2oveFirst /0ile ot r1.E!F &om$o1.Add*tem r1.Fields',##R% um$er,( r1.2ove ext /end r1.&lose End #u$ frmExamResultDelete - 1 Dim r1 As ew AD!DB.Recordset "rivate #u$ cmdAdd%&lick'( )))))))))))&!DE T! * #ERT RE&!RD * T! DATABA#E con.Execute ',delete from ExamResult w0ere #R ! 1 ), 7 Trim'&om##R o.Text( 7 ,),( 2sgBox ,#4&E##F4LL3 DELETED, ))))))))))))))))))))))))))))))))E D !F &!DE T! * #ERT))))))))))))))))))))))))) &all clearTxtBox'frmExamResultDelete( &all L&5'&om##R o( End #u$ "rivate #u$ &om##R o%&lick'( #et r1 1 con.Execute',select 6 from ExamResult w0ere #R ! 1 ), 7 Trim'&om##R o.Text( 7 ,),( txt ame.Text 1 r1.Fields',#tud A2E,( txtF ame 1 r1.Fields',Fat0er A2E,( txt&lass o 1 r1.Fields',&LA##no,( txtResult#tatus 1 r1.Fields',Result#tatus,( txtResult3ear 1 r1.Fields',Result3ear,( txtTc#tatus 1 r1.Fields',tcstatus,( r1.&lose End #u$ "rivate #u$ Form%Load'( &all connect &all L&5'&om##R o( End #u$ "rivate #u$ L&5'&om$o1 As &om$oBox( SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

&om$o1.&lear #et r1 1 con.Execute',select 6 from E9A2RE#4LT order $. #R !,( *f r1.E!F 1 True T0en 2sgBox ,#tudent List Em+t. , Exit #u$ End *f r1.2oveFirst /0ile ot r1.E!F &om$o1.Add*tem r1.Fields',#R !,( r1.2ove ext /end r1.&lose End #u$ frmExamResult4+date - 1 Dim r1 As ew AD!DB.Recordset "rivate #u$ cmdAdd%&lick'( )))))))))))&!DE T! * #ERT RE&!RD * T! DATABA#E Dim rs As ew AD!DB.Recordset rs.!+en ,select 6 from ExamResult w0ere #R ! 1 ), 7 Trim'&om##R o.Text( 7 ,),- con- ad!+enD.namic- adL ock!+timistic /it0 rs .4+date .Fields',#R o,( 1 Trim'&om##R o.Text( .Fields',#tud A2E,( 1 Trim'txt ame.Text( .Fields',Fat0er A2E,( 1 Trim'txtF ame( .Fields',&LA##no,( 1 Trim'txt&lass o( .Fields',Result#tatus,( 1 Trim'txtResult#tatus( .Fields',Result3ear,( 1 Trim'txtResult3ear( .Fields',T&#tatus,( 1 Trim'txtTc#tatus( .4+date .&lose End /it0 2sgBox ,#4&E##F4LL3 4"DATED, ))))))))))))))))))))))))))))))))E D !F &!DE T! * #ERT))))))))))))))))))))))))) &all clearTxtBox'frmExamResult4+date( &all L&5'&om##R o( End #u$ "rivate #u$ &om##R o%&lick'(

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

#et r1 1 con.Execute',select 6 from ExamResult w0ere #R ! 1 ), 7 Trim'&om##R o.Text( 7 ,),( txt ame.Text 1 r1.Fields',#tud A2E,( txtF ame 1 r1.Fields',Fat0er A2E,( txt&lass o 1 r1.Fields',&LA##no,( txtResult#tatus 1 r1.Fields',Result#tatus,( txtResult3ear 1 r1.Fields',Result3ear,( txtTc#tatus 1 r1.Fields',tcstatus,( r1.&lose End #u$ "rivate #u$ Form%Load'( &all connect &all L&5'&om##R o( End #u$ "rivate #u$ L&5'&om$o1 As &om$oBox( &om$o1.&lear #et r1 1 con.Execute',select 6 from E9A2RE#4LT order $. #R !,( *f r1.E!F 1 True T0en 2sgBox ,#tudent List Em+t. , Exit #u$ End *f r1.2oveFirst /0ile ot r1.E!F &om$o1.Add*tem r1.Fields',#R !,( r1.2ove ext /end r1.&lose End #u$ frmFac*nfoEntr. - 1 !+tion Ex+licit Dim +0oto#tr As #tring )))))))))))))))))))))))))))))&!DE T! * #ERT RE&!RD )))))))))))))))))))))))) "rivate #u$ cmdAdd%&lick'( Dim rs As ew AD!DB.Recordset rs.!+en ,Facult."rofile,- con- ad!+enD.namic- adLock!+timistic /it0 rs .Add ew .Fields',id,( 1 Trim'txtFac*d.Text( .Fields',T A2E,( 1 Trim'txt ame.Text( .Fields',t:ualification,( 1 Trim'txt;ualification( SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

.Fields',TADDRE##,( 1 Trim'txtAddress( .Fields',TD!B,( 1 Trim'txtD!B( .Fields',T#E9,( 1 Trim'txt<ender( .Fields',"8!T!,( 1 Trim'txt"0oto.Text( .Fields',"8! E,( 1 Trim'txt"0one( .Fields',DATE!F=oin,( 1 Trim'txtAdmission( .Fields',#alar.,( 1 Trim'txt#alar.( .Fields',#u$1,( 1 Trim'txt#u$1( .Fields',#u$>,( 1 Trim'txt#u$>( .Fields',#u$?,( 1 Trim'txt#u$?( .Fields',#u$@,( 1 Trim'txt#u$@( .Fields',#u$A,( 1 Trim'txt#u$A( .Fields',#u$B,( 1 Trim'txt#u$B( .Fields',#u$C,( 1 Trim'txt#u$C( .4+date .&lose End /it0 2sgBox ,#4&E##F4LL3 ADDED, ))))))))))))))))))))))))))))))))E D !F &!DE T! * #ERT))))))))))))))))))))))))) &all clearTxtBox'frmFac*nfoEntr.( End #u$ "rivate #u$ &ommand>%&lick'( &ommonDialog1.*nitDir 1 ,cDE+0otoEfacult., &ommonDialog1.Filter 1 ,"icture Files'6.=+gF 6.$m+F 6.gifF6.=+eg(G 6.=+gF6.$m+F6.gifF6.=+eg, &ommonDialog1.#0ow!+en txt"0oto.Text 1 &ommonDialog1.File ame *mage1."icture 1 Load"icture'&ommonDialog1.File ame( End #u$ "rivate #u$ Form%Load'( &all connect txtAdmission.Text 1 Format'Date- ,dd-mm-..,( End #u$ frmFac*nfo4+date - 1 Dim r1 As ew AD!DB.Recordset "rivate #u$ cmdAdd%&lick'( Dim rs As ew AD!DB.Recordset rs.!+en ,#ELE&T 6 from facult.+rofile w0ere id 1 ), 7 Trim'&om##R o.Text( 7 ,),- con- ad!+enD.namicadLock!+timistic SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

/it0 rs .4+date .Fields',T A2E,( 1 Trim'txt ame.Text( .Fields',t:ualification,( 1 Trim'txt;ualification( .Fields',TADDRE##,( 1 Trim'txtAddress( .Fields',TD!B,( 1 Trim'txtD!B( .Fields',T#E9,( 1 Trim'txt<ender( .Fields',"8!T!,( 1 Trim'txt"0oto.Text( .Fields',"8! E,( 1 Trim'txt"0one( .Fields',DATE!F=oin,( 1 Trim'txtAdmission( .Fields',#alar.,( 1 Trim'txt#alar.( .Fields',#u$1,( 1 Trim'txt#u$1( .Fields',#u$>,( 1 Trim'txt#u$>( .Fields',#u$?,( 1 Trim'txt#u$?( .Fields',#u$@,( 1 Trim'txt#u$@( .Fields',#u$A,( 1 Trim'txt#u$A( .Fields',#u$B,( 1 Trim'txt#u$B( .Fields',#u$C,( 1 Trim'txt#u$C( .4+date .&lose End /it0 2sgBox ,#4&E##F4LL3 4"DATED, ))))))))))))))))))))))))))))))))E D !F &!DE T! 4"DATE))))))))))))))))))))))))) &all clearTxtBox'frmFac*nfo4+date( &all L&5'&om##R o( End #u$ "rivate #u$ &ommand>%&lick'( &ommonDialog1.*nitDir 1 ,cDE+0otoEfacult., &ommonDialog1.Filter 1 ,"icture Files'6.=+gF 6.$m+F 6.gifF6.=+eg(G 6.=+gF6.$m+F6.gifF6.=+eg, &ommonDialog1.#0ow!+en txt"0oto.Text 1 &ommonDialog1.File ame *mage1."icture 1 Load"icture'&ommonDialog1.File ame( End #u$ "rivate #u$ &om##R o%&lick'( #et r1 1 con.Execute',select 6 from Facult."rofile w0ere id 1 ), 7 Trim'&om##R o.Text( 7 ,),( txt ame.Text 1 r1.Fields',t A2E,( txtD!B 1 r1.Fields',tD!B,( txt<ender 1 r1.Fields',tsex,( SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

*mage1."icture 1 Load"icture'r1.Fields',"8!T!,(( txt"0oto.Text 1 r1.Fields',+0oto,( txtAddress 1 r1.Fields',tADDRE##,( txt"0one 1 r1.Fields',"8! E,( txtAdmission 1 r1.Fields',DATE!F=oin,( txt#alar. 1 r1.Fields',#alar.,( txt;ualification.Text 1 r1.Fields',T;4AL*F*&AT*! ,( txt#u$1 1 r1.Fields',su$1,( txt#u$> 1 r1.Fields',su$>,( txt#u$? 1 r1.Fields',su$?,( txt#u$@ 1 r1.Fields',su$@,( txt#u$A 1 r1.Fields',su$A,( txt#u$B 1 r1.Fields',su$B,( txt#u$C 1 r1.Fields',su$C,( r1.&lose End #u$ "rivate #u$ Form%Load'( &all connect &all L&5'&om##R o( End #u$ "rivate #u$ L&5'&om$o1 As &om$oBox( &om$o1.&lear #et r1 1 con.Execute',select 6 from Facult."rofile order $. id,( *f r1.E!F 1 True T0en 2sgBox ,Facult. List Em+t. , frmFac*nfo4+date - > Exit #u$ End *f r1.2oveFirst /0ile ot r1.E!F &om$o1.Add*tem r1.Fields',id,( r1.2ove ext /end r1.&lose End #u$ frmFacult.Delete - 1 Dim r1 As ew AD!DB.Recordset "rivate #u$ cmdAdd%&lick'( con.Execute ',delete from facult.+rofile w0ere id 1 ), 7 Trim'&om##R o.Text( 7 ,),( SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

2sgBox ,Record Deleted, &all clearTxtBox'frmFacult.Delete( &all L&5'&om##R o( End #u$ "rivate #u$ &om##R o%&lick'( #et r1 1 con.Execute',select 6 from Facult."rofile w0ere id 1 ), 7 Trim'&om##R o.Text( 7 ,),( txt ame.Text 1 r1.Fields',t A2E,( txtD!B 1 r1.Fields',tD!B,( txt<ender 1 r1.Fields',tsex,( *mage1."icture 1 Load"icture'r1.Fields',"8!T!,(( txtAddress 1 r1.Fields',tADDRE##,( txt"0one 1 r1.Fields',"8! E,( txtAdmission 1 r1.Fields',DATE!F=oin,( txt#alar. 1 r1.Fields',#alar.,( txt;ualification.Text 1 r1.Fields',T;4AL*F*&AT*! ,( txt#u$1 1 r1.Fields',su$1,( txt#u$> 1 r1.Fields',su$>,( txt#u$? 1 r1.Fields',su$?,( txt#u$@ 1 r1.Fields',su$@,( txt#u$A 1 r1.Fields',su$A,( txt#u$B 1 r1.Fields',su$B,( txt#u$C 1 r1.Fields',su$C,( r1.&lose End #u$ "rivate #u$ Form%Load'( &all connect &all L&5'&om##R o( End #u$ "rivate #u$ L&5'&om$o1 As &om$oBox( &om$o1.&lear #et r1 1 con.Execute',select 6 from Facult."rofile order $. id,( *f r1.E!F 1 True T0en 2sgBox ,Facult. List Em+t. , Exit #u$ End *f r1.2oveFirst /0ile ot r1.E!F &om$o1.Add*tem r1.Fields',id,( r1.2ove ext SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

/end r1.&lose End #u$ frmFeeAdd - 1 Dim r1 As ew AD!DB.Recordset "rivate #u$ cmdAdd%&lick'( Dim rs As ew AD!DB.Recordset Dim id- tem+ As *nteger #et r1 1 con.Execute',select 2ax'Tr*d( from Fee"a.mentDetail,( tem+ 1 &*nt'r1.<et#tring( *f tem+ H 1 T0en id 1 1 Else id 1 &*nt'tem+( 7 1 End *f rs.!+en ,Fee"a.mentDetail,- con- ad!+enD.namic- adLock!+timistic rs.Add ew rs.Fields',#tud o,( 1 &om##R o.Text rs.Fields',AnnualFeeDate,( 1 txtAnnualDate rs.Fields',AnnualFee+aid,( 1 txtAnnual"aid rs.Fields',TutFeeDate,( 1 txtTutionDate rs.Fields',TutFee+aid,( 1 txtTution"aid rs.Fields',ExamFeeDate,( 1 txtExamDate rs.Fields',ExamFee+aid,( 1 txtExam"aid rs.Fields',&onFeeDate,( 1 txt&onDate rs.Fields',&onFee+aid,( 1 txt&on"aid rs.Fields',Tr*d,( 1 id rs.4+date rs.&lose 2sgBox ,4+dated, &all clearTxtBox'frmFeeAdd( &all L&5'&om##R o( End #u$ "rivate #u$ &om##R o%&lick'( #et r1 1 con.Execute',select 6 from #tudentRecord w0ere ##R% um$er 1 ), 7 Trim'&om##R o.Text( 7 ,),( txt ame.Text 1 r1.Fields',#% A2E,( txtF ame 1 r1.Fields',F% A2E,( txt&lass o 1 r1.Fields',&LA##,( *mage1."icture 1 Load"icture'r1.Fields',"8!T!,(( SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

r1.&lose End #u$ "rivate #u$ Form%Load'( &all connect &all L&5'&om##R o( txtAnnualDate 1 Format'Date- ,dd-mm-..,( txtTutionDate 1 Format'Date- ,dd-mm-..,( txtExamDate 1 Format'Date- ,dd-mm-..,( txt&onDate 1 Format'Date- ,dd-mm-..,( End #u$ "rivate #u$ L&5'&om$o1 As &om$oBox( &om$o1.&lear #et r1 1 con.Execute',select 6 from #tudentRecord order $. ##R% um$er,( *f r1.E!F 1 True T0en 2sgBox ,#tudent List Em+t. , Exit #u$ End *f r1.2oveFirst /0ile ot r1.E!F &om$o1.Add*tem r1.Fields',##R% um$er,( r1.2ove ext /end r1.&lose End #u$ FrmFeeDelete - 1 Dim r1 As ew AD!DB.Recordset "rivate #u$ cmdAdd%&lick'( Dim rs As ew AD!DB.Recordset con.Execute ',DELETE from Fee+a.mentDetail w0ere Tr*d 1 ), 7 Trim'List1.Text( 7 ,),( 2sgBox ,DELETED, &all clearTxtBox'FrmFeeDelete( &all L&5'&om##R o( List1.&lear End #u$ "rivate #u$ &om##R o%&lick'( #et r1 1 con.Execute',select 6 from #tudentRecord w0ere ##R% um$er 1 ), 7 Trim'&om##R o.Text( 7 ,),( txt ame.Text 1 r1.Fields',#% A2E,( txtF ame 1 r1.Fields',F% A2E,( SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

txt&lass o 1 r1.Fields',&LA##,( *mage1."icture 1 Load"icture'r1.Fields',"8!T!,(( r1.&lose )))))))))))))))))))))))))))))L!AD* < 5AL4E# T! L*#T B!9 )))))))))))))))))))))))))))))) #et r1 1 con.Execute',select Trid from Fee"a.mentDetail w0ere #tud o 1 ), 7 Trim'&om##R o.Text( 7 ,),( List1.&lear *f r1.E!F 1 True T0en 2sgBox , o Transation List Em+t. , Exit #u$ End *f r1.2oveFirst /0ile ot r1.E!F List1.Add*tem r1.Fields',Tr*d,( r1.2ove ext /end r1.&lose End #u$ "rivate #u$ Form%Load'( &all connect &all L&5'&om##R o( End #u$ "rivate #u$ L&5'&om$o1 As &om$oBox( &om$o1.&lear #et r1 1 con.Execute',select 6 from #tudentRecord order $. ##R% um$er,( *f r1.E!F 1 True T0en 2sgBox ,#tudent List Em+t. , Exit #u$ End *f r1.2oveFirst /0ile ot r1.E!F &om$o1.Add*tem r1.Fields',##R% um$er,( r1.2ove ext /end r1.&lose End #u$ "rivate #u$ List1%&lick'( #et r1 1 con.Execute',select 6 from Fee+a.mentDetail w0ere Tr*d 1 ), 7 Trim'List1.Text( 7 ,),( txtAnnualDate 1 r1.Fields',AnnualFeeDate,( SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

txtAnnual"aid 1 r1.Fields',AnnualFee"aid,( txtTutionDate 1 r1.Fields',TutFeeDate,( txtTution"aid 1 r1.Fields',TutFee"aid,( txtExamDate 1 r1.Fields',ExamFeeDate,( txtExam"aid 1 r1.Fields',ExamFee"aid,( txt&onDate 1 r1.Fields',&onFeeDate,( txt&on"aid 1 r1.Fields',&onFee"aid,( r1.&lose End #u$ frmFee4+date - 1 Dim r1 As ew AD!DB.Recordset "rivate #u$ cmdAdd%&lick'( Dim rs As ew AD!DB.Recordset rs.!+en ,select 6 from Fee+a.mentDetail w0ere Tr*d 1 ), 7 Trim'List1.Text( 7 ,),con- ad!+enD.namicadLock!+timistic rs.4+date rs.Fields',AnnualFeeDate,( 1 txtAnnualDate rs.Fields',AnnualFee+aid,( 1 txtAnnual"aid rs.Fields',TutFeeDate,( 1 txtTutionDate rs.Fields',TutFee+aid,( 1 txtTution"aid rs.Fields',ExamFeeDate,( 1 txtExamDate rs.Fields',ExamFee+aid,( 1 txtExam"aid rs.Fields',&onFeeDate,( 1 txt&onDate rs.Fields',&onFee+aid,( 1 txt&on"aid rs.4+date rs.&lose 2sgBox ,4+dated, &all clearTxtBox'frmFee4+date( &all L&5'&om##R o( List1.&lear End #u$ "rivate #u$ &om##R o%&lick'( #et r1 1 con.Execute',select 6 from #tudentRecord w0ere ##R% um$er 1 ), 7 Trim'&om##R o.Text( 7 ,),( txt ame.Text 1 r1.Fields',#% A2E,( txtF ame 1 r1.Fields',F% A2E,( txt&lass o 1 r1.Fields',&LA##,( *mage1."icture 1 Load"icture'r1.Fields',"8!T!,(( r1.&lose SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

)))))))))))))))))))))))))))))L!AD* < 5AL4E# T! L*#T B!9 )))))))))))))))))))))))))))))) #et r1 1 con.Execute',select Trid from Fee"a.mentDetail w0ere #tud o 1 ), 7 Trim'&om##R o.Text( 7 ,),( List1.&lear *f r1.E!F 1 True T0en 2sgBox , o Transation List Em+t. , Exit #u$ End *f r1.2oveFirst /0ile ot r1.E!F List1.Add*tem r1.Fields',Tr*d,( r1.2ove ext /end r1.&lose End #u$ "rivate #u$ Form%Load'( &all connect &all L&5'&om##R o( End #u$ "rivate #u$ L&5'&om$o1 As &om$oBox( &om$o1.&lear #et r1 1 con.Execute',select 6 from #tudentRecord order $. ##R% um$er,( *f r1.E!F 1 True T0en 2sgBox ,#tudent List Em+t. , Exit #u$ End *f r1.2oveFirst /0ile ot r1.E!F &om$o1.Add*tem r1.Fields',##R% um$er,( r1.2ove ext /end r1.&lose End #u$ "rivate #u$ List1%&lick'( #et r1 1 con.Execute',select 6 from Fee+a.mentDetail w0ere Tr*d 1 ), 7 Trim'List1.Text( 7 ,),( txtAnnualDate 1 r1.Fields',AnnualFeeDate,( txtAnnual"aid 1 r1.Fields',AnnualFee"aid,( txtTutionDate 1 r1.Fields',TutFeeDate,( txtTution"aid 1 r1.Fields',TutFee"aid,( SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

txtExamDate 1 r1.Fields',ExamFeeDate,( frmFee4+date - > txtExam"aid 1 r1.Fields',ExamFee"aid,( txt&onDate 1 r1.Fields',&onFeeDate,( txt&on"aid 1 r1.Fields',&onFee"aid,( r1.&lose End #u$ Frmli$rar. - 1 "rivate #u$ &ommand1%&lick'( 2e.8ide !LE1.Do5er$ End #u$ frmsearc0Facult. - 1 "rivate #u$ &om##R o%&lick'( Adodc1.&onnection#tring 1 ,D# 1#msDsn, Adodc1.Record#ource 1 ,#ELE&T 6 from facult.+rofile w0ere id 1 ), 7 Trim'&om##R o.Text( 7 ,), Adodc1.Refres0 Data<rid1.ReBind Data<rid1.Refres0 Data<rid1.5isi$le 1 True End #u$ "rivate #u$ Form%Load'( &all connect &all L&5'&om##R o( End #u$ "rivate #u$ L&5'&om$o1 As &om$oBox( &om$o1.&lear #et r1 1 con.Execute',select 6 from Facult."rofile order $. id,( *f r1.E!F 1 True T0en 2sgBox ,Facult. List Em+t. , Exit #u$ End *f r1.2oveFirst /0ile ot r1.E!F &om$o1.Add*tem r1.Fields',id,( r1.2ove ext /end r1.&lose End #u$ SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

frm#tudentDelete - 1 Dim r1 As ew AD!DB.Recordset "rivate #u$ cmdAdd%&lick'( con.Execute ',delete from #tudentRecord w0ere ##R% um$er 1 ), 7 Trim'&om##R o.Text( 7 ,),( 2sgBox ,Record Deleted, &all clearTxtBox'frm#tudentDelete( &all L&5'&om##R o( End #u$ "rivate #u$ &om##R o%&lick'( #et r1 1 con.Execute',select 6 from #tudentRecord w0ere ##R% um$er 1 ), 7 Trim'&om##R o.Text( 7 ,),( txt ame.Text 1 r1.Fields',#% A2E,( txtF ame 1 r1.Fields',F% A2E,( txt ame 1 r1.Fields',2% A2E,( txtF!ccu+ 1 r1.Fields',F%!&&4"AT*! ,( txt2occu+ 1 r1.Fields',2%!&&4"AT*! ,( txtD!B 1 r1.Fields',#%D!B,( txt<ender 1 r1.Fields',#%<E DER,( txt&lass o 1 r1.Fields',&LA##,( txt&aste 1 r1.Fields',&A#TE,( *mage1."icture 1 Load"icture'r1.Fields',"8!T!,(( )txt"0oto.Text 1 r1.Fields',"8!T!,( txtAddress 1 r1.Fields',ADDRE##,( txt"0one 1 r1.Fields',"8! E,( txtAdmission 1 r1.Fields',DATE!FAD2*#*! ,( txt#tatus 1 r1.Fields',#TAT4#,( r1.&lose End #u$ "rivate #u$ Form%Load'( &all connect &all L&5'&om##R o( End #u$ "rivate #u$ L&5'&om$o1 As &om$oBox( &om$o1.&lear #et r1 1 con.Execute',select 6 from #tudentRecord order $. ##R% um$er,( *f r1.E!F 1 True T0en 2sgBox ,#tudent List Em+t. , Exit #u$ End *f SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

r1.2oveFirst /0ile ot r1.E!F &om$o1.Add*tem r1.Fields',##R% um$er,( r1.2ove ext /end r1.&lose End #u$ frm#tudent#erac0 - 1 "rivate #u$ &om$o1%&lick'( Adodc1.&onnection#tring 1 ,D# 1#msDsn, Adodc1.Record#ource 1 ,select 6 from #tudentRecord w0ere #% ame 1 ), I Trim'&om$o1.Text( I ,), Adodc1.Refres0 Data<rid1.ReBind Data<rid1.Refres0 )Adodc>.&onnection#tring 1 ,D# 1#msDsn, )Adodc>.Record#ource 1 ,select 6 from Fee"a.mentDetail w0ere #tud o 1 ), 7 Trim'&om##R o.Text( 7 ,), )Adodc>.Refres0 )Data<rid>.ReBind )Data<rid>.Refres0 )Adodc?.&onnection#tring 1 ,D# 1#msDsn, )Adodc?.Record#ource 1 ,select 6 from ExamResult w0ere #R ! 1 ), 7 Trim'&om##R o.Text( 7 ,), )Adodc?.Refres0 )Data<rid?.ReBind )Data<rid?.Refres0 Data<rid1.5isi$le 1 True )Data<rid>.5isi$le 1 True )Data<rid?.5isi$le 1 True End #u$ "rivate #u$ &om##R o%&lick'( Adodc1.&onnection#tring 1 ,D# 1#msDsn, Adodc1.Record#ource 1 ,select 6 from #tudentRecord w0ere ##R% um$er 1 ), I Trim'&om##R o.Text( I ,), Adodc1.Refres0 Data<rid1.ReBind Data<rid1.Refres0 Adodc>.&onnection#tring 1 ,D# 1#msDsn,

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

Adodc>.Record#ource 1 ,select 6 from Fee"a.mentDetail w0ere #tud o 1 ), 7 Trim'&om##R o.Text( 7 ,), Adodc>.Refres0 Data<rid>.ReBind Data<rid>.Refres0 Adodc?.&onnection#tring 1 ,D# 1#msDsn, Adodc?.Record#ource 1 ,select 6 from ExamResult w0ere #R ! 1 ), 7 Trim'&om##R o.Text( 7 ,), Adodc?.Refres0 Data<rid?.ReBind Data<rid?.Refres0 Data<rid1.5isi$le 1 True Data<rid>.5isi$le 1 True Data<rid?.5isi$le 1 True End #u$ "rivate #u$ Form%Load'( &all connect &all L&5'&om##R o( &all L&5 ame'&om$o1( End #u$ "rivate #u$ L&5'&om$o1 As &om$oBox( &om$o1.&lear #et r1 1 con.Execute',select 6 from #tudentRecord order $. ##R% um$er,( *f r1.E!F 1 True T0en 2sgBox ,#tudent List Em+t. , Exit #u$ End *f r1.2oveFirst /0ile ot r1.E!F &om$o1.Add*tem r1.Fields',##R% um$er,( r1.2ove ext /end r1.&lose End #u$ "rivate #u$ L&5 ame'&om$o1 As &om$oBox( &om$o1.&lear #et r1 1 con.Execute',select 6 from #tudentRecord order $. #% ame,( *f r1.E!F 1 True T0en 2sgBox ,#tudent List Em+t. , Exit #u$ SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

End *f r1.2oveFirst frm#tudent#erac0 - > /0ile ot r1.E!F &om$o1.Add*tem r1.Fields',#% ame,( r1.2ove ext /end r1.&lose End #u$ frm#tudent4+date - 1 Dim r1 As ew AD!DB.Recordset "rivate #u$ cmdAdd%&lick'( Dim rs As ew AD!DB.Recordset rs.!+en ,#ELE&T 6 FR!2 #tudentRecord w0ere ##R% um$er 1 ), 7 Trim'&om##R o.Text( 7 ,),- con- ad!+enD.n amic- adLock!+timistic /it0 rs .4+date .Fields',#% A2E,( 1 Trim'txt ame.Text( .Fields',F% A2E,( 1 Trim'txtF ame( .Fields',2% A2E,( 1 Trim'txt ame( .Fields',F%!&&4"AT*! ,( 1 Trim'txtF!ccu+( .Fields',2%!&&4"AT*! ,( 1 Trim'txt2occu+( .Fields',#%D!B,( 1 Trim'txtD!B( .Fields',#%<E DER,( 1 Trim'txt<ender( .Fields',&LA##,( 1 Trim'txt&lass o( .Fields',&A#TE,( 1 Trim'txt&aste( .Fields',"8!T!,( 1 Trim'txt"0oto.Text( .Fields',ADDRE##,( 1 Trim'txtAddress( .Fields',"8! E,( 1 Trim'txt"0one( .Fields',DATE!FAD2*#*! ,( 1 Trim'txtAdmission( .Fields',#TAT4#,( 1 Trim'txt#tatus( .4+date .&lose End /it0 2sgBox ,#4&E##F4LL3 4"DATED, ))))))))))))))))))))))))))))))))E D !F &!DE T! * #ERT))))))))))))))))))))))))) &all clearTxtBox'frm#tudent4+date( &all L&5'&om##R o( End #u$ SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

"rivate #u$ &ommand>%&lick'( &ommonDialog1.*nitDir 1 ,cDE+0oto, &ommonDialog1.Filter 1 ,"icture Files'6.=+gF 6.$m+F 6.gifF6.=+eg(G 6.=+gF6.$m+F6.gifF6.=+eg, &ommonDialog1.#0ow!+en txt"0oto.Text 1 &ommonDialog1.File ame *mage1."icture 1 Load"icture'&ommonDialog1.File ame( End #u$ "rivate #u$ &om##R o%&lick'( #et r1 1 con.Execute',select 6 from #tudentRecord w0ere ##R% um$er 1 ), 7 Trim'&om##R o.Text( 7 ,),( txt ame.Text 1 r1.Fields',#% A2E,( txtF ame 1 r1.Fields',F% A2E,( txt ame 1 r1.Fields',2% A2E,( txtF!ccu+ 1 r1.Fields',F%!&&4"AT*! ,( txt2occu+ 1 r1.Fields',2%!&&4"AT*! ,( txtD!B 1 r1.Fields',#%D!B,( txt<ender 1 r1.Fields',#%<E DER,( txt&lass o 1 r1.Fields',&LA##,( txt&aste 1 r1.Fields',&A#TE,( *mage1."icture 1 Load"icture'r1.Fields',"8!T!,(( )txt"0oto.Text 1 r1.Fields',"8!T!,( txtAddress 1 r1.Fields',ADDRE##,( txt"0one 1 r1.Fields',"8! E,( txtAdmission 1 r1.Fields',DATE!FAD2*#*! ,( txt#tatus 1 r1.Fields',#TAT4#,( r1.&lose End #u$ "rivate #u$ Form%Load'( &all connect &all L&5'&om##R o( End #u$ "rivate #u$ L&5'&om$o1 As &om$oBox( &om$o1.&lear #et r1 1 con.Execute',select 6 from #tudentRecord order $. ##R% um$er,( *f r1.E!F 1 True T0en 2sgBox ,#tudent List Em+t. , Exit #u$ End *f r1.2oveFirst SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

/0ile ot r1.E!F frm#tudent4+date - > &om$o1.Add*tem r1.Fields',##R% um$er,( r1.2ove ext /end r1.&lose End #u$ frm#tud*nfo - 1 !+tion Ex+licit Dim +0oto#tr As #tring )))))))))))))))))))))))))))))&!DE T! * #ERT RE&!RD )))))))))))))))))))))))) "rivate #u$ cmdAdd%&lick'( Dim rs As ew AD!DB.Recordset rs.!+en ,#tudentRecord,- con- ad!+enD.namic- adLock!+timistic /it0 rs .Add ew .Fields',##R% um$er,( 1 Trim'txt#r o.Text( .Fields',#% A2E,( 1 Trim'txt ame.Text( .Fields',F% A2E,( 1 Trim'txtF ame( .Fields',2% A2E,( 1 Trim'txt ame( .Fields',F%!&&4"AT*! ,( 1 Trim'txtF!ccu+( .Fields',2%!&&4"AT*! ,( 1 Trim'txt2occu+( .Fields',#%D!B,( 1 Trim'txtD!B( .Fields',#%<E DER,( 1 Trim'txt<ender( .Fields',&LA##,( 1 Trim'txt&lass o( .Fields',&A#TE,( 1 Trim'txt&aste( .Fields',"8!T!,( 1 Trim'txt"0oto.Text( .Fields',ADDRE##,( 1 Trim'txtAddress( .Fields',"8! E,( 1 Trim'txt"0one( .Fields',DATE!FAD2*#*! ,( 1 Trim'txtAdmission( .Fields',#TAT4#,( 1 Trim'txt#tatus( .4+date .&lose End /it0 2sgBox ,#4&E##F4LL3 ADDED, ))))))))))))))))))))))))))))))))E D !F &!DE T! * #ERT))))))))))))))))))))))))) &all clearTxtBox'frm#tud*nfo( End #u$ "rivate #u$ &ommand>%&lick'( &ommonDialog1.*nitDir 1 ,cDE+0oto, SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

&ommonDialog1.Filter 1 ,"icture Files'6.=+gF 6.$m+F 6.gifF6.=+eg(G 6.=+gF6.$m+F6.gifF6.=+eg, &ommonDialog1.#0ow!+en txt"0oto.Text 1 &ommonDialog1.File ame *mage1."icture 1 Load"icture'&ommonDialog1.File ame( End #u$ "rivate #u$ Form%Load'( &all connect txtAdmission.Text 1 Format'Date- ,dd-mm-..,( End #u$ frm/elcome - 1 "rivate #u$ &ommand1%&lick'( 4nload 2e 2D*Form1.#0ow End #u$ "rivate #u$ Timer1%Timer'( La$el?.Left 1 La$el?.Left 7 1JJ *f La$el?.Left K 2e.#cale/idt0 T0en Timer1.Ena$led 1 False Timer>.Ena$led 1 True &all Timer>%Timer End *f End #u$ "rivate #u$ Timer>%Timer'( La$el?.Left 1 J Timer>.Ena$led 1 False Timer1.Ena$led 1 True &all Timer1%Timer End #u$ "rivate #u$ Timer?%Timer'( La$el@.5isi$le 1 False La$elB.5isi$le 1 True End #u$ "rivate #u$ Timer@%Timer'( La$el@.5isi$le 1 True La$elB.5isi$le 1 False End #u$ 2D*Form1 - 1 "rivate #u$ 2enAdd%&lick'( frmFeeAdd.#0ow SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

End #u$ "rivate #u$ 2enDelete%&lick'( FrmFeeDelete.#0ow End #u$ "rivate #u$ 2enExamAdd%&lick'( frmExamResultAdd.#0ow End #u$ "rivate #u$ 2EnExamDel%&lick'( frmExamResultDelete.#0ow End #u$ "rivate #u$ 2enExam4+%&lick'( frmExamResult4+date.#0ow End #u$ "rivate #u$ 2enExit%&lick'( End End #u$ "rivate #u$ 2enFAcAdd%&lick'( frmFac*nfoEntr..#0ow End #u$ "rivate #u$ 2enFacDel%&lick'( frmFacult.Delete.#0ow End #u$ "rivate #u$ 2E FA&*nF!%&lick'( frmsearc0Facult..#0ow End #u$ "rivate #u$ 2enFac4+d%&lick'( frmFac*nfo4+date.#0ow End #u$ "rivate #u$ 2E L!<* %&lick'( FR2L*BRAR3.#0ow End #u$ "rivate #u$ 2en#tudADD%&lick'( frm#tud*nfo.#0ow End #u$ "rivate #u$ 2en#tudDel%&lick'( frm#tudentDelete.#0ow End #u$ "rivate #u$ 2E #T4D* F!#ERA&8%&lick'( frm#tudent#erac0.#0ow End #u$ SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

"rivate #u$ 2en#tud4+date%&lick'( frm#tudent4+date.#0ow End #u$ "rivate #u$ 2E TTADD%&lick'( FrmTimeTa$le.#0ow End #u$ "rivate #u$ 2E TTDELETE%&lick'( FR2T*2ETABLEDELETE.#0ow End #u$ "rivate #u$ 2E TT4"%&lick'( frmTimeta$le4+date.#0ow End #u$ 2D*Form1 - > "rivate #u$ 2en4+date%&lick'( frmFee4+date.#0ow End #u$ 2odule1 - 1 <lo$al con As AD!DB.&onnection <lo$al flag As Boolean "u$lic #u$ main'( frm/elcome.#0ow End #u$ "u$lic #u$ connect'( #et con 1 ew AD!DB.&onnection *f con.#tate 1 J T0en con.!+en ',dsn1smsDsn,( Else End *f End #u$ "u$lic #u$ clearTxtBox'frmvar As Form( Dim &ontrol As &ontrol For Eac0 &ontrol *n frmvar *f T.+e!f &ontrol *s TextBox T0en &ontrol.Text 1 ,, ext &ontrol End #u$

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

COD2NG FO1 L2@1A1Y MOD4LEC


frmA$out - 1 "rivate #u$ cmd!L%&lick'( 4nload 2e End #u$ "rivate #u$ Form%Load'( )#0a+e1.Border&olor 1 v$Black End #u$ "rivate #u$ La$el>%&lick'( End #u$ "rivate #u$ Timer1%Timer'( )*f #0a+e1.Border&olor 1 v$Black T0en )#0a+e1.Border&olor 1 v$Red )Else )#0a+e1.Border&olor 1 v$Black )End *f End #u$ frmBooks - 1 Dim /it0Events ado"rimar.R# As Recordset Dim /it0Events ado+rimar.rs> As Recordset Dim m$&0angedB.&ode As Boolean Dim mvBook2ark As 5ariant Dim m$EditFlag As Boolean Dim m$Add ewFlag As Boolean Dim m$Data&0anged As Boolean "rivate #u$ D&omTitle*d%&0ange'( Dim :unt As *nteger )#et ado"rimar.R#> 1 ew Recordset ado+rimar.rs>.2oveFirst ado+rimar.rs>.Find ',Title*d, I ,1), I D&omTitle*d I ,),( :unt 1 ado+rimar.rs>.Fields'1( &om$o>.&lear For i 1 1 To :unt &om$o>.Add*tem 'D&omTitle*d I ,M, I i( ext i &om$o>.List*ndex 1 J txtFields'1(.Text 1 &om$o>.Text SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

End #u$ "rivate #u$ Form%Load'( Dim d$ As &onnection #et d$ 1 ew &onnection d$.&ursorLocation 1 ad4se&lient d$.!+en ,"R!5*DER12icrosoft.Net.!LEDB.?.A1FData #ource1, I 2.File ame I ,F, #et ado"rimar.R# 1 ew Recordset ado"rimar.R#.!+en ,select Title*d-Book*d-&ondition-*s*n-2em$er*d-ReturnDate-*ssue&ounter-Reserve* d-T.+e*ssue from Books,- d$- ad!+en#tatic- adLock!+timistic #et ado+rimar.rs> 1 ew Recordset ado+rimar.rs>.!+en ,select Title*d-;uantit. from Titles,- d$- ad!+en#taticadLock!+timistic Dim oText As TextBox )Bind t0e text $oxes to t0e data +rovider For Eac0 oText *n 2e.txtFields #et oText.Data#ource 1 ado"rimar.R# ext Dim o&0eck As &0eckBox )Bind t0e c0eck $oxes to t0e data +rovider For Eac0 o&0eck *n 2e.c0kFields #et o&0eck.Data#ource 1 ado"rimar.R# ext m$Data&0anged 1 False )&om$o1.Add*tem ',E9&ELLE T,( &om$o1.Add*tem ',<!!D,( &om$o1.Add*tem ',"!!R,( &om$o1.Add*tem ',/!R#T,( &om$o1.Add*tem ',2*##* <,( &om$o1.List*ndex 1 J com#earc0.Add*tem ',Book*d,( com#earc0.Add*tem ',Title*d,( com#earc0.Add*tem ',2em$er*d,( com#earc0.Add*tem ',Reserve*d,( com#earc0.List*ndex 1 J txtFields'J(.Locked 1 True txtFields'1(.Locked 1 True #et D&omTitle*d.Data#ource 1 ado+rimar.rs> #et D&omTitle*d.Row#ource 1 ado+rimar.rs> SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

D&omTitle*d.ListField 1 ,Title*d, *f 2.Books&allB.Title T0en cmdAdd%&lick End *f End #u$ frmBooks - > "rivate #u$ Form%4nload'&ancel As *nteger( #creen.2ouse"ointer 1 v$Default End #u$ "rivate #u$ ado"rimar.R#%2ove&om+lete'B.5al adReason As AD!DB.EventReasonEnum- B.5al +Error As AD!D B.Error- ad#tatus As AD!DB.Event#tatusEnum- B.5al +Recordset As AD!DB.Recordset( )T0is will dis+la. t0e current record +osition for t0is recordset l$l#tatus.&a+tion 1 ,RecordD , I &#tr'ado"rimar.R#.A$solute"osition( End #u$ "rivate #u$ ado"rimar.R#%/ill&0angeRecord'B.5al adReason As AD!DB.EventReasonEnum- B.5al cRecords A s Long- ad#tatus As AD!DB.Event#tatusEnum- B.5al +Recordset As AD!DB.Recordset( )T0is is w0ere .ou +ut validation code )T0is event gets called w0en t0e following actions occur Dim $&ancel As Boolean #elect &ase adReason &ase adRsnAdd ew &ase adRsn&lose &ase adRsnDelete &ase adRsnFirst&0ange &ase adRsn2ove &ase adRsnRe:uer. &ase adRsnRes.nc0 &ase adRsn4ndoAdd ew &ase adRsn4ndoDelete &ase adRsn4ndo4+date &ase adRsn4+date End #elect *f $&ancel T0en ad#tatus 1 ad#tatus&ancel End #u$ "rivate #u$ cmdAdd%&lick'( !n Error <oTo AddErr SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

D&omTitle*d.Refres0 /it0 ado"rimar.R# *f ot '.B!F And .E!F( T0en mvBook2ark 1 .Bookmark End *f .Add ew l$l#tatus.&a+tion 1 ,Add record, m$Add ewFlag 1 True #etButtons False End /it0 txtFields'B(.Text 1 ,J, txtFields'@( 1 ,J, txtFields'C( 1 ,J, Exit #u$ AddErrD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmdDelete%&lick'( Dim : As *nteger !n Error <oTo DeleteErr /it0 ado"rimar.R# .Delete .2ove ext *f .E!F T0en .2oveLast End /it0 )u+date t0e title ta$le ado+rimar.rs>.2oveFirst ado+rimar.rs>.Find ',Title*d, I ,1), I txtFields'J(.Text I ,),( : 1 ado+rimar.rs>.Fields'1( :1:-1 ado+rimar.rs>.Fields'1( 1 : ado+rimar.rs>.4+date Exit #u$ DeleteErrD 2sgBox Err.Descri+tion End #u$ frmBooks - ? "rivate #u$ cmdRefres0%&lick'( )T0is is onl. needed for multi user a++s !n Error <oTo Refres0Err SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

ado"rimar.R#.Re:uer. Exit #u$ Refres0ErrD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmdEdit%&lick'( !n Error <oTo EditErr l$l#tatus.&a+tion 1 ,Edit record, m$EditFlag 1 True #etButtons False )0ide t0e com$os cause no edit allowed to title id and $ookid &om$o>.5isi$le 1 False D&omTitle*d.5isi$le 1 False Exit #u$ EditErrD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmd&ancel%&lick'( !n Error Resume ext #etButtons True m$EditFlag 1 False m$Add ewFlag 1 False ado"rimar.R#.&ancel4+date *f mvBook2ark K J T0en ado"rimar.R#.Bookmark 1 mvBook2ark Else ado"rimar.R#.2oveFirst End *f m$Data&0anged 1 False End #u$ "rivate #u$ cmd4+date%&lick'( !n Error <oTo 4+dateErr txtFields'>(.Text 1 &om$o1.Text txtFields'J(.Text 1 D&omTitle*d.Text txtFields'1(.Text 1 &om$o>.Text ado"rimar.R#.4+dateBatc0 adAffectAll *f m$Add ewFlag T0en ado"rimar.R#.2oveLast )move to t0e new record End *f m$EditFlag 1 False SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

m$Add ewFlag 1 False #etButtons True m$Data&0anged 1 False Exit #u$ 4+dateErrD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmd&lose%&lick'( 4nload 2e End #u$ "rivate #u$ cmdFirst%&lick'( !n Error <oTo <oFirstError )i dont want to make canges w0ile moving HH or KK )=ust use t0e add u+date $uttons ado"rimar.R#.&ancel4+date ado"rimar.R#.2oveFirst frmBooks - @ m$Data&0anged 1 False Exit #u$ <oFirstErrorD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmdLast%&lick'( !n Error <oTo <oLastError )i dont want to make canges w0ile moving HH or KK )=ust use t0e add u+date $uttons ado"rimar.R#.&ancel4+date ado"rimar.R#.2oveLast m$Data&0anged 1 False Exit #u$ <oLastErrorD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmd ext%&lick'( !n Error <oTo <o extError )i dont want to make canges w0ile moving HH or KK )=ust use t0e add u+date $uttons ado"rimar.R#.&ancel4+date *f ot ado"rimar.R#.E!F T0en ado"rimar.R#.2ove ext *f ado"rimar.R#.E!F And ado"rimar.R#.Record&ount K J T0en SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

Bee+ )moved off t0e end so go $ack ado"rimar.R#.2oveLast End *f )s0ow t0e current record m$Data&0anged 1 False Exit #u$ <o extErrorD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmd"revious%&lick'( !n Error <oTo <o"revError )i dont want to make canges w0ile moving HH or KK )=ust use t0e add u+date $uttons ado"rimar.R#.&ancel4+date *f ot ado"rimar.R#.B!F T0en ado"rimar.R#.2ove"revious *f ado"rimar.R#.B!F And ado"rimar.R#.Record&ount K J T0en Bee+ )moved off t0e end so go $ack ado"rimar.R#.2oveFirst End *f )s0ow t0e current record m$Data&0anged 1 False Exit #u$ <o"revErrorD 2sgBox Err.Descri+tion End #u$ "rivate #u$ #etButtons'$5al As Boolean( cmdAdd.5isi$le 1 $5al cmdEdit.5isi$le 1 $5al cmd4+date.5isi$le 1 ot $5al cmd&ancel.5isi$le 1 ot $5al cmdDelete.5isi$le 1 $5al cmd&lose.5isi$le 1 $5al cmdRefres0.5isi$le 1 $5al cmd ext.Ena$led 1 $5al cmdFirst.Ena$led 1 $5al cmdLast.Ena$led 1 $5al cmd"revious.Ena$led 1 $5al frmBooks - A SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

))extra code for our frame Frame1.Ena$led 1 $5al &om$o1.5isi$le 1 ot $5al D&omTitle*d.5isi$le 1 ot $5al &om$o>.5isi$le 1 ot $5al End #u$ "rivate #u$ txtFields%&0ange'*ndex As *nteger( txtFields'*ndex(.Text 1 4&ase'Trim'txtFields'*ndex(.Text(( End #u$ frmEm+lo.ees - 1 Dim /it0Events ado"rimar.R# As Recordset Dim m$&0angedB.&ode As Boolean Dim mvBook2ark As 5ariant Dim m$EditFlag As Boolean Dim m$Add ewFlag As Boolean Dim m$Data&0anged As Boolean "rivate #u$ cmd#earc0%&lick'( txt#earc0 1 Trim'txt#earc0( ado"rimar.R#.2oveFirst ado"rimar.R#.Find 'com#earc0.Text I ,1), I txt#earc0 I ,),( *f ado"rimar.R#.A$solute"osition H J T0en 2sgBox com#earc0 I , ot FoundOOO, ado"rimar.R#.2oveFirst End *f End #u$ "rivate #u$ Form%Load'( Dim d$ As &onnection #et d$ 1 ew &onnection d$.&ursorLocation 1 ad4se&lient d$.!+en ,"R!5*DER12icrosoft.Net.!LEDB.?.A1FData #ource1, I 2.File ame I ,F, #et ado"rimar.R# 1 ew Recordset ado"rimar.R#.!+en ,select Em+lo.ee*d-First ame-Last ame-Address-Email-Tel-"assword from Em+lo.ees ,- d$- ad!+en#tatic- adLock!+timistic Dim oText As TextBox )Bind t0e text $oxes to t0e data +rovider For Eac0 oText *n 2e.txtFields #et oText.Data#ource 1 ado"rimar.R# SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

ext m$Data&0anged 1 False com#earc0.Add*tem ',Em+lo.ee*d,( com#earc0.Add*tem ',First ame,( com#earc0.Add*tem ',Last ame,( com#earc0.Add*tem ',Tel,( com#earc0.List*ndex 1 J End #u$ "rivate #u$ Form%4nload'&ancel As *nteger( #creen.2ouse"ointer 1 v$Default End #u$ "rivate #u$ ado"rimar.R#%2ove&om+lete'B.5al adReason As AD!DB.EventReasonEnum- B.5al +Error As AD!D B.Error- ad#tatus As AD!DB.Event#tatusEnum- B.5al +Recordset As AD!DB.Recordset( )T0is will dis+la. t0e current record +osition for t0is recordset l$l#tatus.&a+tion 1 ,RecordD , I &#tr'ado"rimar.R#.A$solute"osition( End #u$ "rivate #u$ ado"rimar.R#%/ill&0angeRecord'B.5al adReason As AD!DB.EventReasonEnum- B.5al cRecords A s Long- ad#tatus As AD!DB.Event#tatusEnum- B.5al +Recordset As AD!DB.Recordset( )T0is is w0ere .ou +ut validation code )T0is event gets called w0en t0e following actions occur Dim $&ancel As Boolean #elect &ase adReason &ase adRsnAdd ew &ase adRsn&lose &ase adRsnDelete &ase adRsnFirst&0ange &ase adRsn2ove &ase adRsnRe:uer. &ase adRsnRes.nc0 &ase adRsn4ndoAdd ew &ase adRsn4ndoDelete &ase adRsn4ndo4+date &ase adRsn4+date answer 1 2sgBox',Are .ou sure of t0e c0anges madeOO,- v$3es o( *f answer 1 v$ o T0en frmEm+lo.ees - > SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

ado"rimar.R#.&ancel4+date End *f End #elect *f $&ancel T0en ad#tatus 1 ad#tatus&ancel End #u$ "rivate #u$ cmdAdd%&lick'( !n Error <oTo AddErr /it0 ado"rimar.R# *f ot '.B!F And .E!F( T0en mvBook2ark 1 .Bookmark End *f .Add ew l$l#tatus.&a+tion 1 ,Add record, m$Add ewFlag 1 True #etButtons False End /it0 Exit #u$ AddErrD 2sgBox Err.Descri+tion I ,PcmdAdd%&lickQ, End #u$ "rivate #u$ cmdDelete%&lick'( !n Error <oTo DeleteErr /it0 ado"rimar.R# .Delete .2ove ext *f .E!F T0en .2oveLast End /it0 Exit #u$ DeleteErrD 2sgBox Err.Descri+tion I ,PcmdDelete%&lickQ, End #u$ "rivate #u$ cmdRefres0%&lick'( )T0is is onl. needed for multi user a++s !n Error <oTo Refres0Err ado"rimar.R#.Re:uer. Exit #u$ Refres0ErrD 2sgBox Err.Descri+tion I ,PcmdRefres0%&lickQ, End #u$ "rivate #u$ cmdEdit%&lick'( SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

!n Error <oTo EditErr l$l#tatus.&a+tion 1 ,Edit record, m$EditFlag 1 True #etButtons False Exit #u$ EditErrD 2sgBox Err.Descri+tion I ,PcmdEdit%&lickQ, End #u$ "rivate #u$ cmd&ancel%&lick'( !n Error Resume ext #etButtons True m$EditFlag 1 False m$Add ewFlag 1 False ado"rimar.R#.&ancel4+date *f mvBook2ark K J T0en ado"rimar.R#.Bookmark 1 mvBook2ark Else ado"rimar.R#.2oveFirst End *f m$Data&0anged 1 False End #u$ "rivate #u$ cmd4+date%&lick'( !n Error <oTo 4+dateErr frmEm+lo.ees - ? ado"rimar.R#.4+dateBatc0 adAffectAll *f m$Add ewFlag T0en ado"rimar.R#.2oveLast )move to t0e new record End *f m$EditFlag 1 False m$Add ewFlag 1 False #etButtons True m$Data&0anged 1 False Exit #u$ 4+dateErrD 2sgBox Err.Descri+tion I ,Pcmd4+date%&lickQ, End #u$ "rivate #u$ cmd&lose%&lick'( 4nload 2e End #u$ "rivate #u$ cmdFirst%&lick'( SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

!n Error <oTo <oFirstError )i dont want to make canges w0ile moving HH or KK )=ust use t0e add u+date $uttons ado"rimar.R#.&ancel4+date ado"rimar.R#.2oveFirst m$Data&0anged 1 False Exit #u$ <oFirstErrorD 2sgBox Err.Descri+tion I ,PcmdFirst%&lickQ, End #u$ "rivate #u$ cmdLast%&lick'( !n Error <oTo <oLastError )i dont want to make canges w0ile moving HH or KK )=ust use t0e add u+date $uttons ado"rimar.R#.&ancel4+date ado"rimar.R#.2oveLast m$Data&0anged 1 False Exit #u$ <oLastErrorD 2sgBox Err.Descri+tion I ,PcmdLast%&lickQ, End #u$ "rivate #u$ cmd ext%&lick'( !n Error <oTo <o extError )i dont want to make canges w0ile moving HH or KK )=ust use t0e add u+date $uttons ado"rimar.R#.&ancel4+date *f ot ado"rimar.R#.E!F T0en ado"rimar.R#.2ove ext *f ado"rimar.R#.E!F And ado"rimar.R#.Record&ount K J T0en Bee+ )moved off t0e end so go $ack ado"rimar.R#.2oveLast End *f )s0ow t0e current record m$Data&0anged 1 False Exit #u$ <o extErrorD 2sgBox Err.Descri+tion I ,Pcmd ext%&lickQ, End #u$ "rivate #u$ cmd"revious%&lick'( !n Error <oTo <o"revError SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

frmEm+lo.ees - @ )i dont want to make canges w0ile moving HH or KK )=ust use t0e add u+date $uttons ado"rimar.R#.&ancel4+date *f ot ado"rimar.R#.B!F T0en ado"rimar.R#.2ove"revious *f ado"rimar.R#.B!F And ado"rimar.R#.Record&ount K J T0en Bee+ )moved off t0e end so go $ack ado"rimar.R#.2oveFirst End *f )s0ow t0e current record m$Data&0anged 1 False Exit #u$ <o"revErrorD 2sgBox Err.Descri+tion I ,Pcmd"revious%&lickQ, End #u$ "rivate #u$ #etButtons'$5al As Boolean( cmdAdd.5isi$le 1 $5al cmdEdit.5isi$le 1 $5al cmd4+date.5isi$le 1 ot $5al cmd&ancel.5isi$le 1 ot $5al cmdDelete.5isi$le 1 $5al cmd&lose.5isi$le 1 $5al cmdRefres0.5isi$le 1 $5al cmd ext.Ena$led 1 $5al cmdFirst.Ena$led 1 $5al cmdLast.Ena$led 1 $5al cmd"revious.Ena$led 1 $5al ))extra code for our frame Frame1.Ena$led 1 $5al End #u$ "rivate #u$ txtFields%LostFocus'*ndex As *nteger( )remove t0e extra s+aces txtFields'*ndex(.Text 1 Trim'txtFields'*ndex(.Text( )2sgBox *ndex )c0eck for tel num$er *f *ndex 1 A T0en *f ot *s umeric'txtFields'*ndex(.Text( T0en 2sgBox ,Enter a Tele+0one num$erOOO, txtFields'*ndex(.Text 1 ,, SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

txtFields'*ndex(.#etFocus End *f End *f End #u$ frm*ssue - 1 Dim d$ As &onnection "rivate #u$ cmdc0arge%&lick'( *f Trim'txt2em*d( 1 ,, !r Trim'txtBook*d( 1 ,, T0en 2sgBox ,"lease enter t0e fields.., Else !n Error <oTo aderr Dim ado+rimar.rsJ As Recordset #et ado+rimar.rsJ 1 ew Recordset ado+rimar.rsJ.!+en ,select +rice-titleid from Titles w0ere title*d 1 ), I l$ltitle.&a+tion I ,),- d $- ad!+en#tatic- adLock!+timistic &0arge 1 ado+rimar.rsJ.Fields'J( !n Error <oTo aderr Dim ado+rimar.rs1J As Recordset #et ado+rimar.rs1J 1 ew Recordset ado+rimar.rs1J.!+en ,select mem$erid-fine$al from mem$ers w0ere mem$er*d 1 ), I Trim'txt2em*d.Text( I ,),- d$- ad!+en#tatic- adLock!+timistic &0arge 1 &0arge 7 ado+rimar.rs1J.Fields'1( ado+rimar.rs1J.Fields'1( 1 &0arge ado+rimar.rs1J.4+date Txtmemid%LostFocus Exit #u$ aderrD 2sgBox Err.Descri+tion End *f End #u$ "rivate #u$ cmd*ssue%&lick'( *f Trim'txt2em*d( 1 ,, !r Trim'txtBook*d( 1 ,, T0en 2sgBox ,"lease enter t0e fields.., Else )make a module varia$le of max fine allowed to c0eck 0ere *f 5al'l$lfine$al.&a+tion( K 2.2axFineBal T0en 2sgBox ,2em$er s0ould clear t0e Fines $efore issue, txtBook*d.Text 1 ,, SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

txt2em*d.#etFocus Exit #u$ End *f )make a module varia$le of max $ooks allowed to c0eck 0ere *f 5al'l$l$ooks.&a+tion( K1 2.Total*ssueBook T0en 2sgBox , 2eme$er alread. 0as t0e maximum num$er of $ooks, txtBook*d.Text 1 ,, txt2em*d.#etFocus Exit #u$ End *f *f 4&ase'l$lisin.&a+tion( 1 ,FAL#E, T0en 2sgBox ,Book is not in t0e li$rar., txtBook*d.Text 1 ,, txt2em*d.#etFocus Exit #u$ End *f *f 4&ase'l$lcondt.&a+tion( 1 ,2*##* <, T0en 2sgBox ,Book is 2issing, txtBook*d.Text 1 ,, txt2em*d.#etFocus Exit #u$ End *f *f ot l$lres.&a+tion 1 ,J, And Trim'l$lres.&a+tion( HK Trim'txt2em*d.Text( T0en 2sgBox ,T0is $ooks is reserved $. , I l$lres.&a+tion txtBook*d.Text 1 ,, txt2em*d.#etFocus Exit #u$ End *f Dim ado+rimar.rs1 As Recordset #et ado+rimar.rs1 1 ew Recordset ado+rimar.rs1.!+en ,select #u$=ect from Titles w0ere titleid 1), I l$ltitle.&a+tion I ,),- d$- ad!+en#tatic- adLock!+timistic su$= 1 ado+rimar.rs1.Fields'J( Dim ado+rimar.rs> As Recordset frm*ssue - > #et ado+rimar.rs> 1 ew Recordset ado+rimar.rs>.!+en ,select *ssueDa.s- oof$ooks-Fine&0arge-Reserve&0arge-*ssueda.s from #u$=ects w0ere #u$=ect1), I su$= I ,),- d$- ad!+en#tatic- adLock!+timistic SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

noofda.sx 1 ado+rimar.rs>.Fields'@( )2sgBox ado+rimar.rs>.Fields'J( I ado+rimar.rs>.Fields'1( I ado+rimar.rs>.Fields'>( I ado+rimar.rs>.Fields'?( Dim ado+rimar.rs? As Recordset #et ado+rimar.rs? 1 ew Recordset ado+rimar.rs?.!+en ,select titleid from $ooks w0ere mem$erid1), I Trim'txt2em*d.Text( I ,),- d$- ad !+en#tatic- adLock!+timistic Dim ado+rimar.rs@ As Recordset #et ado+rimar.rs@ 1 ew Recordset /0ile ot ado+rimar.rs?.E!F ado+rimar.rs@.!+en ,select #u$=ect from Titles w0ere titleid 1), I ado+rimar.rs?.Fields'J( I ,),- d$- ad!+en#tatic- adLock!+timistic )2sgBox ado+rimar.rs?.Fields'J( I ado+rimar.rs@.Fields'J( *f su$= 1 ado+rimar.rs@.Fields'J( T0en &ounter 1 &ounter 7 1 End *f ado+rimar.rs?.2ove ext ado+rimar.rs@.&lose /end *f &ounter K1 ado+rimar.rs>.Fields'1( T0en 2sgBox ,2em$er 0as taken maximum num$er of $ooks in t0e #u$=ectD , I su$= txtBook*d.Text 1 ,, txt2em*d.#etFocus Exit #u$ End *f Dim ado+rimar.rsA As Recordset #et ado+rimar.rsA 1 ew Recordset ado+rimar.rsA.!+en ,select mem$erid-B!!L*D-*#* -returndate from $ooks ,d$- ad!+en#tatic- adLock!+timistic ado+rimar.rsA.Find ',Book*d1), I txtBook*d.Text I ,),( ado+rimar.rsA.Fields'J( 1 Trim'txt2em*d( ado+rimar.rsA.Fields'>( 1 False ado+rimar.rsA.Fields'?( 1 DateAdd',d,- noofda.sx- Date( ado+rimar.rsA.4+date l$lreturn.&a+tion 1 DateAdd',d,- noofda.sx- Date( Dim ado+rimar.rsB As Recordset #et ado+rimar.rsB 1 ew Recordset

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

ado+rimar.rsB.!+en ,select 2em$er*d-Books*n8and-FineBal from mem$ers w0ere mem$erid1 ), I Trim'txt2em*d.Text( I ,),- d$- ad!+en#taticadLock!+timistic )s+ecal code for c0eck ing t0e reserve c0arge ))) *f l$lres.&a+tion 1 Trim'txt2em*d.Text( T0en ado+rimar.rsB.Fields'>( 1 ado+rimar.rsB.Fields'1( 7 ado+rimar.rs>.Fields'@( End *f ado+rimar.rsB.Fields'1( 1 ado+rimar.rsB.Fields'1( 7 1 ado+rimar.rsB.4+date txtBook*d%LostFocus Txtmemid%LostFocus txt2em*d.#etFocus End *f "rivate #u$ cmdrenewal%&lick'( Dim ado+rimar.rs1 As Recordset #et ado+rimar.rs1 1 ew Recordset ado+rimar.rs1.!+en ,select mem$erid-B!!L*D-*#* -returndate-issuecounter from $ooks w0ere mem$erid1) , I Trim'txt2em*d.Text( I ,) and $ookid1), I Trim'txtBook*d.Text( I ,),- d$ad!+en#tatic- adLock!+timistic *f ado+rimar.rs1.Record&ount 1 J T0en 2sgBox ,2em$erD, I txt2em*d I , Doesn)t 0ave t0e BookD, I txtBook*d Exit #u$ End *f returndate 1 ado+rimar.rs1.Fields'?( *f returndate H Date T0en 2sgBox ,3ou can)t renewal t0is BookD, I txtBook*d 7 v$&rLf 7 v$&rLf 7 ,"lease Return t0e Book and + a. t0e Fine, frm*ssue - ? Exit #u$ End *f )))c0ange t0e num$er to glo$al issue counter varia$le))))))))))) *ssue&ounter 1 ado+rimar.rs1.Fields'@( *f *ssue&ounter K 2.Renewal&ounter T0en 2sgBox ,3ou can)t renewal t0is BookD, 7 txtBook*d 7 v$&rLf 7 , 2em$erD, I txt2em*d I , 0ave crossed t0e Renewal Limit, Exit #u$ End *f SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

Dim ado+rimar.rs11 As Recordset #et ado+rimar.rs11 1 ew Recordset ado+rimar.rs11.!+en ,select #u$=ect from Titles w0ere titleid 1), I l$ltitle.&a+tion I ,),- d$- ad! +en#tatic- adLock!+timistic su$= 1 ado+rimar.rs11.Fields'J( )2sgBox su$= Dim ado+rimar.rs1> As Recordset #et ado+rimar.rs1> 1 ew Recordset ado+rimar.rs1>.!+en ,select issueda.s-su$=ect from #u$=ects w0ere #u$=ect1), I su$= I ,),- d$- ad!+en#tatic- adLock!+timistic #u$=ectReturnDate 1 ado+rimar.rs1>.Fields'J( ado+rimar.rs1.Fields'?( 1 DateAdd',d,- #u$=ectReturnDate- returndate( ado+rimar.rs1.Fields'@( 1 ado+rimar.rs1.Fields'@( 7 1 )2sgBox #u$=ectReturnDate ado+rimar.rs1.4+date l$lreturn.&a+tion 1 ado+rimar.rs1'?( End #u$ "rivate #u$ cmdReserve%&lick'( *f 4&ase'l$lisin.&a+tion( 1 ,TR4E, T0en 2sgBox ,Book is in t0e li$rar., txtBook*d.Text 1 ,, txt2em*d.#etFocus Exit #u$ End *f *f ot l$lres.&a+tion 1 ,J, And Trim'l$lres.&a+tion( HK Trim'txt2em*d.Text( T0en 2sgBox ,T0is $ooks is reserved $. , I l$lres.&a+tion txtBook*d.Text 1 ,, txt2em*d.#etFocus Exit #u$ End *f Dim ado"rimar.R# As Recordset #et ado"rimar.R# 1 ew Recordset ado"rimar.R#.!+en ,select mem$erid-reserveid-$ookid from $ooks ,- d$ad!+en#tatic- adLock!+timistic ado"rimar.R#.Find ',Book*d1), I txtBook*d.Text I ,),( ado"rimar.R#.Fields'1( 1 Trim'txt2em*d( ado"rimar.R#.4+date Txtmemid%LostFocus SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

txtBook*d%LostFocus End #u$ "rivate #u$ cmdreturn%&lick'( Dim ado+rimar.rs1 As Recordset #et ado+rimar.rs1 1 ew Recordset ado+rimar.rs1.!+en ,select 2em$er*d-Book*d-*s*n-ReturnDate-*ssue&ounter from Books w0ere 2em$er*d1) , I Trim'txt2em*d.Text( I ,) and $ookid1), I Trim'txtBook*d.Text( I ,),- d$ad!+en#tatic- adLock!+timistic *f ado+rimar.rs1.Record&ount 1 J T0en 2sgBox ,2em$erD, I txt2em*d I , Doesn)t 0ave t0e BookD, I txtBook*d Exit #u$ End *f *f ado+rimar.rs1.Fields'>( 1 True T0en 2sgBox ,T0e $ookD, I txtBook*d I , is alread. in t0e Li$rar., Exit #u$ End *f returndate 1 ado+rimar.rs1.Fields'?( *f returndate H Date T0en frm*ssue - @ FineDa.s 1 DateDiff',d,- returndate- Date( Dim ado+rimar.rs11 As Recordset #et ado+rimar.rs11 1 ew Recordset ado+rimar.rs11.!+en ,select #u$=ect from Titles w0ere titleid 1), I l$ltitle.&a+tion I ,),- d$ad!+en#tatic- adLock!+timistic su$= 1 ado+rimar.rs11.Fields'J( Dim ado+rimar.rs1> As Recordset #et ado+rimar.rs1> 1 ew Recordset ado+rimar.rs1>.!+en ,select issueda.s-su$=ect-finec0arge from #u$=ects w0ere #u$=ect1), I su$= I ,),- d$- ad!+en#tatic- adLock!+timistic Fine&0arge 1 ado+rimar.rs1>.Fields'>( 2sgBox ,T0e 2em$er 0as Le+t t0e BookD, I txtBook*d I , For , I FineDa.s I , da.s extra-, I , and 2u st +a. Rs., I FineDa.s 6 Fine&0arge I ,M-,- v$*nformation- ,Fine &0arged.., Dim ado+rimar.rs1? As Recordset #et ado+rimar.rs1? 1 ew Recordset

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

ado+rimar.rs1?.!+en ,select 2em$er*D-Books*n8and-FineBal from 2em$ers w0ere 2em$er*d 1 ), I Trim'txt2em*d( I ,),- d$- ad!+en#taticadLock!+timistic ado+rimar.rs1?.Fields'1( 1 ado+rimar.rs1?.Fields'1( - 1 ado+rimar.rs1?.Fields'>( 1 ado+rimar.rs1?.Fields'>( 7 'FineDa.s 6 Fine&0arge( ado+rimar.rs1.Fields'>( 1 ,True, ado+rimar.rs1.Fields'J( 1 ,J, ado+rimar.rs1?.4+date ado+rimar.rs1.4+date End *f End #u$ "rivate #u$ cmd2iss%&lick'( Dim ado+rimar.rs1 As Recordset #et ado+rimar.rs1 1 ew Recordset ado+rimar.rs1.!+en ,select 2em$er*d-B!!L*D-*#* -returndate-issuecounter-condition from $ooks w0ere mem$erid1), I Trim'txt2em*d.Text( I ,) and $ookid1), I Trim'txtBook*d.Text( I ,),- d$- ad!+en#tatic- adLock!+timistic *f ado+rimar.rs1.Record&ount 1 J T0en 2sgBox ,2em$erD, I txt2em*d I , Doesn)t 0ave t0e BookD, I txtBook*d Exit #u$ Else Dim ado+rimar.rs> As Recordset #et ado+rimar.rs> 1 ew Recordset ado+rimar.rs>.!+en ,select +rice from titles-$ooks w0ere titles.titleid 1 $ooks.titleid and $ooks.$ ookid1), I Trim'txtBook*d.Text( I ,),- d$- ad!+en#tatic- adLock!+timistic )2sgBox ado+rimar.rs>.Fields'J( Dim ado+rimar.rs? As Recordset #et ado+rimar.rs? 1 ew Recordset ado+rimar.rs?.!+en ,select FineBal-mem$erid from 2em$ers w0ere 2em$er*d 1 ), I Trim'txt2em*d( I ,), - d$- ad!+en#tatic- adLock!+timistic ado+rimar.rs?.Fields'J( 1 ado+rimar.rs?.Fields'J( 7 ado+rimar.rs>.Fields'J( ado+rimar.rs1.Fields'A( 1 ,2*##* <, ado+rimar.rs1.4+date ado+rimar.rs?.4+date 2sgBox ,T0is is now marked as 2*##* < and its cost is added to 2em$ers Fine Balance, SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

End *f End #u$ "rivate #u$ Form%Load'( #et d$ 1 ew &onnection d$.&ursorLocation 1 ad4se&lient d$.!+en ,"R!5*DER12icrosoft.Net.!LEDB.?.A1FData #ource1, I 2.File ame I ,F, End #u$ "rivate #u$ Form%4nload'&ancel As *nteger( 2D*main.mun*ssue.Ena$led 1 True 2D*main.munRenewal.Ena$led 1 True 2D*main.munReturn.Ena$led 1 True End #u$ "rivate #u$ txtBook*d%LostFocus'( Dim ado"rimar.R# As Recordset *f Trim'txtBook*d( 1 ,, T0en 2sgBox ,"lease Enter t0e Book *D, Else txtBook*d.Text 1 4&ase'txtBook*d( #et ado"rimar.R# 1 ew Recordset frm*ssue - A ado"rimar.R#.!+en ,select titleid-reserveid-condition-isin from Books w0ere Book*d 1 ), I Trim'tx tBook*d( I ,),- d$- ad!+en#tatic- adLock!+timistic !n Error <oTo oerr1D l$ltitle.&a+tion 1 ado"rimar.R#.Fields'J( l$lres.&a+tion 1 ado"rimar.R#.Fields'1( l$lcondt.&a+tion 1 ado"rimar.R#.Fields'>( l$lisin.&a+tion 1 ado"rimar.R#.Fields'?( End *f Exit #u$ oerr1D 2sgBox ,Book *D ot found ..Tr. again,- v$*nformation 7 v$!L!nl.- , o 2em$er *D, txtBook*d.Text 1 ,, txtBook*d.#etFocus End #u$ "rivate #u$ Txtmemid%LostFocus'( Dim ado"rimar.R# As Recordset *f Trim'txt2em*d( 1 ,, T0en SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

2sgBox ,"lease Enter t0e mem$er *D, Else txt2em*d.Text 1 4&ase'txt2em*d( #et ado"rimar.R# 1 ew Recordset ado"rimar.R#.!+en ,select First ame-Last ame-Books*n8and-FineBal from 2em$ers w0ere 2em$er*d 1 ), I Trim'txt2em*d( I ,),- d$- ad!+en#tatic- adLock!+timistic !n Error <oTo oerr l$lmemname.&a+tion 1 ado"rimar.R#.Fields'J( I , , I ado"rimar.R#.Fields'1( l$lfine$al.&a+tion 1 ado"rimar.R#.Fields'?( l$l$ooks.&a+tion 1 ado"rimar.R#.Fields'>( End *f Exit #u$ oerrD 2sgBox ,2em$er *D ot found ..Tr. again,- v$*nformation 7 v$!L!nl.- , o 2em$er *D, txt2em*d.Text 1 ,, txt2em*d.#etFocus End #u$ frm2em$ers - 1 Dim /it0Events ado"rimar.R# As Recordset Dim m$&0angedB.&ode As Boolean Dim mvBook2ark As 5ariant Dim m$EditFlag As Boolean Dim m$Add ewFlag As Boolean Dim m$Data&0anged As Boolean "rivate #u$ cmd#earc0%&lick'( txt#earc0 1 Trim'txt#earc0( ado"rimar.R#.2oveFirst ado"rimar.R#.Find 'com#earc0.Text I ,1), I txt#earc0 I ,),( *f ado"rimar.R#.A$solute"osition H J T0en 2sgBox com#earc0 I , ot FoundOOO, ado"rimar.R#.2oveFirst End *f End #u$ "rivate #u$ Form%Load'( Dim d$ As &onnection #et d$ 1 ew &onnection d$.&ursorLocation 1 ad4se&lient

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

d$.!+en ,"R!5*DER12icrosoft.Net.!LEDB.?.A1FData #ource1, I 2.File ame I ,F, #et ado"rimar.R# 1 ew Recordset ado"rimar.R#.!+en ,select 2em$er*d-First ame-Last ame-Date!fNoining-Date!fEx+ire-Books*n8and-Fin e Bal-Address-Tel-Email from 2em$ers,- d$- ad!+en#tatic- adLock!+timistic Dim oText As TextBox )Bind t0e text $oxes to t0e data +rovider For Eac0 oText *n 2e.txtFields #et oText.Data#ource 1 ado"rimar.R# ext m$Data&0anged 1 False com#earc0.Add*tem ',2em$er*d,( com#earc0.Add*tem ',First ame,( com#earc0.Add*tem ',Last ame,( com#earc0.List*ndex 1 J End #u$ "rivate #u$ Form%ResiRe'( !n Error Resume ext l$l#tatus./idt0 1 2e./idt0 - 1AJJ cmd ext.Left 1 l$l#tatus./idt0 7 CJJ cmdLast.Left 1 cmd ext.Left 7 ?@J End #u$ "rivate #u$ Form%4nload'&ancel As *nteger( #creen.2ouse"ointer 1 v$Default End #u$ "rivate #u$ ado"rimar.R#%2ove&om+lete'B.5al adReason As AD!DB.EventReasonEnum- B.5al +Error As AD!D B.Error- ad#tatus As AD!DB.Event#tatusEnum- B.5al +Recordset As AD!DB.Recordset( )T0is will dis+la. t0e current record +osition for t0is recordset l$l#tatus.&a+tion 1 ,RecordD , I &#tr'ado"rimar.R#.A$solute"osition( End #u$ "rivate #u$ ado"rimar.R#%/ill&0angeRecord'B.5al adReason As AD!DB.EventReasonEnum- B.5al cRecords A s Long- ad#tatus As AD!DB.Event#tatusEnum- B.5al +Recordset As AD!DB.Recordset( )T0is is w0ere .ou +ut validation code )T0is event gets called w0en t0e following actions occur SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

Dim $&ancel As Boolean #elect &ase adReason &ase adRsnAdd ew &ase adRsn&lose &ase adRsnDelete &ase adRsnFirst&0ange &ase adRsn2ove &ase adRsnRe:uer. &ase adRsnRes.nc0 &ase adRsn4ndoAdd ew frm2em$ers - > &ase adRsn4ndoDelete &ase adRsn4ndo4+date &ase adRsn4+date End #elect *f $&ancel T0en ad#tatus 1 ad#tatus&ancel End #u$ "rivate #u$ cmdAdd%&lick'( !n Error <oTo AddErr /it0 ado"rimar.R# *f ot '.B!F And .E!F( T0en mvBook2ark 1 .Bookmark End *f .Add ew l$l#tatus.&a+tion 1 ,Add record, m$Add ewFlag 1 True #etButtons False End /it0 txtFields'?(.Text 1 Date txtFields'@(.Text 1 DateAdd',m,- 2.2em$ers0i+Duration- Date( txtFields'A(.Text 1 ,J, )$ooks in 0and txtFields'B(.Text 1 2.2em$ers0i+Fee Exit #u$ AddErrD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmdDelete%&lick'( !n Error <oTo DeleteErr *f ado"rimar.R#.Fields'A( K J T0en 2sgBox ,T0e 2em$er s0ould return all t0e $ooks $efore 0is record is Deleted, SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

Exit #u$ End *f *f ado"rimar.R#.Fields'B( K J T0en 2sgBox ,T0e 2em$er s0ould clear all t0e Fines $efore 0is record is Deleted, Exit #u$ End *f /it0 ado"rimar.R# .Delete .2ove ext *f .E!F T0en .2oveLast End /it0 Exit #u$ DeleteErrD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmdRefres0%&lick'( )T0is is onl. needed for multi user a++s !n Error <oTo Refres0Err ado"rimar.R#.Re:uer. Exit #u$ Refres0ErrD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmdEdit%&lick'( !n Error <oTo EditErr l$l#tatus.&a+tion 1 ,Edit record, m$EditFlag 1 True #etButtons False Exit #u$ EditErrD 2sgBox Err.Descri+tion End #u$ frm2em$ers - ? "rivate #u$ cmd&ancel%&lick'( !n Error Resume ext #etButtons True m$EditFlag 1 False m$Add ewFlag 1 False ado"rimar.R#.&ancel4+date *f mvBook2ark K J T0en SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

ado"rimar.R#.Bookmark 1 mvBook2ark Else ado"rimar.R#.2oveFirst End *f m$Data&0anged 1 False End #u$ "rivate #u$ cmd4+date%&lick'( !n Error <oTo 4+dateErr ado"rimar.R#.4+dateBatc0 adAffectAll *f m$Add ewFlag T0en ado"rimar.R#.2oveLast )move to t0e new record End *f m$EditFlag 1 False m$Add ewFlag 1 False #etButtons True m$Data&0anged 1 False Exit #u$ 4+dateErrD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmd&lose%&lick'( 4nload 2e End #u$ "rivate #u$ cmdFirst%&lick'( !n Error <oTo <oFirstError )i dont want to make canges w0ile moving HH or KK )=ust use t0e add u+date $uttons ado"rimar.R#.&ancel4+date ado"rimar.R#.2oveFirst m$Data&0anged 1 False Exit #u$ <oFirstErrorD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmdLast%&lick'( !n Error <oTo <oLastError )i dont want to make canges w0ile moving HH or KK )=ust use t0e add u+date $uttons ado"rimar.R#.&ancel4+date ado"rimar.R#.2oveLast SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

m$Data&0anged 1 False Exit #u$ <oLastErrorD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmd ext%&lick'( !n Error <oTo <o extError )i dont want to make canges w0ile moving HH or KK )=ust use t0e add u+date $uttons ado"rimar.R#.&ancel4+date *f ot ado"rimar.R#.E!F T0en ado"rimar.R#.2ove ext frm2em$ers - @ *f ado"rimar.R#.E!F And ado"rimar.R#.Record&ount K J T0en Bee+ )moved off t0e end so go $ack ado"rimar.R#.2oveLast End *f )s0ow t0e current record m$Data&0anged 1 False Exit #u$ <o extErrorD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmd"revious%&lick'( !n Error <oTo <o"revError )i dont want to make canges w0ile moving HH or KK )=ust use t0e add u+date $uttons ado"rimar.R#.&ancel4+date *f ot ado"rimar.R#.B!F T0en ado"rimar.R#.2ove"revious *f ado"rimar.R#.B!F And ado"rimar.R#.Record&ount K J T0en Bee+ )moved off t0e end so go $ack ado"rimar.R#.2oveFirst End *f )s0ow t0e current record m$Data&0anged 1 False Exit #u$ <o"revErrorD 2sgBox Err.Descri+tion End #u$ SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

"rivate #u$ #etButtons'$5al As Boolean( cmdAdd.5isi$le 1 $5al cmdEdit.5isi$le 1 $5al cmd4+date.5isi$le 1 ot $5al cmd&ancel.5isi$le 1 ot $5al cmdDelete.5isi$le 1 $5al cmd&lose.5isi$le 1 $5al cmdRefres0.5isi$le 1 $5al cmd ext.Ena$led 1 $5al cmdFirst.Ena$led 1 $5al cmdLast.Ena$led 1 $5al cmd"revious.Ena$led 1 $5al ))extra code for our frame Frame1.Ena$led 1 $5al txtFields'J(.Ena$led 1 ot $5al )mem$er *D End #u$ "rivate #u$ txtFields%LostFocus'*ndex As *nteger( *f *ndex 1 S And ot *s umeric'txtFields'*ndex(.Text( T0en 2sgBox ,Enter a Tele+0one num$erOOO, txtFields'*ndex(.Text 1 ,, txtFields'*ndex(.#etFocus End *f End #u$ frm!+tions - 1 "rivate #u$ cmd&ancel%&lick'( 2D*main.mun!+tions.Ena$led 1 True 4nload 2e End #u$ "rivate #u$ cmd!L%&lick'( 2.Total*ssueBook 1 txtTotal*ssue.Text 2.2axFineBal 1 txt2axFine.Text 2.Renewal&ounter 1 txtRenual&ounter 2.2em$ers0i+Duration 1 txtDuration 2.2em$ers0i+Fee 1 txtFees 2.RenewalFees 1 txtRenewal Dim d$ As &onnection- ado"rimar.R# As Recordset #et d$ 1 ew &onnection d$.&ursorLocation 1 ad4se&lient d$.!+en ,"R!5*DER12icrosoft.Net.!LEDB.?.A1FData #ource1, I 2.File ame I ,F, SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

#et ado"rimar.R# 1 ew Recordset ado"rimar.R#.!+en ,select Total*ssueBooks-Renewal&ounter-2axFineBal-2em$ers0i+Duration2em$ers0i+Fee- RenewalFees from <lo$al5aria$les,- d$- ad!+en#taticadLock!+timistic ado"rimar.R#.Fields'J( 1 txtTotal*ssue.Text ado"rimar.R#.Fields'1( 1 txtRenual&ounter ado"rimar.R#.Fields'>( 1 txt2axFine.Text ado"rimar.R#.Fields'?( 1 txtDuration ado"rimar.R#.Fields'@( 1 txtFees ado"rimar.R#.Fields'A( 1 txtRenewal ado"rimar.R#.4+date d$.&lose 2D*main.mun!+tions.Ena$led 1 True 4nload 2e End #u$ "rivate #u$ Form%Load'( txtTotal*ssue.Text 1 2.Total*ssueBook txt2axFine.Text 1 2.2axFineBal txtRenual&ounter 1 2.Renewal&ounter txtDuration 1 2.2em$ers0i+Duration txtFees 1 2.2em$ers0i+Fee txtRenewal 1 2.RenewalFees End #u$ "rivate #u$ txtDuration%LostFocus'( /it0 txtDuration *f ot *s umeric'.Text( T0en 2sgBox ,Enter a um$erOOO, .Text 1 ,, .#etFocus End *f End /it0 End #u$ "rivate #u$ txtFees%LostFocus'( /it0 txtFees *f ot *s umeric'.Text( T0en 2sgBox ,Enter a um$erOOO, .Text 1 ,, .#etFocus End *f SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

End /it0 End #u$ frm!+tions - > "rivate #u$ txt2axFine%LostFocus'( /it0 txt2axFine *f ot *s umeric'.Text( T0en 2sgBox ,Enter a um$erOOO, .Text 1 ,, .#etFocus End *f End /it0 End #u$ "rivate #u$ txtRenewal%LostFocus'( /it0 txtRenewal *f ot *s umeric'.Text( T0en 2sgBox ,Enter a um$erOOO, .Text 1 ,, .#etFocus End *f End /it0 End #u$ "rivate #u$ txtRenual&ounter%LostFocus'( /it0 txtRenual&ounter *f ot *s umeric'.Text( T0en 2sgBox ,Enter a um$erOOO, .Text 1 ,, .#etFocus End *f End /it0 End #u$ "rivate #u$ txtTotal*ssue%LostFocus'( /it0 txtTotal*ssue *f ot *s umeric'.Text( T0en 2sgBox ,Enter a um$erOOO, .Text 1 ,, .#etFocus End *f End /it0 End #u$ frm+a.fine - 1 SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

Dim d$ As &onnection "rivate #u$ cmd+a.%&lick'( Dim ado+rimar.rs1 As Recordset #et ado+rimar.rs1 1 ew Recordset *f 5al'l$lfine$al.&a+tion( 1 J T0en 2sgBox ,T0e 2em$er 0as no fine $alance, txt2em*d.Text 1 ,, txt2em*d.#etFocus l$l$ooks.&a+tion 1 ,, l$lfine$al.&a+tion 1 ,, l$lmemname.&a+tion 1 ,, Exit #u$ Else !n Error <oTo oerrD ado+rimar.rs1.!+en ,select First ame-Last ame-Books*n8and-FineBal from 2em$ers w0ere 2em$er*d 1 ), I Trim'txt2em*d( I ,),- d$- ad!+en#tatic- adLock!+timistic ado+rimar.rs1.Fields'?( 1 J ado+rimar.rs1.4+date Dim ado+rimar.rs> As Recordset #et ado+rimar.rs> 1 ew Recordset !n Error <oTo oerrD ado+rimar.rs>.!+en ,select 2em$erid-fineamount-+a.date from fine w0ere 2em$er*d 1 ), I Trim'txt2em* d( I ,),- d$- ad!+en#tatic- adLock!+timistic ado+rimar.rs>.Add ew ado+rimar.rs>.Fields'J( 1 Trim'txt2em*d( ado+rimar.rs>.Fields'1( 1 5al'l$lfine$al.&a+tion( ado+rimar.rs>.Fields'>( 1 Date ado+rimar.rs>.4+date txt2em*d.Text 1 ,, txt2em*d.#etFocus l$l$ooks.&a+tion 1 ,, l$lfine$al.&a+tion 1 ,, l$lmemname.&a+tion 1 ,, End *f Exit #u$ oerrD 2sgBox Err.Descri+tion End #u$ SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

"rivate #u$ Form%Load'( #et d$ 1 ew &onnection d$.&ursorLocation 1 ad4se&lient d$.!+en ,"R!5*DER12icrosoft.Net.!LEDB.?.A1FData #ource1, I 2.File ame I ,F, End #u$ "rivate #u$ Txtmemid%LostFocus'( Dim ado"rimar.R# As Recordset *f Trim'txt2em*d( 1 ,, T0en 2sgBox ,"lease Enter t0e mem$er *D, Else txt2em*d.Text 1 4&ase'txt2em*d( #et ado"rimar.R# 1 ew Recordset ado"rimar.R#.!+en ,select First ame-Last ame-Books*n8and-FineBal from 2em$ers w0ere 2em$er*d 1 ), I Trim'txt2em*d( I ,),- d$- ad!+en#tatic- adLock!+timistic !n Error <oTo oerr l$lmemname.&a+tion 1 ado"rimar.R#.Fields'J( I , , I ado"rimar.R#.Fields'1( l$lfine$al.&a+tion 1 ado"rimar.R#.Fields'?( l$l$ooks.&a+tion 1 ado"rimar.R#.Fields'>( End *f Exit #u$ oerrD 2sgBox ,2em$er *D ot found ..Tr. again,- v$*nformation 7 v$!L!nl.- , o 2em$er *D, txt2em*d.Text 1 ,, txt2em*d.#etFocus End #u$ frm#u$=ects - 1 Dim /it0Events ado"rimar.R# As Recordset Dim m$&0angedB.&ode As Boolean Dim mvBook2ark As 5ariant Dim m$EditFlag As Boolean Dim m$Add ewFlag As Boolean Dim m$Data&0anged As Boolean "rivate #u$ cmd#earc0%&lick'( txt#earc0 1 4&ase'Trim'txt#earc0(( ado"rimar.R#.2oveFirst ado"rimar.R#.Find 'com#earc0.Text I ,1), I txt#earc0 I ,),( *f ado"rimar.R#.A$solute"osition H J T0en SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

2sgBox com#earc0 I , ot FoundOOO, ado"rimar.R#.2oveFirst End *f End #u$ "rivate #u$ Form%Load'( Dim d$ As &onnection #et d$ 1 ew &onnection d$.&ursorLocation 1 ad4se&lient d$.!+en ,"R!5*DER12icrosoft.Net.!LEDB.?.A1FData #ource1, I 2.File ame I ,F, #et ado"rimar.R# 1 ew Recordset ado"rimar.R#.!+en ,select #u$=ect- o!fBooks-*ssueDa.s-Fine&0arge-Reserve&0arge from #u$=ects,- d$ - ad!+en#tatic- adLock!+timistic Dim oText As TextBox )Bind t0e text $oxes to t0e data +rovider For Eac0 oText *n 2e.txtFields #et oText.Data#ource 1 ado"rimar.R# ext m$Data&0anged 1 False com#earc0.Add*tem ',#u$=ect,( com#earc0.List*ndex 1 J End #u$ "rivate #u$ Form%4nload'&ancel As *nteger( #creen.2ouse"ointer 1 v$Default End #u$ "rivate #u$ ado"rimar.R#%2ove&om+lete'B.5al adReason As AD!DB.EventReasonEnum- B.5al +Error As AD!D B.Error- ad#tatus As AD!DB.Event#tatusEnum- B.5al +Recordset As AD!DB.Recordset( )T0is will dis+la. t0e current record +osition for t0is recordset l$l#tatus.&a+tion 1 ,RecordD , I &#tr'ado"rimar.R#.A$solute"osition( End #u$ "rivate #u$ ado"rimar.R#%/ill&0angeRecord'B.5al adReason As AD!DB.EventReasonEnum- B.5al cRecords A s Long- ad#tatus As AD!DB.Event#tatusEnum- B.5al +Recordset As AD!DB.Recordset( )T0is is w0ere .ou +ut validation code )T0is event gets called w0en t0e following actions occur Dim $&ancel As Boolean SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

#elect &ase adReason &ase adRsnAdd ew &ase adRsn&lose &ase adRsnDelete &ase adRsnFirst&0ange &ase adRsn2ove &ase adRsnRe:uer. &ase adRsnRes.nc0 &ase adRsn4ndoAdd ew &ase adRsn4ndoDelete &ase adRsn4ndo4+date &ase adRsn4+date End #elect *f $&ancel T0en ad#tatus 1 ad#tatus&ancel End #u$ "rivate #u$ cmdAdd%&lick'( !n Error <oTo AddErr /it0 ado"rimar.R# frm#u$=ects - > *f ot '.B!F And .E!F( T0en mvBook2ark 1 .Bookmark End *f .Add ew l$l#tatus.&a+tion 1 ,Add record, m$Add ewFlag 1 True #etButtons False End /it0 Exit #u$ AddErrD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmdDelete%&lick'( !n Error <oTo DeleteErr /it0 ado"rimar.R# .Delete .2ove ext *f .E!F T0en .2oveLast End /it0 Exit #u$ DeleteErrD SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

2sgBox Err.Descri+tion End #u$ "rivate #u$ cmdRefres0%&lick'( )T0is is onl. needed for multi user a++s !n Error <oTo Refres0Err ado"rimar.R#.Re:uer. Exit #u$ Refres0ErrD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmdEdit%&lick'( !n Error <oTo EditErr l$l#tatus.&a+tion 1 ,Edit record, m$EditFlag 1 True #etButtons False Exit #u$ EditErrD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmd&ancel%&lick'( !n Error Resume ext #etButtons True m$EditFlag 1 False m$Add ewFlag 1 False ado"rimar.R#.&ancel4+date *f mvBook2ark K J T0en ado"rimar.R#.Bookmark 1 mvBook2ark Else ado"rimar.R#.2oveFirst End *f m$Data&0anged 1 False End #u$ "rivate #u$ cmd4+date%&lick'( !n Error <oTo 4+dateErr ado"rimar.R#.4+dateBatc0 adAffectAll *f m$Add ewFlag T0en ado"rimar.R#.2oveLast )move to t0e new record End *f m$EditFlag 1 False m$Add ewFlag 1 False SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

#etButtons True m$Data&0anged 1 False frm#u$=ects - ? Exit #u$ 4+dateErrD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmd&lose%&lick'( 4nload 2e End #u$ "rivate #u$ cmdFirst%&lick'( !n Error <oTo <oFirstError )i dont want to make canges w0ile moving HH or KK )=ust use t0e add u+date $uttons ado"rimar.R#.&ancel4+date ado"rimar.R#.2oveFirst m$Data&0anged 1 False Exit #u$ <oFirstErrorD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmdLast%&lick'( !n Error <oTo <oLastError )i dont want to make canges w0ile moving HH or KK )=ust use t0e add u+date $uttons ado"rimar.R#.&ancel4+date ado"rimar.R#.2oveLast m$Data&0anged 1 False Exit #u$ <oLastErrorD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmd ext%&lick'( !n Error <oTo <o extError )i dont want to make canges w0ile moving HH or KK )=ust use t0e add u+date $uttons ado"rimar.R#.&ancel4+date *f ot ado"rimar.R#.E!F T0en ado"rimar.R#.2ove ext *f ado"rimar.R#.E!F And ado"rimar.R#.Record&ount K J T0en Bee+ SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

)moved off t0e end so go $ack ado"rimar.R#.2oveLast End *f )s0ow t0e current record m$Data&0anged 1 False Exit #u$ <o extErrorD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmd"revious%&lick'( !n Error <oTo <o"revError )i dont want to make canges w0ile moving HH or KK )=ust use t0e add u+date $uttons ado"rimar.R#.&ancel4+date *f ot ado"rimar.R#.B!F T0en ado"rimar.R#.2ove"revious *f ado"rimar.R#.B!F And ado"rimar.R#.Record&ount K J T0en Bee+ )moved off t0e end so go $ack ado"rimar.R#.2oveFirst End *f )s0ow t0e current record m$Data&0anged 1 False Exit #u$ frm#u$=ects - @ <o"revErrorD 2sgBox Err.Descri+tion End #u$ "rivate #u$ #etButtons'$5al As Boolean( cmdAdd.5isi$le 1 $5al cmdEdit.5isi$le 1 $5al cmd4+date.5isi$le 1 ot $5al cmd&ancel.5isi$le 1 ot $5al cmdDelete.5isi$le 1 $5al cmd&lose.5isi$le 1 $5al cmdRefres0.5isi$le 1 $5al cmd ext.Ena$led 1 $5al cmdFirst.Ena$led 1 $5al cmdLast.Ena$led 1 $5al cmd"revious.Ena$led 1 $5al ))extra code for our frame SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

Frame1.Ena$led 1 $5al End #u$ "rivate #u$ txtFields%LostFocus'*ndex As *nteger( )remove t0e extra s+aces txtFields'*ndex(.Text 1 Trim'txtFields'*ndex(.Text( *f *ndex 1 J T0en txtFields'*ndex(.Text 1 4&ase'txtFields'*ndex(.Text( Else *f ot *s umeric'txtFields'*ndex(.Text( T0en 2sgBox ,Enter a um$erOOO, txtFields'*ndex(.Text 1 ,, txtFields'*ndex(.#etFocus End *f End *f End #u$ frmTitles - 1 Dim /it0Events ado"rimar.R# As Recordset Dim m$&0angedB.&ode As Boolean Dim mvBook2ark As 5ariant Dim m$EditFlag As Boolean Dim m$Add ewFlag As Boolean Dim m$Data&0anged As Boolean "rivate #u$ D&om$o%&lick'Area As *nteger( txtFields'?(.Text 1 D&om$o.Text End #u$ "rivate #u$ Form%Load'( Dim d$ As &onnection #et d$ 1 ew &onnection d$.&ursorLocation 1 ad4se&lient d$.!+en ,"R!5*DER12#Data#0a+eFData "R!5*DER12icrosoft.Net.!LEDB.?.A1FData #ource1, I 2.File ame I ,F, #et ado"rimar.R# 1 ew Recordset ado"rimar.R#.!+en ,#8A"E Tselect Title*d-Title-Aut0or-#u$=ect-;uantit.-Add!n-"rice from TitlesU A # "arent&2D A""E D 'Tselect title*d- Book*d- 2em$er*d- Reserve*dReturnDate- &ondition- T.+e*ssue-* s*n- *ssue&ounter from Books U A# &0ild&2D RELATE Title*d T! Title*d( A# &0ild&2D,- d$- ad!+en#taticadLock!+timistic Dim oText As TextBox SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

)Bind t0e text $oxes to t0e data +rovider For Eac0 oText *n 2e.txtFields #et oText.Data#ource 1 ado"rimar.R# ext #et grdData<rid.Data#ource 1 ado"rimar.R#',&0ild&2D,(.4nderl.ing5alue m$Data&0anged 1 False #et ado+rimar.rs> 1 ew Recordset ado+rimar.rs>.!+en ,select #u$=ect from #u$=ects ,- d$- ad!+en#taticadLock!+timistic #et D&om$o.Data#ource 1 ado+rimar.rs> #et D&om$o.Row#ource 1 ado+rimar.rs> D&om$o.ListField 1 ,#u$=ect, End #u$ "rivate #u$ Form%ResiRe'( !n Error Resume ext )T0is will resiRe t0e grid w0en t0e form is resiRed grdData<rid./idt0 1 2e.#cale/idt0 grdData<rid.8eig0t 1 2e.#cale8eig0t - grdData<rid.To+ - ?J +icButtons.8eig0t - +ic#tatBox.8eig0 t l$l#tatus./idt0 1 2e./idt0 - 1AJJ cmd ext.Left 1 l$l#tatus./idt0 7 CJJ cmdLast.Left 1 cmd ext.Left 7 ?@J End #u$ "rivate #u$ Form%4nload'&ancel As *nteger( #creen.2ouse"ointer 1 v$Default End #u$ "rivate #u$ ado"rimar.R#%2ove&om+lete'B.5al adReason As AD!DB.EventReasonEnum- B.5al +Error As AD!D B.Error- ad#tatus As AD!DB.Event#tatusEnum- B.5al +Recordset As AD!DB.Recordset( )T0is will dis+la. t0e current record +osition for t0is recordset l$l#tatus.&a+tion 1 ,RecordD , I &#tr'ado"rimar.R#.A$solute"osition( End #u$ "rivate #u$ ado"rimar.R#%/ill&0angeRecord'B.5al adReason As AD!DB.EventReasonEnum- B.5al cRecords A s Long- ad#tatus As AD!DB.Event#tatusEnum- B.5al +Recordset As AD!DB.Recordset( )T0is is w0ere .ou +ut validation code )T0is event gets called w0en t0e following actions occur SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

Dim $&ancel As Boolean #elect &ase adReason &ase adRsnAdd ew frmTitles - > &ase adRsn&lose &ase adRsnDelete &ase adRsnFirst&0ange &ase adRsn2ove &ase adRsnRe:uer. &ase adRsnRes.nc0 &ase adRsn4ndoAdd ew &ase adRsn4ndoDelete &ase adRsn4ndo4+date &ase adRsn4+date End #elect *f $&ancel T0en ad#tatus 1 ad#tatus&ancel End #u$ "rivate #u$ cmdAdd%&lick'( !n Error <oTo AddErr /it0 ado"rimar.R# *f ot '.B!F And .E!F( T0en mvBook2ark 1 .Bookmark End *f .Add ew l$l#tatus.&a+tion 1 ,Add record, m$Add ewFlag 1 True #etButtons False End /it0 Exit #u$ AddErrD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmdDelete%&lick'( !n Error <oTo DeleteErr /it0 ado"rimar.R# .Delete .2ove ext *f .E!F T0en .2oveLast End /it0 Exit #u$ SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

DeleteErrD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmdRefres0%&lick'( )T0is is onl. needed for multi user a++s !n Error <oTo Refres0Err #et grdData<rid.Data#ource 1 ot0ing ado"rimar.R#.Re:uer. #et grdData<rid.Data#ource 1 ado"rimar.R#',&0ild&2D,(.4nderl.ing5alue Exit #u$ Refres0ErrD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmdEdit%&lick'( !n Error <oTo EditErr l$l#tatus.&a+tion 1 ,Edit record, m$EditFlag 1 True #etButtons False Exit #u$ EditErrD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmd&ancel%&lick'( !n Error Resume ext #etButtons True m$EditFlag 1 False m$Add ewFlag 1 False ado"rimar.R#.&ancel4+date *f mvBook2ark K J T0en ado"rimar.R#.Bookmark 1 mvBook2ark Else frmTitles - ? ado"rimar.R#.2oveFirst End *f m$Data&0anged 1 False End #u$ "rivate #u$ cmd4+date%&lick'( !n Error <oTo 4+dateErr ado"rimar.R#.4+dateBatc0 adAffectAll *f m$Add ewFlag T0en SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

ado"rimar.R#.2oveLast )move to t0e new record 2sgBox ,3ou 0ave , I txtFields'@( I , Books under t0is Title- "lease enter t0e Books Data., 2.Books&allB.Title 1 True m$EditFlag 1 False m$Add ewFlag 1 False #etButtons True m$Data&0anged 1 False frmBooks.#0ow Exit #u$ End *f m$EditFlag 1 False m$Add ewFlag 1 False #etButtons True m$Data&0anged 1 False Exit #u$ 4+dateErrD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmd&lose%&lick'( 4nload 2e End #u$ "rivate #u$ cmdFirst%&lick'( !n Error <oTo <oFirstError )i dont want to make canges w0ile moving HH or KK )=ust use t0e add u+date $uttons ado"rimar.R#.&ancel4+date ado"rimar.R#.2oveFirst m$Data&0anged 1 False Exit #u$ <oFirstErrorD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmdLast%&lick'( !n Error <oTo <oLastError )i dont want to make canges w0ile moving HH or KK )=ust use t0e add u+date $uttons ado"rimar.R#.&ancel4+date ado"rimar.R#.2oveLast m$Data&0anged 1 False SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

Exit #u$ <oLastErrorD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmd ext%&lick'( !n Error <oTo <o extError )i dont want to make canges w0ile moving HH or KK )=ust use t0e add u+date $uttons ado"rimar.R#.&ancel4+date *f ot ado"rimar.R#.E!F T0en ado"rimar.R#.2ove ext *f ado"rimar.R#.E!F And ado"rimar.R#.Record&ount K J T0en frmTitles - @ Bee+ )moved off t0e end so go $ack ado"rimar.R#.2oveLast End *f )s0ow t0e current record m$Data&0anged 1 False Exit #u$ <o extErrorD 2sgBox Err.Descri+tion End #u$ "rivate #u$ cmd"revious%&lick'( !n Error <oTo <o"revError )i dont want to make canges w0ile moving HH or KK )=ust use t0e add u+date $uttons ado"rimar.R#.&ancel4+date *f ot ado"rimar.R#.B!F T0en ado"rimar.R#.2ove"revious *f ado"rimar.R#.B!F And ado"rimar.R#.Record&ount K J T0en Bee+ )moved off t0e end so go $ack ado"rimar.R#.2oveFirst End *f )s0ow t0e current record m$Data&0anged 1 False Exit #u$ <o"revErrorD 2sgBox Err.Descri+tion End #u$ "rivate #u$ #etButtons'$5al As Boolean( SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

cmdAdd.5isi$le 1 $5al cmdEdit.5isi$le 1 $5al cmd4+date.5isi$le 1 ot $5al cmd&ancel.5isi$le 1 ot $5al cmdDelete.5isi$le 1 $5al cmd&lose.5isi$le 1 $5al cmdRefres0.5isi$le 1 $5al cmd ext.Ena$led 1 $5al cmdFirst.Ena$led 1 $5al cmdLast.Ena$led 1 $5al cmd"revious.Ena$led 1 $5al )extra code D&om$o.5isi$le 1 ot $5al txtFields'?(.5isi$le 1 $5al )cmdBooks.Ena$led 1 $5al )grdData<rid.Allow4+date 1 ot $5al End #u$ "rivate #u$ grdData<rid%Button&lick'B.5al &ol*ndex As *nteger( )2sgBox &ol*ndex I ,11, End #u$ "rivate #u$ txtFields%LostFocus'*ndex As *nteger( txtFields'*ndex(.Text 1 4&ase'Trim'txtFields'*ndex(.Text(( *f *ndex 1 @ !r *ndex 1 B T0en *f ot *s umeric'txtFields'*ndex(.Text( T0en 2sgBox ,Enter a um$erOOO, txtFields'*ndex(.Text 1 ,, frmTitles - A txtFields'*ndex(.#etFocus End *f End *f End #u$ 2D*main - 1 "rivate #u$ 2D*Form%Load'( 2.File ame 1 A++."at0 I ,Eli$rar..md$, 2.Load<lo$al5aria$les )2sgBox 2.Total*ssueBook I 2.Renewal&ounter I 2.2axFineBal End #u$ "rivate #u$ munA$out%&lick'( frmA$out.#0ow End #u$ SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

"rivate #u$ munBooks%&lick'( frmBooks.#0ow End #u$ "rivate #u$ munEm+lo.ees%&lick'( frmEm+lo.ees.#0ow End #u$ "rivate #u$ munFineBal%&lick'( Dim d$ As &onnection #et d$ 1 ew &onnection d$.&ursorLocation 1 ad4se&lient d$.!+en ,"R!5*DER12icrosoft.Net.!LEDB.?.A1FData #ource1, I 2.File ame I ,F, #et ado"rimar.R# 1 ew Recordset ado"rimar.R#.!+en ,select 2em$er*d- Books*n8and- FineBal- Tel- EmailAddress from 2em$ers w0ere FineBalKJ,- d$- ad!+en#tatic- adLock!+timistic #et FineBalRe+ort.Data#ource 1 ado"rimar.R# FineBalRe+ort.#0ow End #u$ "rivate #u$ munFineRe+ort%&lick'( Dim d$ As &onnection #et d$ 1 ew &onnection d$.&ursorLocation 1 ad4se&lient d$.!+en ,"R!5*DER12icrosoft.Net.!LEDB.?.A1FData #ource1, I 2.File ame I ,F, #et ado"rimar.R# 1 ew Recordset ado"rimar.R#.!+en ,select 2em$er*d-FineAmount-"a.Date from Fine,- d$ad!+en#tatic- adLock!+timis tic #et FineRe+ort.Data#ource 1 ado"rimar.R# FineRe+ort.#0ow End #u$ "rivate #u$ mun*ssue%&lick'( frm*ssue.cmd*ssue.5isi$le 1 True frm*ssue.cmdc0arge.5isi$le 1 False frm*ssue.cmdrenewal.5isi$le 1 False frm*ssue.cmdreturn.5isi$le 1 False frm*ssue.&a+tion 1 ,*ssue Book, mun*ssue.Ena$led 1 False munRenewal.Ena$led 1 True munReturn.Ena$led 1 True SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

frm*ssue.#0ow End #u$ "rivate #u$ mun2em$ers%&lick'( frm2em$ers.#0ow End #u$ "rivate #u$ mun2iss%&lick'( frm*ssue.cmd*ssue.5isi$le 1 False frm*ssue.cmdc0arge.5isi$le 1 False frm*ssue.cmdrenewal.5isi$le 1 False frm*ssue.cmdreturn.5isi$le 1 False frm*ssue.cmd2iss.5isi$le 1 True frm*ssue.&a+tion 1 ,2issing Book, 2D*main - > frm*ssue.#0ow End #u$ "rivate #u$ mun2issBook%&lick'( Dim d$ As &onnection #et d$ 1 ew &onnection d$.&ursorLocation 1 ad4se&lient d$.!+en ,"R!5*DER12icrosoft.Net.!LEDB.?.A1FData #ource1, I 2.File ame I ,F, #et ado"rimar.R# 1 ew Recordset #;L 1 ,select Titles.Title*d-Titles.#u$=ect-Titles.Title-Titles.Aut0or-Books.Book*d from Books- titles w0ere Titles.Title*d1Books.Title*D and $ooks.condition 1 )2*##* <), ado"rimar.R#.!+en s#;L- d$- ad!+en#tatic- adLock!+timistic #et 2issRe+ort.Data#ource 1 ado"rimar.R# 2issRe+ort.#0ow End #u$ "rivate #u$ mun!+tions%&lick'( frm!+tions.#0ow mun!+tions.Ena$led 1 False End #u$ "rivate #u$ mun"a.fine%&lick'( frm+a.fine.#0ow End #u$ "rivate #u$ munRenewal%&lick'( frm*ssue.cmdrenewal.5isi$le 1 True frm*ssue.cmdc0arge.5isi$le 1 False frm*ssue.cmd*ssue.5isi$le 1 False SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

frm*ssue.cmdreturn.5isi$le 1 False frm*ssue.#0ow frm*ssue.&a+tion 1 ,Book Renewal, munRenewal.Ena$led 1 False mun*ssue.Ena$led 1 True munReturn.Ena$led 1 True End #u$ "rivate #u$ munRes%&lick'( frm*ssue.cmd*ssue.5isi$le 1 False frm*ssue.cmdc0arge.5isi$le 1 False frm*ssue.cmdrenewal.5isi$le 1 False frm*ssue.cmdreturn.5isi$le 1 False frm*ssue.cmdReserve.5isi$le 1 True frm*ssue.&a+tion 1 ,Reserve Book, frm*ssue.#0ow End #u$ "rivate #u$ munReturn%&lick'( frm*ssue.cmdreturn.5isi$le 1 True frm*ssue.cmdc0arge.5isi$le 1 False frm*ssue.cmd*ssue.5isi$le 1 False frm*ssue.cmdrenewal.5isi$le 1 False frm*ssue.#0ow frm*ssue.&a+tion 1 ,Book Return, munReturn.Ena$led 1 False mun*ssue.Ena$led 1 True munRenewal.Ena$led 1 True End #u$ "rivate #u$ mun#u$=ects%&lick'( frm#u$=ects.#0ow End #u$ "rivate #u$ munTitles%&lick'( frmTitles.#0ow End #u$ 2-1 "u$lic File ame As #tring "u$lic Books&allB.Title As Boolean "u$lic Total*ssueBook- Renewal&ounter- 2axFineBal- 2em$ers0i+Duration2em$ers0i+Fee- RenewalFees As *nteger "u$lic #u$ Load<lo$al5aria$les'( Dim d$ As &onnection SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

Dim ado"rimar.R# As Recordset #et d$ 1 ew &onnection d$.&ursorLocation 1 ad4se&lient d$.!+en ,"R!5*DER12icrosoft.Net.!LEDB.?.A1FData #ource1, I 2.File ame I ,F, #et ado"rimar.R# 1 ew Recordset ado"rimar.R#.!+en ,select Total*ssueBooks-Renewal&ounter-2axFineBal2em$ers0i+Duration- 2em$ers0i+Fee- RenewalFees from <lo$al5aria$les ,d$- ad!+en#tatic- adLock!+timistic Total*ssueBook 1 ado"rimar.R#.Fields'J( Renewal&ounter 1 ado"rimar.R#.Fields'1( 2axFineBal 1 ado"rimar.R#.Fields'>( 2em$ers0i+Duration 1 ado"rimar.R#.Fields'?( 2em$ers0i+Fee 1 ado"rimar.R#.Fields'@( RenewalFees 1 ado"rimar.R#.Fields'A( d$.&lose End #u$

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

BIBLIOGRAPHY

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"

@2@L2OG1A0HY
9" An (ntroduction to Databse Mana$ement System by J7i!in C DesaiK" :" So)t,are En$ineerin$ by J o$er S" PressmanK"" =" So)t,are En$ineerin$ by J+aloteK" ;" PL1SDL by JE'an 7arrosK" <" An (ntroduction to Databse Mana$ement System by JC" +" DateK" >" Databse Conce!ts by J*orth, Silbert%K C" &uide to Visual 7asic >"8 by JNortan G &rohK

SCHOOL MANAGEMENT SYSTEM Pre!ared by3 A" &"