Вы находитесь на странице: 1из 59

Chapter 7 Implementation and Testing

CHAPTER 7
IMPLEMENTATION AND TESTIN
IMPLEMENTATION
This project entitled LI!RAR" IN#ORMATION MAINTENANCE
S"STEM$ implemented in the A%&%COLLEE O# ARTS AND SCIENCE'
ANAND NAAR' &RISHNAN&OIL ()( *)(% Implementation is the third
step or stage in a Software Development Life Cycle (SDLC).
Implementation of this project re!ires a system with a "I#D$"S
platform and %&' ()* or primary memory to r!n. This is a porta+le software
and it is easy to maintain and modifia+le. Implementation also re!ires ,is!al
'asic -.. (as a /ront 0nd Tool) and *S )ccess 1.. (as a 'ac2 0nd Tool).
In f!t!re3 modification will re!ire the minim!m changes and project
also follows the code optimi4ation r!les and avoids red!ndant coding.
This project was implemented and Tested s!ccessf!lly !nder the r!les of
Software 0ngineering and System )nalysis and Design. This project was
implemented !sing Data+ase Connectivity D)$ (Data )ccess $+ject) for
connecting /ront 0nd and 'ac2 0nd.
)lso this project implemented with sec!rity in code level and data+ase
level. So !na!thori4ed !sers can5t access the internal data related to the
concern.
Li+rar, In-ormation Maintenan.e S,stem 6-
Chapter 7 Implementation and Testing
TESTIN
This project follows a 'ottom7!p Design Strategy in which3 the large
pro+lem is divided into set of s!+ mod!les and solved separately. /inally the
sol!tions of those are mingled to get final sol!tion of the re!ired large
pro+lem.
8ere Test 9roced!res refer to the set of r!les that chec2 each mod!le3
!nit and statement of codes. &enerally Software 0ngineering follows a set of
Testing s!ch as :nit Testing3 )cceptance Testing and etc. for the validation and
testing of mod!les3 their performance3 str!ct!re3 data acceptance and etc.
8ere we are having n!m+er of Test 9roced!res. They are3
*od!le wise Testing on their Integration
Testing whether all mod!les getting correct data in the correct
form. "hether they can inform !ser what error occ!rred and
how to correct it if any error occ!rs d!ring data entry or
e;ec!tion.
Testing whether it is easy to modify any record and when it
will +ecome diffic!lt<
Testing e;ec!tion time and performance of each mod!le and
whole.
Testing of syntactical and logical errors and de+!gging
proced!res.
Testing of sec!rity r!les defined Integrity constraints3 (ow
level constraints and record level constraints if defined.
Th!s we m!st perform more tests in the project to increase its =!ality
and 9erformance. 0ach project will shine +ased on its =!ality and its
disting!isha+le feat!res from other projects. This project developed after
implementing all the a+ove Test 9roced!res.
Li+rar, In-ormation Maintenan.e S,stem 61
Chapter 7 Implementation and Testing
SAMPLE SO/RCE CODE
ACCESSION REISTER
Pri0ate S1+ Com+o*2Cli.345
Data)%Re.ordSo1r.e 6 7sele.t distin.t title -rom +oo3details 8here
.ategor,697 : Com+o*%Te;t : 797
Data)%Re-resh
Com+o)%.lear
Data)%Re.ordset%Mo0e#irst
Do <hile Data)%Re.ordset%EO# 6 #alse
Com+o)%AddItem Data)%Re.ordset4=5
Data)%Re.ordset%Mo0eNe;t
Loop
End S1+
Pri0ate S1+ Com+o*=2Change45
Data>%Re.ordSo1r.e 6 7sele.t ? -rom +oo3details 8here p1+2,ear67 :
@al4Com+o*=%Te;t5
Data>%Re-resh
Te;tA%Te;t 6 Data>%Re.ordset%Re.ordCo1nt
End S1+
Pri0ate S1+ Com+o*=2Cli.345
Data>%Re.ordSo1r.e 6 7sele.t ? -rom +oo3details 8here p1+2,ear67 :
@al4Com+o*=%Te;t5
Data>%Re-resh
Te;tA%Te;t 6 Data>%Re.ordset%Re.ordCo1nt
End S1+
Pri0ate S1+ Com+o*>2Change45
Li+rar, In-ormation Maintenan.e S,stem 6>
Chapter 7 Implementation and Testing
Data>%Re.ordSo1r.e 6 7sele.t ? -rom +oo3details 8here p1+lisher697 :
Com+o*>%Te;t : 797
Data>%Re-resh
Te;tA%Te;t 6 Data>%Re.ordset%Re.ordCo1nt
End S1+
Pri0ate S1+ Com+o*>2Cli.345
Data>%Re.ordSo1r.e 6 7sele.t ? -rom +oo3details 8here p1+lisher697 :
Com+o*>%Te;t : 797
Data>%Re-resh
Te;tA%Te;t 6 Data>%Re.ordset%Re.ordCo1nt
End S1+
Pri0ate S1+ Com+o*B2Change45
Data>%Re.ordSo1r.e 6 7sele.t ? -rom +oo3details 8here s1pplier697 :
Com+o*B%Te;t : 797
Data>%Re-resh
Te;tA%Te;t 6 Data>%Re.ordset%Re.ordCo1nt
End S1+
Pri0ate S1+ Com+o*B2Cli.345
Data>%Re.ordSo1r.e 6 7sele.t ? -rom +oo3details 8here s1pplier697 :
Com+o*B%Te;t : 797
Data>%Re-resh
Te;tA%Te;t 6 Data>%Re.ordset%Re.ordCo1nt
End S1+
Pri0ate S1+ Com+o)2Cli.345
Com+o>%.lear
Data)%Re.ordSo1r.e 6 7sele.t distin.t a1thor -rom +oo3details 8here
.ategor,697 : Com+o*%Te;t : 79 and title697 : Com+o)%Te;t : 797
Li+rar, In-ormation Maintenan.e S,stem 6?
Chapter 7 Implementation and Testing
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
Do <hile Data)%Re.ordset%EO# 6 #alse
Com+o>%AddItem Data)%Re.ordset4=5
Data)%Re.ordset%Mo0eNe;t
Loop

End S1+
Pri0ate S1+ Com+o(2Change45
On Error Res1me Ne;t
Data>%Re.ordSo1r.e 6 7sele.t ? -rom +oo3details 8here le-t4.ategor,'7 :
Len4Com+o(%Te;t5 : 75697 : Com+o(%Te;t : 797
Data>%Re-resh
D!rid*%Re-resh
Com+o7%.lear
Te;tA%Te;t 6 Data>%Re.ordset%Re.ordCo1nt
Data)%Re.ordSo1r.e 6 7sele.t distin.t title -rom +oo3details 8here
.ategor,697 : Com+o(%Te;t : 797
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
Do <hile Data)%Re.ordset%EO# 6 #alse
Com+o7%AddItem Data)%Re.ordset4=5
Data)%Re.ordset%Mo0eNe;t
Loop
End S1+
Pri0ate S1+ Com+o(2Cli.345
Data>%Re.ordSo1r.e 6 7sele.t ? -rom +oo3details 8here le-t4.ategor,'7 :
Len4Com+o(%Te;t5 : 75697 : Com+o(%Te;t : 797
Data>%Re-resh
D!rid*%Re-resh
Li+rar, In-ormation Maintenan.e S,stem @.
Chapter 7 Implementation and Testing
Com+o7%.lear
Te;tA%Te;t 6 Data>%Re.ordset%Re.ordCo1nt
Data)%Re.ordSo1r.e 6 7sele.t distin.t title -rom +oo3details 8here
.ategor,697 : Com+o(%Te;t : 797
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
Do <hile Data)%Re.ordset%EO# 6 #alse
Com+o7%AddItem Data)%Re.ordset4=5
Data)%Re.ordset%Mo0eNe;t
Loop
End S1+
Pri0ate S1+ Com+o72Change45
On Error Res1me Ne;t
Data>%Re.ordSo1r.e 6 7sele.t ? -rom +oo3details 8here .ategor,697 :
Com+o(%Te;t : 79 and le-t4title'7 : Len4Com+o7%Te;t5 : 75697 :
Com+o7%Te;t : 797
Data>%Re-resh
D!rid*%Re-resh
Data)%Re.ordSo1r.e 6 7sele.t distin.t a1thor -rom +oo3details 8here
.ategor,697 : Com+o(%Te;t : 79 and title697 : Com+o7%Te;t : 797
Data)%Re-resh
Com+oC%.lear
Data)%Re.ordset%Mo0e#irst
Do <hile Data)%Re.ordset%EO# 6 #alse
Li+rar, In-ormation Maintenan.e S,stem @%
Chapter 7 Implementation and Testing
Com+oC%AddItem Data)%Re.ordset4=5
Data)%Re.ordset%Mo0eNe;t
Loop


Te;tA%Te;t 6 Data>%Re.ordset%Re.ordCo1nt
End S1+
Pri0ate S1+ Com+o72Cli.345
Data>%Re.ordSo1r.e 6 7sele.t ? -rom +oo3details 8here .ategor,697 :
Com+o(%Te;t : 79 and le-t4title'7 : Len4Com+o7%Te;t5 : 75697 :
Com+o7%Te;t : 797
Data>%Re-resh
D!rid*%Re-resh
Data)%Re.ordSo1r.e 6 7sele.t distin.t a1thor -rom +oo3details 8here
.ategor,697 : Com+o(%Te;t : 79 and title697 : Com+o7%Te;t : 797
Data)%Re-resh
Com+oC%.lear
Data)%Re.ordset%Mo0e#irst
Do <hile Data)%Re.ordset%EO# 6 #alse
Com+oC%AddItem Data)%Re.ordset4=5
Data)%Re.ordset%Mo0eNe;t
Loop


Te;tA%Te;t 6 Data>%Re.ordset%Re.ordCo1nt
End S1+
Li+rar, In-ormation Maintenan.e S,stem @6
Chapter 7 Implementation and Testing
Pri0ate S1+ Com+oC2Change45
Data>%Re.ordSo1r.e 6 7sele.t ? -rom +oo3details 8here .ategor,697 :
Com+o(%Te;t : 79 and title697 : Com+o7%Te;t : 79 and a1thor697 :
Com+oC%Te;t : 797
Data>%Re-resh
D!rid*%Re-resh
Te;tA%Te;t 6 Data>%Re.ordset%Re.ordCo1nt
End S1+
Pri0ate S1+ Com+oC2Cli.345
Data>%Re.ordSo1r.e 6 7sele.t ? -rom +oo3details 8here .ategor,697 :
Com+o(%Te;t : 79 and title697 : Com+o7%Te;t : 79 and a1thor697 :
Com+oC%Te;t : 797
Data>%Re-resh
D!rid*%Re-resh
Te;tA%Te;t 6 Data>%Re.ordset%Re.ordCo1nt
End S1+
Pri0ate S1+ Com+oA2Change45
On Error Res1me Ne;t
Data>%Re.ordSo1r.e 6 7sele.t ? -rom +oo3details 8here a..no67 :
@al4Com+oA%Te;t5
Data>%Re-resh
D!rid*%Re-resh
Te;tA%Te;t 6 Data>%Re.ordset%Re.ordCo1nt
End S1+
Pri0ate S1+ Com+oA2Cli.345
Data>%Re.ordSo1r.e 6 7sele.t ? -rom +oo3details 8here a..no67 :
@al4Com+oA%Te;t5
Data>%Re-resh
D!rid*%Re-resh
Te;tA%Te;t 6 Data>%Re.ordset%Re.ordCo1nt
End S1+
Li+rar, In-ormation Maintenan.e S,stem @@
Chapter 7 Implementation and Testing
Pri0ate S1+ Command*2Cli.345
9On Error oTo tD
Dim i
I- Com+o*%Te;t 6 77 Or Com+o)%Te;t 6 77 Or Com+o>%Te;t 6 77 Or
Te;t*%Te;t 6 77 Then
a 6 Msg!o;47Enter atleast Categor,'Title' A1thor and A..ession
N1m+er to sa0e7' 0+In-ormation E 0+O&Onl,' 7Help75
E;it S1+
End I-

I- @al4Te;tC%Te;t5 F = Then
#or i 6 @al4Te;t*%Te;t5 To @al4Te;tC%Te;t5

Data*%Re.ordSo1r.e 6 7sele.t ? -rom +oo3details7
Data*%Re-resh
Data*%Re.ordset%AddNe8
Data*%Re.ordset4=5 6 Com+o*%Te;t
Data*%Re.ordset4*5 6 Com+o)%Te;t
Data*%Re.ordset4)5 6 Com+o>%Te;t
Data*%Re.ordset4>5 6 i
Data*%Re.ordset4B5 6 Com+oB%Te;t
Data*%Re.ordset4G5 6 @al4Com+oG%Te;t5
I- Option*%@al1e 6 Tr1e Then
Data*%Re.ordset4(5 6 7Iss1e7
End I-
I- Option)%@al1e 6 Tr1e Then
Data*%Re.ordset4(5 6 7Re-eren.e7
End I-
Li+rar, In-ormation Maintenan.e S,stem @A
Chapter 7 Implementation and Testing
Data*%Re.ordset475 6 @al4Te;t(%Te;t5
Data*%Re.ordset4C5 6 Com+o>%Te;t
Data*%Re.ordset4A5 6 DTPi.3er*%@al1e
Data*%Re.ordset4*=5 6 Te;t)%Te;t
Data*%Re.ordset4**5 6 Te;tB%Te;t
Data*%Re.ordset4*)5 6 Te;tG%Te;t
Data*%Re.ordset4*>5 6 Te;t7%Te;t
Data*%Re.ordset4*B5 6 7A0aila+le7
Data*%Re.ordset4*G5 6 Com+o**%Te;t
Data*%Re.ordset4*(5 6 Com+o*)%Te;t
Data*%Re.ordset4*75 6 LTrim4Te;t*=%Te;t5
Data*%Re.ordset%/pdate
Ne;t
Msg!o; 47Sa0ed75
Call .lear
Com+o*%.lear
Data)%Re.ordSo1r.e 6 7sele.t distin.t .ategor, -rom +oo3details7
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
Do <hile Data)%Re.ordset%EO# 6 #alse
Com+o*%AddItem Data)%Re.ordset4=5
Data)%Re.ordset%Mo0eNe;t
Loop

Com+oB%.lear
Data)%Re.ordSo1r.e 6 7sele.t distin.t edition -rom +oo3details7
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
Do <hile Data)%Re.ordset%EO# 6 #alse
Com+oB%AddItem Data)%Re.ordset4=5
Li+rar, In-ormation Maintenan.e S,stem @B
Chapter 7 Implementation and Testing
Data)%Re.ordset%Mo0eNe;t
Loop

Option*%@al1e 6 Tr1e
Com+o**%.lear
Com+o*>%.lear
Data)%Re.ordSo1r.e 6 7sele.t distin.t p1+lisher -rom +oo3details7
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
Do <hile Data)%Re.ordset%EO# 6 #alse
Com+o**%AddItem Data)%Re.ordset4=5
Com+o*>%AddItem Data)%Re.ordset4=5
Data)%Re.ordset%Mo0eNe;t
Loop
Com+o*)%.lear
Data)%Re.ordSo1r.e 6 7sele.t distin.t s1pplier -rom +oo3details7
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
Do <hile Data)%Re.ordset%EO# 6 #alse
Com+o*)%AddItem Data)%Re.ordset4=5
Com+o*B%AddItem Data)%Re.ordset4=5
Data)%Re.ordset%Mo0eNe;t
Loop

Else


Data*%Re.ordset%AddNe8
Li+rar, In-ormation Maintenan.e S,stem @-
Chapter 7 Implementation and Testing
Data*%Re.ordset4=5 6 Com+o*%Te;t
Data*%Re.ordset4*5 6 Com+o)%Te;t
Data*%Re.ordset4)5 6 Com+o>%Te;t
Data*%Re.ordset4>5 6 @al4Te;t*%Te;t5
Data*%Re.ordset4B5 6 Com+oB%Te;t
Data*%Re.ordset4G5 6 @al4Com+oG%Te;t5
I- Option*%@al1e 6 Tr1e Then
Data*%Re.ordset4(5 6 7Iss1e7
End I-
I- Option)%@al1e 6 Tr1e Then
Data*%Re.ordset4(5 6 7Re-eren.e7
End I-
Data*%Re.ordset475 6 @al4Te;t(%Te;t5
Data*%Re.ordset4C5 6 Com+o>%Te;t
Data*%Re.ordset4A5 6 DTPi.3er*%@al1e
Data*%Re.ordset4*=5 6 Te;t)%Te;t
Data*%Re.ordset4**5 6 Te;tB%Te;t
Data*%Re.ordset4*)5 6 Te;tG%Te;t
Data*%Re.ordset4*>5 6 Te;t7%Te;t
Data*%Re.ordset4*B5 6 7A0aila+le7
Data*%Re.ordset4*G5 6 Com+o**%Te;t
Data*%Re.ordset4*(5 6 Com+o*)%Te;t
Data*%Re.ordset4*75 6 LTrim4Te;t*=%Te;t5
Data*%Re.ordset%/pdate
Msg!o; 47Sa0ed75
Call .lear
Com+o*%.lear
Data)%Re.ordSo1r.e 6 7sele.t distin.t .ategor, -rom +oo3details7
Li+rar, In-ormation Maintenan.e S,stem @1
Chapter 7 Implementation and Testing
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
Do <hile Data)%Re.ordset%EO# 6 #alse
Com+o*%AddItem Data)%Re.ordset4=5
Data)%Re.ordset%Mo0eNe;t
Loop

Com+oB%.lear
Data)%Re.ordSo1r.e 6 7sele.t distin.t edition -rom +oo3details7
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
Do <hile Data)%Re.ordset%EO# 6 #alse
Com+oB%AddItem Data)%Re.ordset4=5
Data)%Re.ordset%Mo0eNe;t
Loop

Option*%@al1e 6 Tr1e
Com+o**%.lear
Com+o*>%.lear
Data)%Re.ordSo1r.e 6 7sele.t distin.t p1+lisher -rom +oo3details7
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
Do <hile Data)%Re.ordset%EO# 6 #alse
Com+o**%AddItem Data)%Re.ordset4=5
Com+o*>%AddItem Data)%Re.ordset4=5
Data)%Re.ordset%Mo0eNe;t
Loop
Com+o*)%.lear
Data)%Re.ordSo1r.e 6 7sele.t distin.t s1pplier -rom +oo3details7
Li+rar, In-ormation Maintenan.e S,stem @>
Chapter 7 Implementation and Testing
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
Do <hile Data)%Re.ordset%EO# 6 #alse
Com+o*)%AddItem Data)%Re.ordset4=5
Com+o*B%AddItem Data)%Re.ordset4=5
Data)%Re.ordset%Mo0eNe;t
Loop


End I-
E;it S1+
tD
a 6 Msg!o;47Re.ord Alread, Entered7' 0+In-ormation E 0+O&Onl,'
7Help75
End S1+
Pri0ate S1+ .lear45
Te;t*%Te;t 6 77
Te;t)%Te;t 6 77
Te;t>%Te;t 6 77
Te;tB%Te;t 6 77
Te;tG%Te;t 6 77
Te;t(%Te;t 6 77
Te;t7%Te;t 6 77
Te;tC%Te;t 6 77
Te;tA%Te;t 6 77
Te;t*=%Te;t 6 77
Com+o*%Te;t 6 77
Com+o)%Te;t 6 77
Com+o>%Te;t 6 77
Com+oB%Te;t 6 77
Li+rar, In-ormation Maintenan.e S,stem @?
Chapter 7 Implementation and Testing
Com+oG%Te;t 6 77
Com+o*=%Te;t 6 77
Com+o**%Te;t 6 77
Com+o*)%Te;t 6 77
Com+o*>%Te;t 6 77
Com+o7%Te;t 6 77
Com+oC%Te;t 6 77
Com+o*B%Te;t 6 77
Option*%@al1e 6 #alse
Option)%@al1e 6 #alse
End S1+
Pri0ate S1+ Command)2Cli.345
I- Com+o*%Te;t 6 77 Or Com+o)%Te;t 6 77 Or Com+o>%Te;t 6 77 Or
Te;t*%Te;t 6 77 Then
a 6 Msg!o;47sele.t the re.ord to delete7' 0+In-ormation E 0+O&Onl,'
7Help75
E;it S1+
End I-
a 6 Msg!o;47Are ,o1 s1re to deleteH7' 0+I1estion E 0+"esNo' 7Help75
I- a 6 0+"es Then
Data>%Re.ordset%Delete
End I-
Call .lear
End S1+
Pri0ate S1+ Command>2Cli.345
#rame>%@isi+le 6 #alse
End S1+
Pri0ate S1+ CommandB2Cli.345
#rame>%@isi+le 6 Tr1e
Li+rar, In-ormation Maintenan.e S,stem A.
Chapter 7 Implementation and Testing
Com+oA%.lear
Data)%Re.ordSo1r.e 6 7sele.t distin.t a..no -rom +oo3details7
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
Do <hile Data)%Re.ordset%EO# 6 #alse
Com+oA%AddItem Data)%Re.ordset4=5
Data)%Re.ordset%Mo0eNe;t
Loop
Com+o(%.lear
Data)%Re.ordSo1r.e 6 7sele.t distin.t .ategor, -rom +oo3details7
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
Do <hile Data)%Re.ordset%EO# 6 #alse
Com+o(%AddItem Data)%Re.ordset4=5
Data)%Re.ordset%Mo0eNe;t
Loop
End S1+
Pri0ate S1+ CommandG2Cli.345
#rame>%@isi+le 6 #alse
End S1+
Pri0ate S1+ Command(2Cli.345
On Error oTo tD
Data>%Re.ordSo1r.e 6 7sele.t ? -rom +oo3details 8here .ategor,697 :
Com+o(%Te;t : 79 and title697 : Com+o7%Te;t : 79 and a1thor697 :
Com+oC%Te;t : 79 and .op,t,pe69Iss1e9 and stat1s69A0aila+le97
Data>%Re-resh
Data>%Re.ordset%Mo0e#irst
Li+rar, In-ormation Maintenan.e S,stem A%
Chapter 7 Implementation and Testing
La+el)*%Caption 6 7!oo3 A0aila+le7
E;it S1+
tD
La+el)*%Caption 6 7!oo3 Not A0aila+le7
Data>%Re.ordSo1r.e 6 7sele.t ? -rom +oo3details 8here .ategor,697 :
Com+o(%Te;t : 79 and title697 : Com+o7%Te;t : 79 and a1thor697 :
Com+oC%Te;t : 797
Data>%Re-resh
End S1+
Pri0ate S1+ Command72Cli.345
Call .lear
End S1+
Pri0ate S1+ CommandC2Cli.345
#orm7%Sho8
/nload Me
End S1+
Pri0ate S1+ CommandA2Cli.345
#ormC%Sho8
End S1+
Pri0ate S1+ D!rid*2D+lCli.345
Com+o*%Te;t 6 Data>%Re.ordset4=5
Com+o)%Te;t 6 Data>%Re.ordset4*5
Com+o>%Te;t 6 Data>%Re.ordset4)5
Te;t*%Te;t 6 Data>%Re.ordset4>5
Com+oB%Te;t 6 Data>%Re.ordset4B5
Com+oG%Te;t 6 Data>%Re.ordset4G5
Li+rar, In-ormation Maintenan.e S,stem A6
Chapter 7 Implementation and Testing
I- Data>%Re.ordset4(5 6 7Iss1e7 Then
Option*%@al1e 6 Tr1e
Else
Option*%@al1e 6 #alse
End I-
Te;t(%Te;t 6 Data>%Re.ordset475
Com+o>%Te;t 6 Data>%Re.ordset4C5
DTPi.3er*%@al1e 6 Data>%Re.ordset4A5
Te;t)%Te;t 6 Data>%Re.ordset4*=5
Te;tB%Te;t 6 Data>%Re.ordset4**5
Te;tG%Te;t 6 Data>%Re.ordset4*)5
Te;t7%Te;t 6 Data>%Re.ordset4*>5
#rame>%@isi+le 6 #alse
End S1+
Pri0ate S1+ #orm2A.ti0ate45
On Error Res1me Ne;t
Call .lear
#rame>%@isi+le 6 #alse
#or i 6 *A== To >===
Com+oG%AddItem i
Com+o*=%AddItem i
Ne;t
Data)%Re.ordSo1r.e 6 7sele.t distin.t .ategor, -rom +oo3details7
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
Do <hile Data)%Re.ordset%EO# 6 #alse
Com+o*%AddItem Data)%Re.ordset4=5
Data)%Re.ordset%Mo0eNe;t
Loop
Li+rar, In-ormation Maintenan.e S,stem A@
Chapter 7 Implementation and Testing

Data)%Re.ordSo1r.e 6 7sele.t distin.t edition -rom +oo3details7
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
Do <hile Data)%Re.ordset%EO# 6 #alse
Com+oB%AddItem Data)%Re.ordset4=5
Data)%Re.ordset%Mo0eNe;t
Loop

Option*%@al1e 6 Tr1e
Data)%Re.ordSo1r.e 6 7sele.t distin.t p1+lisher -rom +oo3details7
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
Do <hile Data)%Re.ordset%EO# 6 #alse
Com+o**%AddItem Data)%Re.ordset4=5
Com+o*>%AddItem Data)%Re.ordset4=5
Data)%Re.ordset%Mo0eNe;t
Loop
Data)%Re.ordSo1r.e 6 7sele.t distin.t s1pplier -rom +oo3details7
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
Do <hile Data)%Re.ordset%EO# 6 #alse
Com+o*)%AddItem Data)%Re.ordset4=5
Com+o*B%AddItem Data)%Re.ordset4=5
Data)%Re.ordset%Mo0eNe;t
Loop
End S1+
Pri0ate S1+ Option>2Cli.345
Li+rar, In-ormation Maintenan.e S,stem AA
Chapter 7 Implementation and Testing
I- Option>%@al1e 6 Tr1e Then
Data>%Re.ordSo1r.e 6 7sele.t ? -rom +oo3details 8here
.op,t,pe69Iss1e9 and .ategor,697 : Com+o(%Te;t : 797
Data>%Re-resh
Te;tA%Te;t 6 Data>%Re.ordset%Re.ordCo1nt
End I-
End S1+
Pri0ate S1+ OptionB2Cli.345
I- OptionB%@al1e 6 Tr1e Then
Data>%Re.ordSo1r.e 6 7sele.t ? -rom +oo3details 8here
.op,t,pe69Re-eren.e9 and .ategor,697 : Com+o(%Te;t : 797
Data>%Re-resh
Te;tA%Te;t 6 Data>%Re.ordset%Re.ordCo1nt
End I-
End S1+
Pri0ate S1+ Te;t*2Change45
Te;tC%Te;t 6 Te;t*%Te;t
End S1+
ST/DENT MASTER
Dim sno As Integer
Pri0ate S1+ Com+o*2Cli.345
Com+o)%.lear
Li+rar, In-ormation Maintenan.e S,stem AB
Chapter 7 Implementation and Testing
Data*%Re.ordSo1r.e 6 7sele.t distin.t +ran.h -rom st1dent2master 8here
.o1rse697 : Com+o*%Te;t : 797
Data*%Re-resh
Data*%Re.ordset%Mo0e#irst
Do <hile Data*%Re.ordset%EO# 6 #alse
Com+o)%AddItem Data*%Re.ordset4=5
Data*%Re.ordset%Mo0eNe;t
Loop
Data>%Re.ordSo1r.e 6 7sele.t ? -rom st1dent2master 8here .o1rse697 :
Com+o*%Te;t : 797
Data>%Re-resh
D!rid*%Re-resh
End S1+
Pri0ate S1+ Com+o)2Cli.345
Data>%Re.ordSo1r.e 6 7sele.t ? -rom st1dent2master 8here .o1rse697 :
Com+o*%Te;t : 79 and +ran.h697 : Com+o)%Te;t : 797
Data>%Re-resh
D!rid*%Re-resh
End S1+
Pri0ate S1+ Com+o>2Cli.345
Li+rar, In-ormation Maintenan.e S,stem A-
Chapter 7 Implementation and Testing
Data>%Re.ordSo1r.e 6 7sele.t ? -rom st1dent2master 8here .o1rse697 :
Com+o*%Te;t : 79 and +ran.h697 : Com+o)%Te;t : 79 and +at.h67 :
@al4Com+o>%Te;t5
Data>%Re-resh
D!rid*%Re-resh
End S1+
Pri0ate S1+ Command*2Cli.345
On Error oTo tD
I- Com+o*%Te;t 6 77 Or Com+o)%Te;t 6 77 Or Com+o>%Te;t 6 77 Or
Te;t*%Te;t 6 77 Or Te;t)%Te;t 6 77 Or Te;t>%Te;t 6 77 Then
a 6 Msg!o;47Enter all the -ields and .ontin1e7' 0+In-ormation E
0+O&Onl,' 7Help75
E;it S1+
End I-
Data)%Re.ordSo1r.e 6 7sele.t ? -rom st1dent2master7
Data)%Re-resh
Data)%Re.ordset%AddNe8
Data)%Re.ordset4=5 6 Com+o*%Te;t
Data)%Re.ordset4*5 6 Com+o)%Te;t
Data)%Re.ordset4)5 6 @al4Com+o>%Te;t5
I- Option*%@al1e 6 Tr1e Then
Data)%Re.ordset4>5 6 7Male7
End I-
I- Option)%@al1e 6 Tr1e Then
Data)%Re.ordset4>5 6 7#emale7
End I-
Data)%Re.ordset4B5 6 Te;t*%Te;t
Data)%Re.ordset4G5 6 /Case4Te;t)%Te;t5
Data)%Re.ordset4(5 6 Te;t>%Te;t
Data)%Re.ordset475 6 Te;tB%Te;t
Data)%Re.ordset4C5 6 Te;tG%Te;t
Li+rar, In-ormation Maintenan.e S,stem A1
Chapter 7 Implementation and Testing
Data)%Re.ordset4A5 6 Te;t(%Te;t
Data)%Re.ordset%/pdate
a 6 Msg!o;47Re.ord /pdated7' 0+In-ormation E 0+O&Onl,' 7Help75
Te;t*%Te;t 6 77
Te;t)%Te;t 6 77
Te;t>%Te;t 6 77
Te;t(%Te;t 6 77
Te;t*%Set#o.1s
E;it S1+
tD
a 6 Msg!o;47Data Entr, Error% Che.3 t,ping or d1pli.ation mista3es7'
0+E;.lamation E 0+O&Onl,' 7Help75
End S1+
Pri0ate S1+ Command)2Cli.345
Com+o*%.lear
Data*%Re.ordSo1r.e 6 7sele.t distin.t .o1rse -rom st1dent2master7
Data*%Re-resh
Data*%Re.ordset%Mo0e#irst
Do <hile Data*%Re.ordset%EO# 6 #alse
Com+o*%AddItem Data*%Re.ordset4=5
Data*%Re.ordset%Mo0eNe;t
Loop
End S1+
Pri0ate S1+ Command>2Cli.345
#rame>%@isi+le 6 Tr1e
End S1+
Pri0ate S1+ CommandB2Cli.345
#rame>%@isi+le 6 #alse
Li+rar, In-ormation Maintenan.e S,stem A>
Chapter 7 Implementation and Testing
End S1+
Pri0ate S1+ CommandG2Cli.345
#orm7%Sho8
/nload Me
End S1+
Pri0ate S1+ Command(2Cli.345
On Error Res1me Ne;t
DataB%Re.ordSo1r.e 6 7sele.t ? -rom st1drep7
DataB%Re-resh
DataB%Re.ordset%Mo0e#irst
Do <hile DataB%Re.ordset%EO# 6 #alse
DataB%Re.ordset%Delete
DataB%Re.ordset%Mo0eNe;t
Loop

sno 6 =
Data)%Re.ordSo1r.e 6 7sele.t ? -rom st1dent2master 8here .o1rse697 :
LTrim4Com+o*%Te;t5 : 79 and +ran.h697 : LTrim4Com+o)%Te;t5 : 79
and +at.h67 : @al4Com+o>%Te;t5 : 7 order +, rollno7
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
DataB%Re.ordSo1r.e 6 7sele.t ? -rom st1drep7
DataB%Re-resh
Do <hile Data)%Re.ordset%EO# 6 #alse
sno 6 sno E *
Li+rar, In-ormation Maintenan.e S,stem A?
Chapter 7 Implementation and Testing
DataB%Re.ordset%AddNe8
DataB%Re.ordset4=5 6 LTrim4Com+o*%Te;t5
DataB%Re.ordset4*5 6 LTrim4Com+o)%Te;t5
DataB%Re.ordset4)5 6 @al4Com+o>%Te;t5
I- "ear4Date5 6 @al4Com+o>%Te;t5 Then
DataB%Re.ordset4>5 6 7I "ear7
ElseI- "ear4Date5 J @al4Com+o>%Te;t5 6 * Then
DataB%Re.ordset4>5 6 7II "ear7
ElseI- "ear4Date5 J @al4Com+o>%Te;t5 6 ) Then
DataB%Re.ordset4>5 6 7III "ear7
End I-
DataB%Re.ordset4B5 6 sno
DataB%Re.ordset4G5 6 Data)%Re.ordset4G5
DataB%Re.ordset4(5 6 Data)%Re.ordset4B5
DataB%Re.ordset%/pdate

Data)%Re.ordset%Mo0eNe;t
Loop
DataB%Re-resh
/nload DataEn0ironment*
DataReport>%Sho8
End S1+
Pri0ate S1+ D!rid*2Mo1seDo8n4!1tton As Integer' Shi-t As Integer' K
As Single' " As Single5
I- !1tton 6 ) Then
#orm*%Pop1pMen1 side

Li+rar, In-ormation Maintenan.e S,stem B.
Chapter 7 Implementation and Testing
End I-

End S1+
Pri0ate S1+ del2Cli.345
a 6 Msg!o;47Are ,o1 s1re to delete7' 0+I1estion E 0+"esNo' 7Help75
I- a 6 0+"es Then
Data>%Re.ordset%Delete
Else
E;it S1+

End I-
End S1+
Pri0ate S1+ #orm2A.ti0ate45
On Error Res1me Ne;t
Data*%Re.ordSo1r.e 6 7sele.t distin.t .o1rse -rom st1dent2master7
Data*%Re-resh
Data*%Re.ordset%Mo0e#irst
Do <hile Data*%Re.ordset%EO# 6 #alse
Com+o*%AddItem Data*%Re.ordset4=5
Data*%Re.ordset%Mo0eNe;t
Loop
#or i 6 "ear4Date5 To *AAG Step J*
Com+o>%AddItem i
Ne;t
Call .lear
#rame>%@isi+le 6 #alse
End S1+
Pri0ate S1+ .lear45
Com+o*%Te;t 6 77
Com+o)%Te;t 6 77
Li+rar, In-ormation Maintenan.e S,stem B%
Chapter 7 Implementation and Testing
Com+o>%Te;t 6 77
Te;t*%Te;t 6 77
Te;t)%Te;t 6 77
Te;t>%Te;t 6 77
Te;tB%Te;t 6 77
Te;tG%Te;t 6 77
Te;t(%Te;t 6 77
End S1+
Pri0ate S1+ Option*2Cli.345
I- Option*%@al1e 6 Tr1e Then
Data>%Re.ordSo1r.e 6 7sele.t ? -rom st1dent2master 8here .o1rse697 :
Com+o*%Te;t : 79 and +ran.h697 : Com+o)%Te;t : 79 and +at.h67 :
@al4Com+o>%Te;t5 : 7 and gender69Male97
Data>%Re-resh
D!rid*%Re-resh
End I-
End S1+
Pri0ate S1+ Option)2Cli.345
I- Option)%@al1e 6 Tr1e Then
Data>%Re.ordSo1r.e 6 7sele.t ? -rom st1dent2master 8here .o1rse697 :
Com+o*%Te;t : 79 and +ran.h697 : Com+o)%Te;t : 79 and +at.h67 :
@al4Com+o>%Te;t5 : 7 and gender69#emale97
Data>%Re-resh
D!rid*%Re-resh
End I-
End S1+
Pri0ate S1+ Te;t*2Change45
Data>%Re.ordSo1r.e 6 7sele.t ? -rom st1dent2master 8here .o1rse697 :
Com+o*%Te;t : 79 and +ran.h697 : Com+o)%Te;t : 79 and +at.h67 :
Li+rar, In-ormation Maintenan.e S,stem B6
Chapter 7 Implementation and Testing
@al4Com+o>%Te;t5 : 7 and le-t4st1dent2name'7 : Len4Te;t*%Te;t5 :
75697 : LTrim4Te;t*%Te;t5 : 797
Data>%Re-resh
D!rid*%Re-resh
End S1+
Pri0ate S1+ Te;t)2Change45
Te;t>%Te;t 6 Te;t)%Te;t : 7L*7
Te;tB%Te;t 6 Te;t)%Te;t : 7L)7
Te;tG%Te;t 6 Te;t)%Te;t : 7L>7
Data>%Re.ordSo1r.e 6 7sele.t ? -rom st1dent2master 8here le-t4rollno'7
: Len4Te;t)%Te;t5 : 75697 : LTrim4Te;t)%Te;t5 : 797
Data>%Re-resh
D!rid*%Re-resh
End S1+
Pri0ate S1+ Te;t>2Change45
Te;tB%Te;t 6 Te;t>%Te;t : 7L*7
Te;tG%Te;t 6 Te;t>%Te;t : 7L)7
Data>%Re.ordSo1r.e 6 7sele.t ? -rom st1dent2master 8here mem2no697
: @al4Te;t>%Te;t5 : 797
Data>%Re-resh
D!rid*%Re-resh
End S1+
STA## MASTER
Dim sno As Integer
Pri0ate S1+ Com+o*2Cli.345
Li+rar, In-ormation Maintenan.e S,stem B@
Chapter 7 Implementation and Testing
Data>%Re.ordSo1r.e 6 7sele.t ? -rom sta--2master 8here dept697 :
Com+o*%Te;t : 797
Data>%Re-resh
D!rid*%Re-resh
End S1+
Pri0ate S1+ Com+o)2Cli.345
Data>%Re.ordSo1r.e 6 7sele.t ? -rom sta--2master 8here designation697 :
Com+o)%Te;t : 797
Data>%Re-resh
End S1+
Pri0ate S1+ Command*2Cli.345
9On Error oTo tD
I- Com+o*%Te;t 6 77 Or Te;t*%Te;t 6 77 Or Te;t>%Te;t 6 77 Then
a 6 Msg!o;47Enter atleast Name'Department and Mem+er ID7'
0+In-ormation E 0+O&Onl,' 7Help75
E;it S1+
End I-
Data*%Re.ordSo1r.e 6 7sele.t ? -rom sta--2master7
Data*%Re-resh
Data*%Re.ordset%AddNe8
Data*%Re.ordset4=5 6 LTrim4Com+o*%Te;t5
Data*%Re.ordset4*5 6 LTrim4Te;t*%Te;t5
Data*%Re.ordset4)5 6 LTrim4Com+o)%Te;t5
I- Option*%@al1e 6 Tr1e Then
Data*%Re.ordset4>5 6 7M7
Else
Data*%Re.ordset4>5 6 7#7
End I-
Data*%Re.ordset4B5 6 LTrim4Te;t)%Te;t5
Li+rar, In-ormation Maintenan.e S,stem BA
Chapter 7 Implementation and Testing
Data*%Re.ordset4G5 6 @al4Te;t>%Te;t5
Data*%Re.ordset4(5 6 LTrim4Te;tB%Te;t5
Data*%Re.ordset475 6 LTrim4Te;tG%Te;t5
Data*%Re.ordset4C5 6 LTrim4Te;t(%Te;t5
Data*%Re.ordset4A5 6 LTrim4Te;t7%Te;t5
Data*%Re.ordset4*=5 6 LTrim4Te;tC%Te;t5
Data*%Re.ordset4**5 6 LTrim4Te;tA%Te;t5
Data*%Re.ordset4*)5 6 LTrim4Te;t*=%Te;t5
Data*%Re.ordset%/pdate
a 6 Msg!o;47Re.ord /pdated7' 0+In-ormation E 0+O&Onl,' 7Help75
Com+o*%.lear
Data)%Re.ordSo1r.e 6 7sele.t distin.t dept -rom sta--2master7
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
Do <hile Data)%Re.ordset%EO# 6 #alse
Com+o*%AddItem Data)%Re.ordset4=5
Data)%Re.ordset%Mo0eNe;t
Loop
Com+o)%.lear
Data)%Re.ordSo1r.e 6 7sele.t distin.t designation -rom sta--2master7
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
Do <hile Data)%Re.ordset%EO# 6 #alse
Com+o)%AddItem Data)%Re.ordset4=5
Data)%Re.ordset%Mo0eNe;t
Loop
Call .lear
Li+rar, In-ormation Maintenan.e S,stem BB
Chapter 7 Implementation and Testing
E;it S1+
tD
a 6 Msg!o;47Re.ord alread, entered or t,ping error7' 0+E;.lamation E
0+O&Onl,' 7Help75
End S1+
Pri0ate S1+ Command)2Cli.345
#orm7%Sho8
/nload Me
End S1+
Pri0ate S1+ Command>2Cli.345
On Error Res1me Ne;t
DataB%Re.ordSo1r.e 6 7sele.t ? -rom sta--rep7
DataB%Re-resh
DataB%Re.ordset%Mo0e#irst
Do <hile DataB%Re.ordset%EO# 6 #alse
DataB%Re.ordset%Delete
DataB%Re.ordset%Mo0eNe;t
Loop

sno 6 =
Data)%Re.ordSo1r.e 6 7sele.t ? -rom sta--2master 8here dept697 :
LTrim4Com+o*%Te;t5 : 797
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
DataB%Re.ordSo1r.e 6 7sele.t ? -rom sta--rep7
DataB%Re-resh
Li+rar, In-ormation Maintenan.e S,stem B-
Chapter 7 Implementation and Testing
Do <hile Data)%Re.ordset%EO# 6 #alse
sno 6 sno E *
DataB%Re.ordset%AddNe8
DataB%Re.ordset4=5 6 LTrim4Com+o*%Te;t5
DataB%Re.ordset4*5 6 sno
DataB%Re.ordset4)5 6 Data)%Re.ordset4*5
DataB%Re.ordset4>5 6 Data)%Re.ordset4)5
DataB%Re.ordset4B5 6 Data)%Re.ordset4G5
DataB%Re.ordset%/pdate
Data)%Re.ordset%Mo0eNe;t
Loop
DataB%Re-resh
/nload DataEn0ironment*
DataReportB%Sho8
End S1+
Pri0ate S1+ #orm2A.ti0ate45
On Error Res1me Ne;t
Data)%Re.ordSo1r.e 6 7sele.t distin.t dept -rom sta--2master7
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
Do <hile Data)%Re.ordset%EO# 6 #alse
Com+o*%AddItem Data)%Re.ordset4=5
Data)%Re.ordset%Mo0eNe;t
Loop
Data)%Re.ordSo1r.e 6 7sele.t distin.t designation -rom sta--2master7
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
Li+rar, In-ormation Maintenan.e S,stem B1
Chapter 7 Implementation and Testing
Do <hile Data)%Re.ordset%EO# 6 #alse
Com+o)%AddItem Data)%Re.ordset4=5
Data)%Re.ordset%Mo0eNe;t
Loop
End S1+
Pri0ate S1+ #orm2Load45
Call .lear
End S1+
Pri0ate S1+ .lear45
Te;t*%Te;t 6 77
Te;t)%Te;t 6 77
Te;t>%Te;t 6 77
Te;tB%Te;t 6 77
Te;tG%Te;t 6 77
Te;t(%Te;t 6 77
Te;t7%Te;t 6 77
Te;tC%Te;t 6 77
Te;tA%Te;t 6 77
Te;t*=%Te;t 6 77
Com+o*%Te;t 6 77
Com+o)%Te;t 6 77
End S1+
Pri0ate S1+ Te;t*2Change45
Data>%Re.ordSo1r.e 6 7sele.t ? -rom sta--2master 8here le-t4sta--2name'7
: Len4Te;t*%Te;t5 : 75697 : Te;t*%Te;t : 797
Data>%Re-resh
End S1+
Li+rar, In-ormation Maintenan.e S,stem B>
Chapter 7 Implementation and Testing
Pri0ate S1+ Te;t>2Change45
Te;tB%Te;t 6 Te;t>%Te;t : 7L*7
Te;tG%Te;t 6 Te;t>%Te;t : 7L)7
Te;t(%Te;t 6 Te;t>%Te;t : 7L>7
Te;t7%Te;t 6 Te;t>%Te;t : 7LB7
Te;tC%Te;t 6 Te;t>%Te;t : 7LG7
Te;tA%Te;t 6 Te;t>%Te;t : 7L(7
Te;t*=%Te;t 6 Te;t>%Te;t : 7L77
End S1+
ISS/E REISTER
Dim sno As Integer
Pri0ate S1+ Command*2Cli.345
I- Te;t*%Te;t 6 77 Or Te;t>%Te;t 6 77 Then
a 6 Msg!o;47Enter all the -ields and .ontin1e7' 0+In-ormation E
0+O&Onl,' 7Help75
E;it S1+
End I-
Data)%Re.ordSo1r.e 6 7sele.t ? -rom iss1e7
Data)%Re-resh
Data)%Re.ordset%AddNe8
Data)%Re.ordset4=5 6 Te;t*%Te;t
Data)%Re.ordset4*5 6 Te;t)%Te;t
Data)%Re.ordset4)5 6 @al4Te;t>%Te;t5
Data)%Re.ordset4>5 6 Te;tB%Te;t
Data)%Re.ordset4B5 6 Te;tG%Te;t
Data)%Re.ordset4G5 6 DTPi.3er*%@al1e
Li+rar, In-ormation Maintenan.e S,stem B?
Chapter 7 Implementation and Testing
Data)%Re.ordset4(5 6 DateAdd47d7' @al4Te;t(%Te;t5' DTPi.3er*%@al1e5
Data)%Re.ordset475 6 7Iss1ed7
Data)%Re.ordset4C5 6 @al4Te;t(%Te;t5
Data)%Re.ordset4A5 6 LTrim4Te;t7%Te;t5

Data)%Re.ordset%/pdate

Data)%Data+ase%E;e.1te 71pdate +oo3details set stat1s69Not A0aila+le9
8here a..no67 : @al4Te;t>%Te;t5 : 7 and stat1s69A0aila+le97
Data)%Re-resh
a 6 Msg!o;47Iss1e S1..ess-1l7' 0+E;.lamation E 0+O&Onl,' 7Help75
Call .lear
Te;t*%Set#o.1s
End S1+
Pri0ate S1+ Command)2Cli.345
#orm7%Sho8
/nload Me
End S1+
Pri0ate S1+ Command>2Cli.345
On Error Res1me Ne;t
DataB%Re.ordSo1r.e 6 7sele.t ? -rom iss1erep7
DataB%Re-resh
DataB%Re.ordset%Mo0e#irst
Do <hile DataB%Re.ordset%EO# 6 #alse
DataB%Re.ordset%Delete
DataB%Re.ordset%Mo0eNe;t
Loop

sno 6 =
Li+rar, In-ormation Maintenan.e S,stem -.
Chapter 7 Implementation and Testing
Data)%Re.ordSo1r.e 6 7sele.t ? -rom iss1e 8here da,4date2o-2iss1e5F67
: Da,4DTPi.3er>%@al1e5 : 7 and month4date2o-2iss1e5F67 :
Month4DTPi.3er>%@al1e5 : 7 and ,ear4date2o-2iss1e5F67 :
"ear4DTPi.3er>%@al1e5 : 7 and da,4date2o-2iss1e5M67 :
Da,4DTPi.3erB%@al1e5 : 7 and month4date2o-2iss1e5M67 :
Month4DTPi.3erB%@al1e5 : 7 and ,ear4date2o-2iss1e5M67 :
"ear4DTPi.3erB%@al1e5 : 7 order +, a..no7
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
DataB%Re.ordSo1r.e 6 7sele.t ? -rom iss1erep7
DataB%Re-resh
Do <hile Data)%Re.ordset%EO# 6 #alse
sno 6 sno E *
DataB%Re.ordset%AddNe8
DataB%Re.ordset4=5 6 Data)%Re.ordset4G5
DataB%Re.ordset4*5 6 sno
DataB%Re.ordset4)5 6 Data)%Re.ordset4=5
DataB%Re.ordset4>5 6 Data)%Re.ordset4*5
DataB%Re.ordset4B5 6 Data)%Re.ordset4)5
DataB%Re.ordset4G5 6 Data)%Re.ordset4>5
DataB%Re.ordset4(5 6 Data)%Re.ordset4B5
DataB%Re.ordset475 6 Data)%Re.ordset4(5
DataB%Re.ordset%/pdate
Data)%Re.ordset%Mo0eNe;t
Loop
DataB%Re-resh
/nload DataEn0ironment*
Li+rar, In-ormation Maintenan.e S,stem -%
Chapter 7 Implementation and Testing
DataReportG%Sho8
End S1+
Pri0ate S1+ CommandB2Cli.345
#rameB%@isi+le 6 #alse
#rame*%Ena+led 6 Tr1e
#rame)%Ena+led 6 Tr1e
#rame>%Ena+led 6 #alse


End S1+
Pri0ate S1+ CommandG2Cli.345
#rame*%Ena+led 6 #alse
#rame)%Ena+led 6 #alse
#rame>%Ena+led 6 #alse
#rameB%@isi+le 6 Tr1e
End S1+
Pri0ate S1+ Command(2Cli.345
Data*%Data+ase%E;e.1te 71pdate iss1e set .ategor,69St1dent97
Data*%Re-resh
End S1+
Pri0ate S1+ D!rid*2&e,Press4&e,As.ii As Integer5
9On Error Res1me Ne;t
9Dim d As Date
9I- &e,As.ii 6 *> Then
9 a 6 Msg!o;47Do ,o1 8ant to ret1rn the +oo37' 0+I1estion E 0+"esNo'
7Help75
Li+rar, In-ormation Maintenan.e S,stem -6
Chapter 7 Implementation and Testing
9 I- a 6 0+"es Then
9 Data>%Re.ordset%Edit
9 Data>%Re.ordset475 6 7Ret1rned7
9 d 6 Inp1t!o;47Enter the ret1rn date75
9 d 6 #ormat4d' 7mmLddL,,,,75
9 Data>%Re.ordset4C5 6 d
9 Data>%Re.ordset%/pdate
9 Data)%Data+ase%E;e.1te 71pdate +oo3details set stat1s69A0aila+le9
8here a..no67 : Data>%Re.ordset4)5 : 7 and stat1s69Not A0aila+le97
9 Data)%Re-resh
9 End I-
9 End I-
End S1+
Pri0ate S1+ DTPi.3er*2Change45
DTPi.3er)%@al1e 6 DateAdd47d7' @al4Te;t(%Te;t5' DTPi.3er*%@al1e5
End S1+
Pri0ate S1+ DTPi.3er*2Cli.345
DTPi.3er)%@al1e 6 DateAdd47d7' @al4Te;t(%Te;t5' DTPi.3er*%@al1e5
End S1+
Pri0ate S1+ #orm2A.ti0ate45
Call .lear
#rameB%@isi+le 6 #alse
DTPi.3er>%@al1e 6 Date
DTPi.3erB%@al1e 6 Date
End S1+
Pri0ate S1+ #orm2Load45
Te;t(%Te;t 6 *B
Li+rar, In-ormation Maintenan.e S,stem -@
Chapter 7 Implementation and Testing
DTPi.3er*%@al1e 6 Date
DTPi.3er)%@al1e 6 DateAdd47d7' @al4Te;t(%Te;t5' DTPi.3er*%@al1e5
End S1+
Pri0ate S1+ Te;t*2Change45
On Error oTo tD
I- Te;t*%Te;t 6 77 Then
Te;t7%Te;t 6 77
E;it S1+
End I-
Data*%Re.ordSo1r.e 6 7sele.t
mem2no'-irst2to3en'se.ond2to3en'st1dent2name -rom st1dent2master7
Data*%Re-resh
Data*%Re.ordset%Mo0e#irst
Do <hile Data*%Re.ordset%EO# 6 #alse
I- /Case4Data*%Re.ordset4=55 6 /Case4Te;t*%Te;t5 Or
/Case4Data*%Re.ordset4*55 6 /Case4Te;t*%Te;t5 Or
/Case4Data*%Re.ordset4)55 6 /Case4Te;t*%Te;t5 Then
Te;t)%Te;t 6 Data*%Re.ordset4>5
La+el)%Caption 6 7St1dent Name7
Te;t7%Te;t 6 7St1dent7
E;it S1+
End I-
Data*%Re.ordset%Mo0eNe;t
Loop

Data*%Re.ordSo1r.e 6 7sele.t mem+er2id't*'t)'t>'tB'tG't('t7'sta--2name
-rom sta--2master7
Data*%Re-resh
Data*%Re.ordset%Mo0e#irst
Do <hile Data*%Re.ordset%EO# 6 #alse
Li+rar, In-ormation Maintenan.e S,stem -A
Chapter 7 Implementation and Testing
I- Data*%Re.ordset4=5 6 @al4Te;t*%Te;t5 Or Data*%Re.ordset4*5 6
Te;t*%Te;t Or Data*%Re.ordset4)5 6 Te;t*%Te;t Or Data*%Re.ordset4>5 6
Te;t*%Te;t Or Data*%Re.ordset4B5 6 Te;t*%Te;t Or Data*%Re.ordset4G5 6
Te;t*%Te;t Or Data*%Re.ordset4(5 6 Te;t*%Te;t Or Data*%Re.ordset475 6
Te;t*%Te;t Or Data*%Re.ordset4C5 6 Te;t*%Te;t Then
Te;t)%Te;t 6 Data*%Re.ordset4C5
La+el)%Caption 6 7Sta-- Name7
Te;t7%Te;t 6 7Sta--7
E;it S1+
End I-
Data*%Re.ordset%Mo0eNe;t
Loop
tD
Te;t)%Te;t 6 77
Te;t7%Te;t 6 77
La+el)%Caption 6 7Name7
End S1+
Pri0ate S1+ Te;t*2&e,Press4&e,As.ii As Integer5
I- &e,As.ii 6 *> Then
Data>%Re.ordSo1r.e 6 7sele.t ? -rom iss1e 8here mem+er2id697 :
Te;t*%Te;t : 79 and stat1s69Iss1ed97
Data>%Re-resh
End I-
End S1+
Pri0ate S1+ Te;t>2Change45
On Error Res1me Ne;t
Data*%Re.ordSo1r.e 6 7sele.t title'a1thor -rom +oo3details 8here
a..no67 : @al4Te;t>%Te;t5 : 7 and stat1s69A0aila+le97
Data*%Re-resh
Data*%Re.ordset%Mo0e#irst
Te;tB%Te;t 6 Data*%Re.ordset4=5
Li+rar, In-ormation Maintenan.e S,stem -B
Chapter 7 Implementation and Testing
Te;tG%Te;t 6 Data*%Re.ordset4*5
Data>%Re.ordSo1r.e 6 7sele.t ? -rom iss1e 8here a..no67 :
@al4Te;t>%Te;t5 : 7 and stat1s69Iss1ed97
Data>%Re-resh
End S1+
Pri0ate S1+ Te;t(2Change45
DTPi.3er)%@al1e 6 DateAdd47d7' @al4Te;t(%Te;t5' DTPi.3er*%@al1e5
End S1+
Pri0ate S1+ .lear45
Te;t*%Te;t 6 77
Te;t)%Te;t 6 77
Te;t>%Te;t 6 77
Te;tB%Te;t 6 77
Te;tG%Te;t 6 77
Te;t7%Te;t 6 77
End S1+
RET/RN REISTER
Pri0ate S1+ Command*2Cli.345
On Error Res1me Ne;t
I- Te;t*%Te;t 6 77 Then
E;it S1+
End I-
a 6 Msg!o;47Are ,o1 s1re to ret1rn7' 0+I1estion E 0+"esNo' 7Help75
I- a 6 0+"es Then
Data)%Re.ordSo1r.e 6 7sele.t ? -rom ret1rn7
Data)%Re-resh
Data)%Re.ordset%AddNe8
Data)%Re.ordset4=5 6 @al4Te;t*%Te;t5
Li+rar, In-ormation Maintenan.e S,stem --
Chapter 7 Implementation and Testing
Data)%Re.ordset4*5 6 Data*%Re.ordset4)5
Data)%Re.ordset4)5 6 Data*%Re.ordset4>5
Data)%Re.ordset4>5 6 Data*%Re.ordset4*5
Data)%Re.ordset4B5 6 Data*%Re.ordset4=5
Data)%Re.ordset4G5 6 Data*%Re.ordset4B5
Data)%Re.ordset4(5 6 Data*%Re.ordset4G5
Data)%Re.ordset475 6 DTPi.3er*%@al1e
Data)%Re.ordset4C5 6 @al4Te;t>%Te;t5
Data)%Re.ordset%/pdate
a 6 Msg!o;47!oo3 Ret1rned7' 0+In-ormation E 0+O&Onl,' 7Help75
Data>%Data+ase%E;e.1te 71pdate iss1e set stat1s69Ret1rned9 8here
a..no67 : @al4Te;t*%Te;t5 : 7 and stat1s69Iss1ed97
Data>%Re-resh
Data>%Data+ase%E;e.1te 71pdate +oo3details set stat1s69A0aila+le9 8here
a..no67 : @al4Te;t*%Te;t5 : 7 and stat1s69Not A0aila+le97
Data>%Re-resh
Te;t*%Te;t 6 77
Te;t)%Te;t 6 77
Te;t>%Te;t 6 77
Command*%Ena+led 6 #alse
End I-
End S1+
Pri0ate S1+ Command)2Cli.345
#orm7%Sho8
/nload Me
End S1+
Pri0ate S1+ Command>2Cli.345
#ormA%Sho8
Li+rar, In-ormation Maintenan.e S,stem -1
Chapter 7 Implementation and Testing
End S1+
Pri0ate S1+ DTPi.3er*2Change45
On Error Res1me Ne;t
Te;t>%Te;t 6 DateDi--47d7' DTPi.3er*%@al1e' Data*%Re.ordset4G55
I- Te;t>%Te;t F6 = Then
Te;t)%Te;t 6 =
E;it S1+
End I-
I- Te;t>%Te;t M = Then
Te;t>%Te;t 6 DateDi--47d7' Data*%Re.ordset4G5' DTPi.3er*%@al1e5
Te;t)%Te;t 6 @al4Te;t>%Te;t5 ? =%G
E;it S1+
End I-
End S1+
Pri0ate S1+ DTPi.3er*2Cli.345
On Error Res1me Ne;t
Te;t>%Te;t 6 DateDi--47d7' DTPi.3er*%@al1e' Data*%Re.ordset4G55
End S1+
Pri0ate S1+ #orm2Load45
Command*%Ena+led 6 #alse
End S1+
Pri0ate S1+ Te;t*2&e,Press4&e,As.ii As Integer5
On Error oTo tD
I- &e,As.ii 6 *> Then
Data*%Re.ordSo1r.e 6 7sele.t
sta--2st1dent'mem+er2id'title'a1thor'Date2o-2iss1e'd1e2date -rom iss1e
8here a..no67 : @al4Te;t*%Te;t5 : 7 and stat1s69Iss1ed97
Data*%Re-resh
Data*%Re.ordset%Mo0e#irst
Li+rar, In-ormation Maintenan.e S,stem ->
Chapter 7 Implementation and Testing
Command*%Ena+led 6 Tr1e
D!rid*%Re-resh
End I-
E;it S1+
tD
End S1+
NO/RNAL ENTR"
Pri0ate S1+ Com+o*2Change45
Data)%Re.ordSo1r.e 6 7sele.t ? -rom Oo1rnal 8here le-t4periodi.it,'7 :
Len4Com+o*%Te;t5 : 75697 : Com+o*%Te;t : 797
Data)%Re-resh
D!rid*%Re-resh
End S1+
Pri0ate S1+ Com+o)2Change45
Data)%Re.ordSo1r.e 6 7sele.t ? -rom Oo1rnal 8here le-t4editor2name'7 :
Len4Com+o)%Te;t5 : 75697 : Com+o)%Te;t : 797
Data)%Re-resh
D!rid*%Re-resh
End S1+
Pri0ate S1+ Com+o>2Change45
Data)%Re.ordSo1r.e 6 7sele.t ? -rom Oo1rnal 8here
le-t4national2international'7 : Len4Com+o>%Te;t5 : 75697 :
Com+o>%Te;t : 797
Data)%Re-resh
D!rid*%Re-resh
Li+rar, In-ormation Maintenan.e S,stem -?
Chapter 7 Implementation and Testing
End S1+
Pri0ate S1+ Com+oB2Change45
Data)%Re.ordSo1r.e 6 7sele.t ? -rom Oo1rnal 8here le-t4.ategor,'7 :
Len4Com+oB%Te;t5 : 75697 : Com+oB%Te;t : 797
Data)%Re-resh
D!rid*%Re-resh
End S1+
Pri0ate S1+ Command*2Cli.345
I- Te;t*%Te;t 6 77 Or Te;t)%Te;t 6 77 Or Com+oB%Te;t 6 77 Or Te;tB%Te;t
6 77 Or Com+o*%Te;t 6 77 Or Com+o)%Te;t 6 77 Or Com+o>%Te;t 6 77
Then
a 6 Msg!o;47Enter all the -ields7' 0+In-ormation E 0+O&Onl,' 7Help75
E;it S1+
End I-
Data*%Re.ordSo1r.e 6 7sele.t ? -rom Oo1rnal7
Data*%Re-resh
Data*%Re.ordset%AddNe8
Data*%Re.ordset4=5 6 Te;t*%Te;t
Data*%Re.ordset4*5 6 Te;t)%Te;t
Data*%Re.ordset4)5 6 Com+o*%Te;t
Data*%Re.ordset4>5 6 DTPi.3er*%@al1e
Data*%Re.ordset4B5 6 @al4Te;tB%Te;t5
Data*%Re.ordset4G5 6 Te;tG%Te;t
Data*%Re.ordset4(5 6 Te;t(%Te;t
Data*%Re.ordset475 6 Te;t7%Te;t
Data*%Re.ordset4C5 6 Com+o)%Te;t
Data*%Re.ordset4A5 6 Com+o>%Te;t
Data*%Re.ordset4*=5 6 Te;tC%Te;t
Data*%Re.ordset4**5 6 Com+oB%Te;t
Li+rar, In-ormation Maintenan.e S,stem 1.
Chapter 7 Implementation and Testing
Data*%Re.ordset4*)5 6 DTPi.3er)%@al1e
Data*%Re.ordset%/pdate
Call .lear
Data*%Re.ordSo1r.e 6 7sele.t distin.t .ategor, -rom Oo1rnal7
Data*%Re-resh
Do <hile Data*%Re.ordset%EO# 6 #alse
Com+oB%AddItem Data*%Re.ordset4=5
Data*%Re.ordset%Mo0eNe;t
Loop
Data*%Re.ordSo1r.e 6 7sele.t distin.t periodi.it, -rom Oo1rnal7
Data*%Re-resh
Do <hile Data*%Re.ordset%EO# 6 #alse
Com+o*%AddItem Data*%Re.ordset4=5
Data*%Re.ordset%Mo0eNe;t
Loop
Data*%Re.ordSo1r.e 6 7sele.t distin.t editor2name -rom Oo1rnal7
Data*%Re-resh
Do <hile Data*%Re.ordset%EO# 6 #alse
Com+o)%AddItem Data*%Re.ordset4=5
Data*%Re.ordset%Mo0eNe;t
Loop
Data*%Re.ordSo1r.e 6 7sele.t distin.t national2international -rom
Oo1rnal7
Data*%Re-resh
Do <hile Data*%Re.ordset%EO# 6 #alse
Com+o>%AddItem Data*%Re.ordset4=5
Data*%Re.ordset%Mo0eNe;t
Li+rar, In-ormation Maintenan.e S,stem 1%
Chapter 7 Implementation and Testing
Loop
a 6 Msg!o;47Re.ord /pdated S1..ess-1ll,7' 0+E;.lamation E 0+O&Onl,'
7Help75
End S1+
Pri0ate S1+ Command)2Cli.345
#orm7%Sho8
/nload Me
End S1+
Pri0ate S1+ #orm2Load45
Call .lear
Data*%Re.ordSo1r.e 6 7sele.t distin.t .ategor, -rom Oo1rnal7
Data*%Re-resh
Do <hile Data*%Re.ordset%EO# 6 #alse
Com+oB%AddItem Data*%Re.ordset4=5
Data*%Re.ordset%Mo0eNe;t
Loop
Data*%Re.ordSo1r.e 6 7sele.t distin.t periodi.it, -rom Oo1rnal7
Data*%Re-resh
Do <hile Data*%Re.ordset%EO# 6 #alse
Com+o*%AddItem Data*%Re.ordset4=5
Data*%Re.ordset%Mo0eNe;t
Loop
Data*%Re.ordSo1r.e 6 7sele.t distin.t editor2name -rom Oo1rnal7
Data*%Re-resh
Do <hile Data*%Re.ordset%EO# 6 #alse
Li+rar, In-ormation Maintenan.e S,stem 16
Chapter 7 Implementation and Testing
Com+o)%AddItem Data*%Re.ordset4=5
Data*%Re.ordset%Mo0eNe;t
Loop
Data*%Re.ordSo1r.e 6 7sele.t distin.t national2international -rom
Oo1rnal7
Data*%Re-resh
Do <hile Data*%Re.ordset%EO# 6 #alse
Com+o>%AddItem Data*%Re.ordset4=5
Data*%Re.ordset%Mo0eNe;t
Loop
End S1+
Pri0ate S1+ .lear45
Te;t*%Te;t 6 77
Te;t)%Te;t 6 77
Te;tB%Te;t 6 77
Te;tG%Te;t 6 77
Te;t(%Te;t 6 77
Te;t7%Te;t 6 77
Te;tC%Te;t 6 77
Com+o*%Te;t 6 77
Com+o)%Te;t 6 77
Com+o>%Te;t 6 77
Com+oB%Te;t 6 77
End S1+
Pri0ate S1+ Te;t*2Change45
Li+rar, In-ormation Maintenan.e S,stem 1@
Chapter 7 Implementation and Testing
Data)%Re.ordSo1r.e 6 7sele.t ? -rom Oo1rnal 8here le-t4Oo1rnal2name'7
: Len4Te;t*%Te;t5 : 75697 : Te;t*%Te;t : 797
Data)%Re-resh
D!rid*%Re-resh
End S1+
ST/DENT LO REISTER
Pri0ate S1+ Command(2Cli.345
#rameB%@isi+le 6 Tr1e
End S1+
Pri0ate S1+ Command72Cli.345
Data)%Re.ordSo1r.e 6 7Sele.t ? -rom log2register 8here da,4dated567 :
Da,4DTPi.3er*%@al1e5 : 7 and month4dated567 :
Month4DTPi.3er*%@al1e5 : 7 and ,ear4dated567 :
"ear4DTPi.3er*%@al1e5
Data)%Re-resh
D!rid*%Re-resh
End S1+
Pri0ate S1+ CommandC2Cli.345
#rameB%@isi+le 6 #alse
End S1+
Pri0ate S1+ Command*2Cli.345
Data*%Re.ordSo1r.e 6 7sele.t ? -rom log2register 8here mem+er2id697 :
LTrim4Te;t*%Te;t5 : 79 and da,4dated567 : Da,4#ormat4Te;tB%Te;t'
Li+rar, In-ormation Maintenan.e S,stem 1A
Chapter 7 Implementation and Testing
7mmLddL,,,,755 : 7 and month4dated567 : Month4#ormat4Te;tB%Te;t'
7mmLddL,,,,755 : 7 and ,ear4dated567 : "ear4#ormat4Te;tB%Te;t'
7mmLddL,,,,755 : 7 and time2o1t6n1ll7
Data*%Re-resh
I- Data*%Re.ordset%Re.ordCo1nt F = Then
E;it S1+
Else
d 6 0+Date
Data*%Re.ordSo1r.e 6 7sele.t ? -rom log2register7
Data*%Re-resh
Data*%Re.ordset%AddNe8
Data*%Re.ordset4=5 6 #ormat4Te;tB%Te;t' 7mmLddL,,,,75
Data*%Re.ordset4*5 6 LTrim4Te;t*%Te;t5
Data*%Re.ordset4)5 6 La+el)%Caption
Data*%Re.ordset4>5 6 Time
Data*%Re.ordset4G5 6 LTrim4Te;t)%Te;t5
Data*%Re.ordset%/pdate
Te;t*%Te;t 6 77
Te;t)%Te;t 6 77
Option>%@al1e 6 #alse
OptionB%@al1e 6 #alse
#rame*%@isi+le 6 #alse
End I-
End S1+
Pri0ate S1+ Command)2Cli.345
#orm7%Sho8
/nload Me
End S1+
Li+rar, In-ormation Maintenan.e S,stem 1B
Chapter 7 Implementation and Testing
Pri0ate S1+ Command>2Cli.345
Option>%@al1e 6 #alse
OptionB%@al1e 6 #alse
#rame*%@isi+le 6 #alse
End S1+
Pri0ate S1+ CommandB2Cli.345
On Error oTo tD
Data*%Re.ordSo1r.e 6 7sele.t ? -rom log2register 8here mem+er2id697 :
LTrim4Te;t>%Te;t5 : 79 and time2o1t6n1ll7
Data*%Re-resh
Data*%Re.ordset%Mo0e#irst
Data*%Re.ordset%Edit
Data*%Re.ordset4B5 6 Time
Data*%Re.ordset%/pdate
Te;t>%Te;t 6 77
Option>%@al1e 6 #alse
OptionB%@al1e 6 #alse
#rame>%@isi+le 6 #alse
tD
End S1+
Pri0ate S1+ CommandG2Cli.345
Option>%@al1e 6 #alse
OptionB%@al1e 6 #alse
#rame>%@isi+le 6 #alse
End S1+
Pri0ate S1+ #orm2A.ti0ate45
#rameB%@isi+le 6 #alse
La+el)%Caption 6 7<ELCOME7
#rame*%@isi+le 6 #alse
Li+rar, In-ormation Maintenan.e S,stem 1-
Chapter 7 Implementation and Testing
#rame>%@isi+le 6 #alse
Option>%@al1e 6 #alse
OptionB%@al1e 6 #alse
Te;tB%Te;t 6 #ormat40+Date' 7ddLmmL,,,,75
End S1+
Pri0ate S1+ Option>2Cli.345
I- Option>%@al1e 6 Tr1e Then

#rame*%@isi+le 6 Tr1e
#rame>%@isi+le 6 #alse
End I-
End S1+
Pri0ate S1+ OptionB2Cli.345
I- OptionB%@al1e 6 Tr1e Then
#rame>%@isi+le 6 Tr1e
#rame*%@isi+le 6 #alse

End I-
End S1+
Pri0ate S1+ Te;t*2Change45
On Error oTo tD
I- Te;t*%Te;t 6 77 Then
La+el)%Caption 6 7<ELCOME7
E;it S1+
End I-
Data*%Re.ordSo1r.e 6 7sele.t st1dent2name -rom st1dent2master 8here
rollno697 : LTrim4Te;t*%Te;t5 : 797
Data*%Re-resh
I- Data*%Re.ordset%Re.ordCo1nt F = Then
Li+rar, In-ormation Maintenan.e S,stem 11
Chapter 7 Implementation and Testing
Data*%Re.ordset%Mo0e#irst
La+el)%Caption 6 7St1dent NameD 7 : Data*%Re.ordset4=5
E;it S1+
Else
Data*%Re.ordSo1r.e 6 7sele.t sta--2name -rom sta--2master 8here
mem+er2id67 : @al4Te;t*%Te;t5
Data*%Re-resh
I- Data*%Re.ordset%Re.ordCo1nt F = Then
La+el)%Caption 6 7Sta-- NameD 7 : Data*%Re.ordset4=5
End I-
E;it S1+
End I-
tD
La+el)%Caption 6 7<ELCOME7
End S1+
LOIN #ORM
P1+li. LoginS1..eeded As !oolean
Pri0ate S1+ .mdCan.el2Cli.345
9set the glo+al 0ar to -alse
9to denote a -ailed login
End
End S1+
Pri0ate S1+ .mdO&2Cli.345
9.he.3 -or .orre.t pass8ord
I- t;tPass8ord 6 7is+n7 Then
Li+rar, In-ormation Maintenan.e S,stem 1>
Chapter 7 Implementation and Testing
9pla.e .ode to here to pass the
9s1..ess to the .alling s1+
9setting a glo+al 0ar is the easiest
#orm7%Sho8
/nload Me
Else
Msg!o; 7In0alid Pass8ord' tr, againP7' ' 7Login7
t;tPass8ord%Set#o.1s
Send&e,s 7QHomeREQEndR7
End I-
End S1+
Li+rar, In-ormation Maintenan.e S,stem 1?
Chapter 7 Implementation and Testing
!OO& DETAILS REPORT
Pri0ate S1+ Command*2Cli.345
I- Option*%@al1e 6 Tr1e Then
DataReport*%Sho8
End I-
I- Option)%@al1e 6 Tr1e Then
/nload DataEn0ironment*
DataEn0ironment*%Command)2ro1ping Com+o*%Te;t
DataReport)%Sho8
End I-
End S1+
Pri0ate S1+ Command)2Cli.345
#orm7%Sho8
/nload Me
End S1+
Pri0ate S1+ #orm2A.ti0ate45
Data*%Re.ordSo1r.e 6 7sele.t distin.t .ategor, -rom +oo3details7
Data*%Re-resh
Data*%Re.ordset%Mo0e#irst
Do <hile Data*%Re.ordset%EO# 6 #alse
Com+o*%AddItem Data*%Re.ordset4=5
Data*%Re.ordset%Mo0eNe;t
Loop
End S1+
NON RET/RN DETAILS REPORT
Li+rar, In-ormation Maintenan.e S,stem >.
Chapter 7 Implementation and Testing
Dim sno As Integer
Pri0ate S1+ Command*2Cli.345
On Error Res1me Ne;t
Data)%Re.ordSo1r.e 6 7sele.t ? -rom ret1rnrep7
Data)%Re-resh
Data)%Re.ordset%Mo0e#irst
Do <hile Data)%Re.ordset%EO# 6 #alse
Data)%Re.ordset%Delete
Data)%Re.ordset%Mo0eNe;t
Loop
Data)%Re.ordSo1r.e 6 7sele.t ? -rom ret1rnrep7
Data)%Re-resh
sno 6 =
I- Option*%@al1e 6 Tr1e Then
I- Che.3>%@al1e 6 0+Che.3ed Then
Data*%Re.ordSo1r.e 6 7sele.t ? -rom iss1e 8here .ategor,69St1dent9
and stat1s69Iss1ed9 and da,4d1e2date567 : Da,4DTPi.3er*%@al1e5 : 7
and month4d1e2date567 : Month4DTPi.3er*%@al1e5 : 7 and
,ear4d1e2date567 : "ear4DTPi.3er*%@al1e5 : 7 order +, mem+er2id7
Data*%Re-resh
Data*%Re.ordset%Mo0e#irst
Do <hile Data*%Re.ordset%EO# 6 #alse
sno 6 sno E *
Data)%Re.ordset%AddNe8
Data)%Re.ordset4=5 6 DTPi.3er*%@al1e
Data)%Re.ordset4*5 6 Data*%Re.ordset4A5
Data)%Re.ordset4)5 6 sno
Data)%Re.ordset4>5 6 Data*%Re.ordset4*5
Data)%Re.ordset4B5 6 Data*%Re.ordset4=5
Li+rar, In-ormation Maintenan.e S,stem >%
Chapter 7 Implementation and Testing
Data)%Re.ordset4G5 6 Data*%Re.ordset4)5
Data)%Re.ordset4(5 6 Data*%Re.ordset4>5
Data)%Re.ordset475 6 Data*%Re.ordset4B5
Data)%Re.ordset%/pdate

Data*%Re.ordset%Mo0eNe;t
Loop

End I-




End I-
I- Option)%@al1e 6 Tr1e Then
I- Che.3>%@al1e 6 0+Che.3ed Then
Data*%Re.ordSo1r.e 6 7sele.t ? -rom iss1e 8here .ategor,69Sta--9
and stat1s69Iss1ed9 and da,4d1e2date567 : Da,4DTPi.3er*%@al1e5 : 7
and month4d1e2date567 : Month4DTPi.3er*%@al1e5 : 7 and
,ear4d1e2date567 : "ear4DTPi.3er*%@al1e5 : 7 order +, mem+er2id7
Data*%Re-resh
Data*%Re.ordset%Mo0e#irst
Do <hile Data*%Re.ordset%EO# 6 #alse
sno 6 sno E *
Data)%Re.ordset%AddNe8
Data)%Re.ordset4=5 6 DTPi.3er*%@al1e
Data)%Re.ordset4*5 6 Data*%Re.ordset4A5
Data)%Re.ordset4)5 6 sno
Data)%Re.ordset4>5 6 Data*%Re.ordset4*5
Data)%Re.ordset4B5 6 Data*%Re.ordset4=5
Li+rar, In-ormation Maintenan.e S,stem >6
Chapter 7 Implementation and Testing
Data)%Re.ordset4G5 6 Data*%Re.ordset4)5
Data)%Re.ordset4(5 6 Data*%Re.ordset4>5
Data)%Re.ordset475 6 Data*%Re.ordset4B5
Data)%Re.ordset%/pdate

Data*%Re.ordset%Mo0eNe;t
Loop
End I-

End I-
9I- Option*%@al1e 6 Tr1e Then
Data)%Re-resh
Data*%Re-resh
/nload DataEn0ironment*
DataReport(%Sho8
9End I-
End S1+
Pri0ate S1+ Command)2Cli.345
#orm7%Sho8
/nload Me
End S1+
Pri0ate S1+ #orm2Load45
End S1+
LO REISTER REPORT
Li+rar, In-ormation Maintenan.e S,stem >@
Chapter 7 Implementation and Testing
Pri0ate S1+ Command*2Cli.345
/nload DataEn0ironment*
DataEn0ironment*%Command*=2ro1ping DTPi.3er*%@al1e
DataReportC%Sho8
End S1+
Pri0ate S1+ Command)2Cli.345
#orm7%Sho8
/nload Me
End S1+
Li+rar, In-ormation Maintenan.e S,stem >A

Вам также может понравиться