Vous êtes sur la page 1sur 120

A

ON

Submitted in partial fulfillment of the requirement for the award of Degree of


BACHELOR OF COMPUTER APPLICATION (BCA)

SUBMITTED TO Depart e!t "# C" p$ter S%&e!%e

SUBMITTED TO
MR. PRAMOD SHARMA AVNEESH KUMAR ROBIN GOSWAMI

SUBMITTED BY SONU KUMAR

SUBMITTED AT

SHRI RAM GROUP OF COLLEGES

We would like to take this opportunity to express our gratitude towards all the people who have in various ways, helped in the successful completion of our project. We must convey our gratitude to Mr. PRAMOD SHARMA for giving our constant source of inspiration and help in preparing the project, personally correcting we work and providing encouragement throughout the project. We also thank all our faculty members for steering we through the tough as well as easy phases of the project in a result oriented manner with concern attention.

DATE'

SONU KUMAR AVNEESH KUMAR ROBIN GOSWAMI

DECLARATION
We are the students of BCA 6th sem. of Shri Ram College, Muzaffarnagar (Affiliated to C.C.S. University, Meerut). Hereby declare that the project report on banking system is our original work. We also declare that we have done our work self accurately even then if over mistake or error had kept in, we request to our faculties to points out these error and guide our to remove these error for our future. We are also thankful for our faculties.

CERTIFICATE

his is to certify that !r. SONU KUMAR, S"# Sh. $A! %#&A' !r. AVNEESH KUMAR, S"#(Sh. !A)*&A' S*+%), !r. ROBIN GOSWAMI, S"# ( Sh. $A A+ %#SWA!*., students of ,.-.A. .*th semester in Shri $am -ollege, !u/affarnagar has completed the project titled 0BANKING SYSTEM( 0 his project is a part of course curriculum. * found this project satisfactory and * wish him"her a bright future for his"her career. #ur college is affiliated to -.-.S. 1niversity.

Mr. N&)*a!t Rat*& (H.O.D.)

Mr. Pra "+ K$ ar (S$per,&)"r)

itle 2cover page3 itle of the &roject Acknowledgement -ertificate from Study -enter -ontents *ntroduction System #bjectives &roblem 4efinition &roject Analysis 5easibility study -ost 6 benefit analysis &roject 4esign System Analysis 4esign )ints 6 %uidelines System 4esign 6 4evelopment System 4esign System 4evelopment 4ata Structure 4iagram ables 4escription -oding System 7valuation and esting System *mplementation System !aintenance
6

System 4ocumentation %lossary ,ibliography

INTRODUCTION
COMPUTERI-ED BANKING SYSTEM is a tool that it provides effi ient servi es to its Customers. !he various types of operations and dealings ta"e pla es in the Ban". But #e had underta"en the #or" of Computerization of $e# A%C, &rafts and Staff Management #hi h overs the a tivities related to Ban", ' All !ypes of a tivities orresponds to the Customer, !hese (perations #as manually operated )y the ler"s and Manager and the operations #ere really time onsuming tas" to perform. !he present system #ill help them a lot.

System design is a solution, 0)ow to approach 8 to the creation of a new system. his important phase is composed of several steps. *t provides the understanding and procedural feasibility study. 4esign gose through a logical and physical stage of development. 'ogical design reviews the present physical system, prepares input 9 output specification, makes edit, security and control specification, detail implementation plans, prepares a logical design walkthrough. he physical design maps out the details of the physical system, plans the system implementation and specifies any new hardware and software. System design is a highly created process that can be greatly facilitated by the following: Strong problem definition, &ictorial description of the existing system, and Set of requirements of the new system.

*nput &esign

he most common cause of errors in data processing is inaccurate input data errors entered by the data entry operator. *t can be controlled by the input design. *nput design is the process of converting user oriented inputs to the computer based formats. he goal of the input design is to make data entry as easy, logical and free from as many errors as possible.

(utput &esign
-omputers are the most important sources of information to the users are fed into the computers to acquire the necessary outputs. he computers can provide the we enough output in the form of information regarding various items to the users. he major form of output is a hard copy from the printer. &rintouts are designed around the output requirements of the user2s3.

*nterfa e &esign
5orms are designed to control the redundancy, increased operator accuracy maximum readability, easy data entry and elimination of unnecessary data to provide easier checking and correction of data. ;eeping in view the user<s requirements, the input"output forms have been designed and developed for easy data entry and query handling. ,ased on the various types of inputs to be fed into the computer in using this system, several inputs forms have been designed to make data entry easier and accurate.

&ata)ase &esign
he collection of data is usually referred to as the database. he database contains information about the particular enterprise. 4atabase systems are designed to manage larger bodies of information.
9

he management of data involves both the definition of the structures for the storage of the information and the provision for the mechanism to manipulate the information. *n addition the database system must provide the safety of the information stored in the database, despite system crashes or attempts at unauthori/ed access.

he definition of our problem lies in manual system and a fully automated system.

Ma!$a. )/)te '


he system is very time consuming and la/y. his system is more prone to errors and sometimes the approach to various problems is unstructured.

Te%*!&%a. )/)te '


With the advent of latest technology if we do not update our system then our business result in losses gradually with time. he technical systems contains the tools of latest trend i.e. computers printers, fax, *nternet etc. he systems with this technology are very fast, accurate, user=friendly and reliable..

Nee+ "# 0a!1&!2 )/)te '


A few factors that direct us to develop a new system are given below =: >3 5aster System ?3 Accuracy @3 $eliability A3 *nformative B3 -ancellations

10

FEASIBILITY STUDY'3
5easibility study before development or customi/ation of software we think following of the major points, which includes following: = a) 0) %) E%"!" &%a. Te%*!&%a. D$rat&"!

E%"!" &%a.'3
his study about the software basically give the suggestion like if we develop software for our organi/ation than how much it will forfeitable, workable as well as economical. *f we developing a software which very economical but not profitable there it is also wrong decision. So for we economical study about the system table following of the point. )ow much costing of the softwareC What is the output of the customi/ationC What are the advantages in compression manual we check Whether it is time or notC Whether it is use friendly or notC *t is mountable for long term. 1nderstanding about the software -orrective of software.
11

Te%*!&%a.'3

We also consider some technical points about development of software. We see whether the software is reliable or not. Whether it is work time for long time or not. What are the languages as well as #S is used for development of software. *t provides security or not. Software is reusable or not. Software is updated or not. Software is flexible or not whether software can maintain.

D$rat&"!'3
*t is also a major point when we develop software. We also consider about time, how much time software place to complete because for a big organi/ation time factor is money for full successful of the software also software. ax some times so we have consider from starting to last that means beginning to

12

13

ORGANISATION CHART
Computerized banking system
Manage Accounts

MANAGER
S %&&

"odi'y Sta'' CUS !"#$

14

*n developing cost estimates for a system, we need to consider servable cost elements. Among them hardware, personnel, facility, operating, 6 supply costs.

Har+4are C")t'3
)ardware cost relate to the actual purchase or lease of the computer 6 peripherals 7x. &rinter, disk, floppy drive, the best way to control for this cost is to treat it as an operating cost.

Per)"!!e. C")t'3
his includes staff salaries 6 benefits 2health insurance, vocation time, sick pay etc.3 as well as pay for those involved in developing system. -osts incurred during the development of a system are one time costs 6 are labeled developmental costs. #nce the system is installed the costs of operating 6maintaining the system become recurring costs.

Fa%&.&t/ C")t)'3
5acility costs are expenses incurred in the preparation of the physical site where the application or the computer will be i operation. his includes wiring, flooring, acoustics, lighting 6 air conditioning. hese costs are treated as one time costs.

15

Operat&!2 C")t'3
#perating costs include all costs associated with the day to day operating system. he amount depends on the number of sifts the nature of the application 6 the caliber of the operating staff. here are various ways of covering operating costs to overhead. Another approach is to change each authori/ed user for the amount of processing they request from the system. he amount charged is based on the computer time, staff time 6 the volume of output produced.

S$pp./ C")t'3
hese costs are variable costs that increase with increased use of paper, ribbon, disks 6 the like they should be estimated 6 include in the overall cost of the system.

E5$&p e!t C")t'3


7quipment costs include rental 6 annual deprecation of any equipment such as typewriter, copies, computer terminals 6 microcomputers used in connection with the system. #ther costs associated with the equipment, such as insurance 6 maintenance should also be included.

16

SYSTEM'3
A )/)te %a! 0e +e#&!e+ a) 6A )et "# arra!2e e!t "# e.e e!t) t*at are "r2a!&7e+ t" a%%" p.&)* )" e et*"+8 pr"%e+$re "r %"!tr". 0/ pr"%e))&!2 &!#"r at&"!.( System Analysis stages down the broad frame work of strategy stage into it<s minute details. his is the stage where intensive user interaction assumes a lot of importance.

SYSTEM DEVELOPMENT'3
4evelopment &hase, translates a set of requirements into an operational system that we call Software. At early stages of hardware development a hardware engineer does not reach for a soldering iron, similarly the Software engineer Should not reach the compiler. 4esign is accomplished first. he first phase of development concentrates on design. he design phase for software with a description of architecture and data design. hat is a modular structure is developed first,

interfaces are defined and data structure is established. 4esign criteria are used for the assessment of quality. his preliminary design step is reviewed for completeness and tractability to software

requirements. &rocedural aspects of each modular component of the software design are considered next, and is following by the -#4*+% 9 the generation of program using an appropriate programming language or -AS7 tool 9 occurs after the design is complete. Software engineering methodology views coding as a consequence of good design. -ode is then reviewed for style and clarity, but should otherwise be directly traceable to a detailed design description.

17

DETAILED ENTITY RELATIONSHIP DIAGRAM'3


*dentification of all the 7ntities of importance for which data need to be stored and defined their relationship with each other was a major task at this level. All the identified entities were mapped on a E3R3+&a2ra . *t is of utmost importance to cover all the necessary entities and defined their relationship with each other correctly because any errors at this stage would result in the reworking in the further stages.

U!&5$e I+e!t&#&%at&"!8 UID'3


A unique identification is required to be identified and associated with each other at this stage.

F$!%t&"! H&erar%*/'3
5unction hierarchy is used for grouping related functions under a parent function. he hierarchy is balanced so that all elementary functions come in the same level of hierarchy. A good hierarchy drawn at this stage helped in menu generation at a later stage.

T*e Ba)&% O09e%t&,e'3


he basic objective of the system design was the system being developed should be able to fit into the existing system, that is it become a part of the system and it should not lead to any changes which can adversely affect the existing system. he airways having many activities which effect one another so the approach of airways reservation is generated for the simplification of data handling.

he approach would bring in the following benefits:=


Standardi/ation of the methods and procedures. Availability of information centrally. !inimi/ing future maintenance requirements. $eduction in the learning process for new personal.

18

Pa%1a2e+ )/)te )'3 he systems would have the following features:=


-ompletely menu drive interface with the provision of initiating even the batch jobs by

the user himself. #n 9 'ine help Strong documentation .alidation checks done by the system itself !inimi/ation of input to the system to produce maximum output.

19

4esigning is the most important part of the software development. *t requires a careful planning and logical thinking on the system designer. 4esigning a software means to plan how the various parts of the software are going to achieve the desired goal. *t should done with the utmost care because if this phase contains any errors then that will be going to affect the performance of the system, as a result it may take more processing time, more coding, extra work load etc. As the software is to be designed in !S=A--7SS $4,!S, the concept of the database is must for quality designing. *t will be designing of the database, designing of forms, designing of reports. Separate tables have been created for each entity of the system. *n order to make the response time negligible, all the tables have been created in the !emory 5ile System. !oreover indexes have been created on the tables in the number of records have been made random.

20

he design stages takes the final specification of the system from the analysis stages and finds the best way of fulfilling them, given the technical environment and previous decision on required level of automation

he system design is carried out in two phases:=


Ar%*&te%t$ra. De)&2! Deta&.e+ De)&2!

ARCHITECTURAL DESIGN'3
he high level design maps the business system described in the program requirement specification to logical data structure, it involves:

I+e!t&#&%at&"! "# t*e e!t&t&e) t*at %"!)t&t$te) t*e )/)te '3


All the entities related to the module were identified, checked and consolidated

I+e!t&#/&!2 t*e Re.at&"!)*&p)'3


he relationships between the entities, within and outside the system were identified.

Attr&0$te +e#&!&t&"!'3
he pertaining of the entities was identified and their field characteristics were specified.

N"r a.&7at&"!'3
he entities were normali/ation, after first and the second normali/ation was achieved for all the entities.

I!ter#a%e'3
*nterface with the other systems were done and attributes related to external entities identified.

DETAILED DESIGN'3
he low level design maps the logical model of the system to a physical database design.

Ta0.e Mapp&!2'3
21

he able was created for the system using the design view, which is the part of the !SDA--7SS. his has provision to create the entities and attributes into the ables. he name of the entity is taken as the table name.

De#a$.t Data0a)e De)&2!'3


*n Access we can create the tables very easily. he tables divide into two parts. hese names are as follow: =


>. ?. @. A. B. E.

$#WS -#'1!+S
%eneration of table -heck .alidation $ule -heck .alidation ext &rimary ;eys 1nique ;eys 5oreign ;eys

T*e )tep) &!,".,e+ *ere 4ere'3

Re.at&"!)*&p'3
!s=Access allows many types of relationship between the tables. hese relationship names are as follow: = #ne to #ne $elationship !any to #ne $elationship !any to !any $elationship

Pr"2ra

)pe%&#&%at&"!)'3

he program specifications were written for the master, transactions, reports and queries. he logic for each field, block and form were written so that anyone who does not know the system will be able to code the logic. 5ield validations and user=friendly error messages were written as part of the program specification.

22

WINDOW :P used as PLATFORM


Windows FG is latest version of windows and also %1*. his is best then another #perating system and easy. Windows FG has come up with another bonan/a, that is, +etwork -ommunication with other users. he users can connect with other users to share data files and peripheral devices, like &rinters. he -ommunication tools of Windows FG include 7=!ail and connection to *nternet.

VISUAL BASIC used as FRONT END .isual ,asic uses front=end programming because ., use ,ack end as like !S=A--7SS and any other 4atabase.
*n ., we can use easy database connectivity and design the 5orm, $eport, and others !4* applications with the help of 4atabase. ., facility the database controls which helps the changing, modifying, deleting and adding facility in database with the help of command buttons and controls. ., is used for see the 4ata in many modes such as with the help of !S5lexi%rid -ontrols, extbox, -ombo box, 'ist box, *mage, &icture control and other. .isual ,asic gives the different types of accessing the 4atabase 2$4#, A4# and 4A#3 .isual ,asic is complete programming language that supports programming constructs for looping, decision making and efficient processing. hese constructs include

23

5or((((.next 4o((((.loop Select(((case With((end with *f(.then((.else

.isual ,asic helps of creation !enus, !aster=4etails 5orm. MS3ACCESS ;<<= $)e+ a) BACK END M)3A%%e)) &) a +ata0a)e a!+ part&a../ RDBMS. *n Access we can easily create 4atabase design and give the validations. Access allows the many types of relations between the tables. Access used as ,ackend with the .isual ,asic. Access allows creating the &rimary ;ey, 5oreign ;ey and 1nique ;ey. *n Access we can store the data in to the table for using the wi/ard options.

24

25

Ta0.e !a e'
F&e.+ !a e Account type 4escription !inimum ,alance $ate

T/pe) "# A%%"$!t


De)%r&pt&"! ypes of Account 4etails of account ,alance of the account $ate of interest

Data t/pe ext ext currency number

Ta0.e !a e'
F&e.+ !a e -heckbook number Account number 4ate issued Start number

Deta&.) "# %*e%1 0""1


+e)%r&pt&"! -ustomer of checkbook number 4etails of account *ssued of checkbook #pen of a"c

Data t/pe text text 4ate"time text

26

Ta0.e !a e'

Deta&.) "# %$)t" er

27

F&e.+ !a e Account number

Data t/pe text

De)%r&pt&"! -ustomer of a"c number

5irst name 'ast name #ffice address

text ext text

-ustomer of first name -ustomer of last name Address of office

)ome address

text

Address of )ome

4ate of birth Account type %ender 7=mail #ffice phone )ome phone ,alance Access code 4ate opened 4igital sign -ustomer picture A ! card number 7xpiry date

4ate"time text text text text text currency ext 4ate"time text ext ext 4ate"time

4.#.,.of customer

!aleHfemale 7=mail address of customer

ypes of currency

4ate 6 time open account

7xpiry date of a"c

28

Ta0.e !a e'

Deta&.) "# %$)t" er 5$er/

29

F&e.+ !a e Iuery *4 Account number Iuery Status

Data t/pe

+e)%r&pt&"!

text *4 text text ext

-ustomer of query 4etails of account

Status of a"c 4ate received 4ate"time

Ta0.e !a e'

Deta&.) "# )t"p pa/ e!t

30

Field name
C(e)k number

Data type

Description

e*t number

Customer o' )(e)k

%))ount number -nstru)tions

e*t e*t

+etai,s o' a))ount -nstru)tions 'or )ustomer

Table name:

Details of Transactions

31

Field name

Data type

description

ransa)tion -+ ransa)tion date ransa)tion type ransa)tion mode &rom a.) number o a.) number C(e)k number %mount Status

e*t +ate.time e*t te*t e*t e*t e*t Curren)y e*t

ransa)tion -+ o' )ustomer +ate o' transa)tion

!pen o' a.)

%mount o' )urren)y

Table name:
32

Details of users

Field name

Data type

description

/ogin -+ #mp,oyee -+ pass0ord $o,e

te*t te*t te*t e*t

/ogin -+ o' users

1ass0ord o' User -+ $o,e o' users

33

Me!$ %*art "# pr"p")e+ )/)te


BANKING SYSTEM

ENTER PASSWORD

MENU

34

emp

&assword

7!&'#J77

A--#1+

4$A5 S

Iuit

A
.erify '#%*+

7+ 7$ &assword *f valid password

2%34-3 5

35

A+ &!&)trat"r

BANKING SYSTE

STAFF

A!!"#NTS

D$AFTS

36

+e,ete Sta''

"odi'y Sta''

Administrator

%o&i n

Staff

L"2&! F&.e

%dd 3e0

37

+e,ete %))ount

"odi'y %.C

Administrator

%o&i n

Account

%o&in File %dd 3e0 %.C

38

C$)t" er F&.e

-heck for A"-

Administrator

%o&i n

Drafts

s &rinted Slip #f 4raft to

39

40

Ma&!

e!$

41

C$)t" er)

42

Dep")&t)

43

W&t*+ra4a.

44

Tra!)a%t&"!)

45

T" 2e!rarate rep"rt)

46

A%%"$!t )ett&!2)

47

Ba!1 )ett&!2)

48

49

S&'AS) 5#$!
#ption 7xplicit &rivate Sub timerSplashD imer23 7nd Sub &rivate Sub 5ormD'oad23 5rame>.!ove 2Screen.Width = 5rame>.Width3 " ?, 2Screen.)eight = 5rame>.)eight3 " ? 7nd Sub &rivate Sub 'abel?D-lick23 7nd Sub &rivate Sub timerD imer23 1nload !e frm'ogin.Show 7nd Sub

50

'#%*+ 5#$!
&rivate 4eclare 5unction snd&laySound 'ib Kwinmm.dllK Alias Ksnd&laySoundAK 2,y.al lps/Sound+ame As String, ,y.al u5lags As 'ong3 As 'ong &rivate Sub -md7xitD-lick23 *f !sg,ox2KAre you sure you want to exit CK, A L @?, title3 M vb+o %o o 7N* &$#-741$7 7lse 7nd 7nd *f 7N* &$#-741$7: 7xit Sub 7nd Sub &rivate Sub cmd'oginD-lick23 #n 7rror %o o errhandler *f txt&assword. ext M KK #r txt1ser+ame. ext M KK hen !sg,ox K&lease enter 1ser +ame and password K, vb7xclamation, title txt&assword.Set5ocus %o o 7N* &$#-741$7 7nd *f txt&assword. ext M '-ase2txt&assword. ext3 rec1sers.!ove5irst 4o While +ot rec1sers.7#5 *f rim2rec1sersO'ogin*43 M rim2txt1ser+ame. ext3 And D rim2rec1sersO&assword3 M rim2txt&assword. ext3 hen snd&laySound App.&ath 6 KH$eminderHreminder.wavK, 6)>
51

frm!ain.status.&anels2K$oleK3. ext M rim2rec1sersO$ole3 frm!ain.status.&anels2K+ameK3. ext M rim2txt1ser+ame. ext3 1ser*4 M rec1sersO7mployee*4 1ser+ame M rec1sersO'ogin*4 1ser&assword M rec1sersO&assword 1ser$ole M rec1sersO$ole -all 7nableD!enu *f 1ser$ole M K7mployeeK #r 1ser$ole M K ellerK hen frm!ain.mnu$eports.7nabled M 5alse frm!ain.mnu1ser.7nabled M 5alse frm!ain.mnu4ate.7nabled M 5alse frm!ain.mnu-heck,ook.7nabled M 5alse 7nd *f 1nload !e %o o 7N* &$#-741$7 7nd *f rec1sers.!ove+ext 'oop *f rec1sers.7#5 hen !sg,ox K*nvalid password, kindly retryK, vb7xclamation, title txt&assword.SelStart M P txt&assword.Sel'ength M 'en2txt&assword. ext3 txt&assword.Set5ocus %o o 7N* &$#-741$7 7nd *f 7N* &$#-741$7: 7xit Sub
52

errhandler: !sg,ox 7rr.4escription, vb-ritical, title %o o 7N* &$#-741$7 7nd Sub &rivate Sub 5ormD'oad23 #n 7rror %o o errhandler 1ser*4 M KK 1ser+ame M KK 1ser&assword M KK 1ser$ole M KK !ove 2Screen.Width = Width3 " ?, 2Screen.)eight = )eight3 " @ -all -onnect!e cmd'ogin.7nabled M 5alse -all 4isableD!enu frm!ain.status.&anels2K$oleK3. ext M KK frm!ain.status.&anels2K+ameK3. ext M KK 7N* &$#-741$7: 7xit Sub errhandler: !sg,ox 7rr.4escription, vb-ritical, title %o o 7N* &$#-741$7 7nd Sub &rivate Sub 5rame?D4rag4rop2Source As -ontrol, N As Single, J As Single3 7nd Sub &rivate Sub txt&asswordD%ot5ocus23 #n 7rror %o o errhandler rec1sers.!ove5irst
53

4o While +ot rec1sers.7#5 *f rim2rec1sersO'ogin*43 M rim2txt1ser+ame. ext3 hen cmd'ogin.7nabled M rue %o o 7N* &$#-741$7 7nd *f rec1sers.!ove+ext 'oop *f rec1sers.7#5 hen !sg,ox K*nvalid login name, kindly retryK, vb7xclamation, title txt1ser+ame.SelStart M P txt1ser+ame.Sel'ength M 'en2txt1ser+ame. ext3 txt1ser+ame.Set5ocus %o o 7N* &$#-741$7 7nd *f 7N* &$#-741$7: 7xit Sub errhandler: !sg,ox 7rr.4escription, vb-ritical, title %o o 7N* &$#-741$7 7nd Sub &rivate Sub 4isableD!enu23 frm!ain.mnu5ile.7nabled M 5alse frm!ain.mnuAdmin.7nabled M 5alse frm!ain.mnu rans.7nabled M 5alse frm!ain.mnu$eports.7nabled M 5alse frm!ain.mnu)elp.7nabled M 5alse 7nd Sub
54

&rivate Sub 7nableD!enu23

frm!ain.mnu5ile.7nabled M rue frm!ain.mnuAdmin.7nabled M rue frm!ain.mnu rans.7nabled M rue frm!ain.mnu$eports.7nabled M rue frm!ain.mnu)elp.7nabled M rue frm!ain.mnu1ser.7nabled M rue frm!ain.mnu-heck,ook.7nabled M rue frm!ain.mnu4ate.7nabled M rue 7nd Sub

55

MAIN FORM
#ption 7xplicit 4im current'ength As ,yte -onst msg As String M K#nline ,ankingK &rivate 4eclare 5unction snd&laySound 'ib Kwinmm.dllK Alias Ksnd&laySoundAK 2,y.al lps/Sound+ame As String, ,y.al u5lags As 'ong3 As 'ong &rivate Sub !4*5ormDIuery1nload2-ancel As *nteger, 1nload!ode As *nteger3 *f !sg,ox2KAre you sure you want to exit CK, A L @?, title3 M vb+o hen %o o 7N* &$#-741$7 7lse 7nd 7nd *f 7N* &$#-741$7: 7xit Sub 7nd Sub &rivate Sub mnuAll-ustomersD-lick23 frm-ustomers.Show 7nd Sub &rivate Sub mnuAll1sersD-lick23 'oad frm1sers frm1sers.Show 7nd Sub &rivate Sub mnu-alculatorD-lick23 #n 7rror %o o errhandle Shell KcalcK 7xit Sub
56

errhandler: !sg,ox K-alculator is not available for now...K, vb7xclamation, title 7nd Sub &rivate Sub mnu-alendarD-lick23 #n 7rror %o o errhandler 'oad frm-alendar frm-alendar.Show 7xit Sub errhandler: !sg,ox K he calendar is not available for now...K, vb7xclamation, title 7nd Sub &rivate Sub mnu-heck,ookD-lick23 frm-heck,ook.Show 7nd Sub &rivate Sub mnu-ustomerIueryD-lick23 frm-ustomerIuery.Show 7nd Sub &rivate Sub mnu-ustomerIuery$eportD-lick2 blIuery M rue bl4eposit M 5alse bl ransfer M 5alse blWithdrawal M 5alse blStop M 5alse frm$eport.lbl.-aption M K-ustomer IueryK frm$eport.Show 7nd Sub &rivate Sub mnu4ateD-lick23
57

#n 7rror %o o errhandler 4im dbl$eturn As 4ouble dbl$eturn M Shell2Krundll@?.exe shell@?.dll,-ontrolD$un4'' timedate.cplK, B3 7xit Sub errhandler: !sg,ox K he date and time is not available for nowK, vb7xclamation, title 7nd Sub &rivate Sub mnu4epositD-lick23 frm4eposit.Show 7nd Sub &rivate Sub mnu4eposit$eportD-lick23 blIuery M 5alse bl4eposit M rue bl ransfer M 5alse blWithdrawal M 5alse blStop M 5alse frm$eport.lbl.-aption M K4eposit $eportK frm$eport.Show 7nd Sub &rivate Sub mnu7xitD-lick23 *f !sg,ox2KAre you sure you want to exit CK, A L @?, title3 M vb+o hen %o o 7N* &$#-741$7 7lse 7nd 7nd *f 7N* &$#-741$7: 7xit Sub
58

7nd Sub &rivate Sub mnu'ockD-lick23 'oad frm'ock frm'ock.Show 7nd Sub &rivate Sub mnu'oginD-lick23 'oad frm'ogin frm'ogin.Show 7nd Sub &rivate Sub mnu'ogoffD-lick23 *f !sg,ox2KAre you sure you want to log off CK, A L @?, title3 M vb+o hen %o o 7N* &$#-741$7 7lse frm'ogin.Show 7nd *f 7N* &$#-741$7: 7xit Sub 7nd Sub &rivate Sub mnu+otepadD-lick23 #n 7rror %o o errhandler Shell Knotepad.exeK, vb+ormal5ocus 7xit Sub errhandler: !sg,ox K+otepad not available for nowK, vb7xclamation, title 7nd Sub &rivate Sub mnuStop&aymentD-lick23 frmStop&ayment.Show
59

7nd Sub &rivate Sub mnuStop&ayment$eportD-lick23 blIuery M 5alse bl4eposit M 5alse bl ransfer M 5alse blWithdrawal M 5alse blStop M rue frm$eport.5rame@..isible M 5alse frm$eport.lbl.-aption M KStop &ayment $eportK frm$eport.Show 7nd Sub &rivate Sub mnu ransferD-lick23 frm ransfer.ShowS 7nd Sub &rivate Sub mnu ransfer$eportD-lick23 blIuery M 5alse bl4eposit M 5alse bl ransfer M rue blWithdrawal M 5alse blStop M 5alse frm$eport.lbl.-aption M K $ansfer $eportK frm$eport.Show 7nd Sub &rivate Sub mnuWith4rawD-lick23 frmWithdrawal.Show 7nd Sub &rivate Sub mnuWithdrawal$eportD-lick23
60

blIuery M 5alse bl4eposit M 5alse bl ransfer M 5alse blWithdrawal M rue blStop M 5alse frm$eport.lbl.-aption M KWithdrawal $eportK frm$eport.Show 7nd Sub &rivate Sub imer?D imer23 -aption M 'eft2msg, current'ength3 current'ength M 2current'ength L >3 !od 2'en2msg3 L >3 7nd Sub

61

USER DETAIL
4im -ontrol As #bject &rivate Sub -md7xitD-lick23 *f !sg,ox2KAre you sure you want to close this window CK, vbIuestion L A, title3 M vb+o hen %o o 7N* &$#-741$7 7lse 1nload !e frm1sers.Show 7nd *f 7N* &$#-741$7: 7xit Sub 7nd Sub &rivate Sub cmd#kD-lick23 #n 7rror %o o abdel *f txt'ogin+ame. ext M KK hen !sg,ox K&lease enter user name K, vb7xclamation, title txt'ogin+ame.Set5ocus %o o 7N* &$#-741$7 7nd *f *f txt&ass. ext M KK hen !sg,ox K&lease enter password K, vb7xclamation, title txt&ass.Set5ocus %o o 7N* &$#-741$7 7nd *f
62

*f txt&assword. ext M KK hen !sg,ox K&lease confirm your password K, vb7xclamation, title txt&assword.Set5ocus %o o 7N* &$#-741$7 7nd *f *f combo$ole. ext M KK hen !sg,ox K;indly choose your roleK, vb7xclamation, title combo$ole.Set5ocus %o o 7N* &$#-741$7 7nd *f *f rim2txt&ass. ext3 QR rim2txt&assword. ext3 hen !sg,ox K he tow passwords are not the same OK, vb7xclamation, title txt&ass.SelStart M P txt&ass.Sel'ength M 'en2txt&ass. ext3 txt&ass.Set5ocus %o o 7N* &$#-741$7 7nd *f *f bl1pdate1ser M rue hen rec1sers.!ove5irst 4o While +ot rec1sers.7#5 *f rec1sersO7mployee*4 M frm1sers.lst1ser*4 hen rec1sersO'ogin*4 M rim2txt'ogin+ame. ext3 rec1sersO&assword M rim2txt&ass. ext3 rec1sersO$ole M combo$ole. ext rec1sers.1pdate,atch adAffect-urrent 7nd *f rec1sers.!ove+ext
63

'oop !sg,ox K1serSs details updated successfullyOK 6 vb-r'f 6 KJou need to login again.K, vb7xclamation, title 1nload !e frm'ogin.Show 7nd *f *f blAdd1ser M rue hen *f txt'ogin+ame M 1ser+ame hen !sg,ox K1ser +ame already exist, ;indly change the nameOK, vb7xclamation, title txt'ogin+ame.SelStart M P txt'ogin+ame.Sel'ength M 'en2txt'ogin+ame. ext3 txt'ogin+ame.Set5ocus %o o 7N* &$#-741$7 7nd *f rec1sers.Add+ew rec1sersO'ogin*4 M rim2txt'ogin+ame. ext3 rec1sersO7mployee*4 M new1ser*4 rec1sersO&assword M rim2txt&ass. ext3 rec1sersO$ole M combo$ole. ext rec1sers.1pdate !sg,ox K+ew user added successfullyOK 6 vb-r'f 6 KJou need to login again.K, vb7xclamation, title 1nload !e frm'ogin.Show 7nd *f

7N* &$#-741$7: 7xit Sub


64

abdel: !sg,ox KSorry, transactions unsuccessfulK, vb7xclamation, title %o o 7N* &$#-741$7 7nd Sub &rivate Sub combo$oleD;ey&ress2;eyAscii As *nteger3 ;eyAscii M P 7nd Sub &rivate Sub 5ormD'oad23 !ove 2Screen.Width = Width3 " ?, 2Screen.)eight = )eight3 " @ -all -onnect!e 7nd Sub &rivate Sub 5ormD1nload2-ancel As *nteger3 blAdd1ser M 5alse bl1pdate1ser M 5alse 7nd Sub

65

CUSTOMER DETAIL
&ublic str&ath As String &rivate Sub cmd,rowseD-lick23 With 4ialog .Show#pen &ic.&icture M 'oad&icture2.5ile+ame3 str&ath M .5ile itle 7nd With 7nd Sub &rivate Sub cmd-loseD-lick23 1nload !e frm-ustomers.Show 7nd Sub &rivate Sub cmd#kD-lick23 *f txt5irst+ame. ext M KK hen !sg,ox K&lease enter the 5irst +ame.K, vb7xclamation, title txt5irst+ame.Set5ocus %o o 7N* &$#-741$7 7nd *f *f txt'ast+ame. ext M KK hen !sg,ox K&lease enter the 'ast +ame.K, vb7xclamation, title txt'ast+ame.Set5ocus %o o 7N* &$#-741$7 7nd *f *f dtp4ate#f,irth..alue M 4ate hen !sg,ox K4ate of ,irth can not be today, ;indly change itK, vb7xclamation, title
66

dtp4ate#f,irth.Set5ocus %o o 7N* &$#-741$7 7nd *f *f dtp4ate#f,irth..alue M 4ate hen !sg,ox K4ate of ,irth can not be in futureK, vb7xclamation, title dtp4ate#f,irth.Set5ocus %o o 7N* &$#-741$7 7nd *f *f cbo%ender. ext M KK hen !sg,ox K&lease select the %ender.K, vb7xclamation, title cbo%ender.Set5ocus %o o 7N* &$#-741$7 7nd *f *f txtAccount+o. ext M KK hen !sg,ox K&lease enter the Account +umber.K, vb7xclamation, title txtAccount+o.Set5ocus %o o 7N* &$#-741$7 7nd *f *f cboAccount ype. ext M KK hen !sg,ox K&lease select the Account ype.K, vb7xclamation, title cboAccount ype.Set5ocus %o o 7N* &$#-741$7 7nd *f *f txt,alance. ext M KK hen !sg,ox K&lease enter the ,alance.K, vb7xclamation, title txt,alance.Set5ocus %o o 7N* &$#-741$7
67

7nd *5 *f blAdd-ustomer M rue hen rec-ustomers.Add+ew rec-ustomersO5irst+ame M txt5irst+ame. ext 6 KK rec-ustomersO'ast+ame M txt'ast+ame. ext 6 KK rec-ustomersO#fficeAddress M txt#fficeAddress. ext 6 KK rec-ustomersO)omeAddress M txt)omeAddress. ext 6 KK rec-ustomersO4ate#f,irth M dtp4ate#f,irth..alue *f cbo%ender. ext M K!aleK hen rec-ustomersO%ender M K!K 7lse rec-ustomersO%ender M K5K 7nd *f rec-ustomersO7mail M txt7mail. ext 6 KK rec-ustomersO#ffice&hone M txt#ffice&hone. ext 6 KK rec-ustomersO)ome&hone M txt)ome&hone. ext 6 KK rec-ustomersOAccount+umber M txtAccount+o. ext 6 KK rec-ustomersOAccount ype M cboAccount ype. ext 6 KK rec-ustomersOA !-ard+umber M txtA !. ext 6 KK rec-ustomersO7xpiry4ate M dtp7xpiry4ate..alue 6 KK rec-ustomersO,alance M txt,alance. ext 6 KK rec-ustomersOAccess-ode M txtAccess-ode. ext 6 KK rec-ustomersO4ate#pened M dtp4ate#pened rec-ustomersO-ustomer&icture M str&ath rec-ustomers.1pdate 1nload !e frm-ustomers.Show
68

7nd *f

*f bl1pdate-ustomer M rue hen rec-ustomers.!ove5irst 4o While +ot rec-ustomers.7#5 *f rec-ustomersOAccount+umber M rim2txtAccount+o. ext3 hen rec-ustomersO5irst+ame M txt5irst+ame. ext 6 KK rec-ustomersO'ast+ame M txt'ast+ame. ext 6 KK rec-ustomersO#fficeAddress M txt#fficeAddress. ext 6 KK rec-ustomersO)omeAddress M txt)omeAddress. ext 6 KK rec-ustomersO4ate#f,irth M dtp4ate#f,irth..alue *f cbo%ender. ext M K!aleK hen rec-ustomersO%ender M K!K 7lse rec-ustomersO%ender M K5K 7nd *f rec-ustomersO7mail M txt7mail. ext 6 KK rec-ustomersO#ffice&hone M txt#ffice&hone. ext 6 KK rec-ustomersO)ome&hone M txt)ome&hone. ext 6 KK rec-ustomersOAccount+umber M txtAccount+o. ext 6 KK rec-ustomersOAccount ype M cboAccount ype. ext 6 KK rec-ustomersOA !-ard+umber M txtA !. ext 6 KK rec-ustomersO7xpiry4ate M dtp7xpiry4ate..alue 6 KK rec-ustomersO,alance M txt,alance. ext 6 KK rec-ustomersOAccess-ode M txtAccess-ode. ext 6 KK rec-ustomersO4ate#pened M dtp4ate#pened rec-ustomersO-ustomer&icture M str&ath
69

rec-ustomers.1pdate,atch adAffect-urrent 7nd *f rec-ustomers.!ove+ext 'oop 1nload !e frm-ustomers.Show 7nd *f 7N* &$#-741$7: 7xit Sub 7nd Sub &rivate Sub 5ormD'oad23 !ove 2Screen.Width = Width3 " ?, 2Screen.)eight = )eight3 " @ -all -onnect!e 7nd Sub &rivate Sub 5ormD1nload2-ancel As *nteger3 blAdd-ustomer M 5alse bl1pdate-ustomer M 5alse 7nd Sub &rivate Sub 5rameAD4rag4rop2Source As -ontrol, N As Single, J As Single3 7nd Sub &rivate Sub txt,alanceD;ey&ress2;eyAscii As *nteger3 -all only+umbers2;eyAscii3 7nd Sub &rivate Sub txt5irst+ameD;ey&ress2;eyAscii As *nteger3 Select -ase ;eyAscii -ase vb;eyP o vb;eyF ;eyAscii M P
70

7nd Select 7nd Sub

71

CALENDAR
&rivate Sub cmd-loseD-lick23 *f !sg,ox2KAre you sure you want to close this window CK, vbIuestion L A, title3 M vb+o hen 7xit Sub 7lse 1nload !e 7nd *f 7nd Sub &rivate Sub 5ormD'oad23 #n 7rror $esume +ext !ove 2Screen.Width = Width3 " ?, 2Screen.)eight = )eight3 " @ cal..alue M 4ate lbl M 4ate 7nd Sub

72

DATA REPORT
&rivate Sub cboAccount+umberD-lick23 #n 7rror %o o errhandler -all 4isplay-ustomer4etails2cboAccount+umber. ext3 txt,alance. ext M ,alance txt5irst+ame. ext M 5irst+ame txt'ast+ame. ext M 'ast+ame txt%ender. ext M %ender txtAccount ype. ext M Account ype cmd#k.7nabled M rue &ic.&icture M 'oad&icture2App.&ath 6 KHpicturesHK 6 -ustomer&icture 7N* &$#-741$7: 7xit Sub errhandler: &ic.&icture M 'oad&icture2App.&ath 6 KH&icturesHK 6 K+A.%*5K3 %o o 7N* &$#-741$7 7nd Sub &rivate Sub cmd-loseD-lick23 *f !sg,ox2KAre you sure you want to cancel CK, A L @?, title3 M vb+o hen %o o 7N* &$#-741$7 7lse 1nload !e 7nd *f 7N* &$#-741$7:
73

7xit Sub 7nd Sub &rivate Sub cmd#kD-lick23 *f dtp5rom4ate..alue R dtp o4ate..alue hen !sg,ox K he Second 4ate Should +ot ,e !ore han he 5irst #neK, vb7xclamation, title dtp5rom4ate.Set5ocus %o o 7N* &$#-741$7 7nd *f *f blIuery M rue And bl4eposit M 5alse And bl ransfer M 5alse And blWithdrawal M 5alse And blStop M 5alse hen Set Iuery$eport.4ataSource M con.7xecute2KSelect T from -ustomerIuery where accountnumber M SK 6 cboAccount+umber. ext 6 KS and 4ate$eceived between UK 6 dtp5rom4ate..alue 6 KU and UK 6 dtp o4ate..alue 6 KUK3 Iuery$eport.Show Set Iuery$eport M +othing 7nd *f *f blIuery M 5alse And bl4eposit M rue And bl ransfer M 5alse And blWithdrawal M 5alse And blStop M 5alse hen Set 4eposit$eport.4ataSource M con.7xecute2KSelect T from rans where oaccountnumber M SK 6 cboAccount+umber. ext 6 KS and transaction ype M S4epositS and transaction4ate between UK 6 dtp5rom4ate..alue 6 KU and UK 6 dtp o4ate..alue 6 KUK3 4eposit$eport.Show Set 4eposit$eport M +othing 7nd *f *f blIuery M 5alse And bl4eposit M 5alse And bl ransfer M rue And blWithdrawal M 5alse And blStop M 5alse hen Set ransfer$eport.4ataSource M con.7xecute2KSelect T from rans where 5romAccountnumber M SK 6 cboAccount+umber. ext 6 KS and transaction ype M S ransferS and transaction4ate between UK 6 dtp5rom4ate..alue 6 KU and UK 6 dtp o4ate..alue 6 KUK3 ransfer$eport.Show Set ransfer$eport M +othing
74

7nd *f

*f blIuery M 5alse And bl4eposit M 5alse And bl ransfer M 5alse And blWithdrawal M rue And blStop M 5alse hen Set Withdrawal$eport.4ataSource M con.7xecute2KSelect T from rans where 5romaccountnumber M SK 6 cboAccount+umber. ext 6 KS and transaction ype M SWithdrawalS and transaction4ate between UK 6 dtp5rom4ate..alue 6 KU and UK 6 dtp o4ate..alue 6 KUK3 Withdrawal$eport.Show Set Withdrawal$eport M +othing 7nd *f *f blIuery M 5alse And bl4eposit M 5alse And bl ransfer M 5alse And blWithdrawal M 5alse And blStop M rue hen Set Stop&ayment$eport.4ataSource M con.7xecute2KSelect T from Stop&ayment where accountnumber M SK 6 cboAccount+umber. ext 6 KSK3 Stop&ayment$eport.Show Set Stop&ayment$eport M +othing 7nd *f 7N* &$#-741$7: 7xit Sub 7nd Sub &rivate Sub 5ormD'oad23 #n 7rror %o o errhandler !ove 2Screen.Width = Width3 " ?, 2Screen.)eight = )eight3 " @ -all -onnect!e dtp5rom4ate..alue M 4ate dtp o4ate..alue M 4ate cmd#k.7nabled M 5alse -all fillD-ombo2cboAccount+umber3 7N* &$#-741$7:
75

7xit Sub

errhandler: !sg,ox KAn 7rror occurred while loading the formK, vb-ritical, title %o o 7N* &$#-741$7 7nd Sub &rivate Sub 5ormD1nload2-ancel As *nteger3 blIuery M 5alse bl4eposit M 5alse bl ransfer M 5alse blWithdrawal M 5alse blStop M 5alse 7nd Sub

76

ADMINISTRATOR PASSWORD
&rivate 4eclare 5unction snd&laySound 'ib Kwinmm.dllK Alias Ksnd&laySoundAK 2,y.al lps/Sound+ame As String, ,y.al u5lags As 'ong3 As 'ong &rivate Sub -md7xitD-lick23 *f !sg,ox2KAre you sure you want to exit CK, A L @?, title3 M vb+o hen %o o 7N* &$#-741$7 7lse 7nd 7nd *f 7N* &$#-741$7: 7xit Sub 7nd Sub &rivate Sub cmd'oginD-lick23 #n 7rror %o o errhandler *f txt&assword. ext M KK #r txt1ser+ame. ext M KK hen !sg,ox K&lease enter 1ser +ame and password K, vb7xclamation, title txt&assword.Set5ocus %o o 7N* &$#-741$7 7nd *f txt&assword. ext M '-ase2txt&assword. ext3
77

rec1sers.!ove5irst 4o While +ot rec1sers.7#5 *f rim2rec1sersO'ogin*43 M rim2txt1ser+ame. ext3 And D rim2rec1sersO&assword3 M rim2txt&assword. ext3 hen snd&laySound App.&ath 6 KH$eminderHreminder.wavK, 6)> frm!ain.status.&anels2K$oleK3. ext M rim2rec1sersO$ole3 frm!ain.status.&anels2K+ameK3. ext M rim2txt1ser+ame. ext3 1ser*4 M rec1sersO7mployee*4 1ser+ame M rec1sersO'ogin*4 1ser&assword M rec1sersO&assword 1ser$ole M rec1sersO$ole -all 7nableD!enu *f 1ser$ole M K7mployeeK #r 1ser$ole M K ellerK hen frm!ain.mnu$eports.7nabled M 5alse frm!ain.mnu1ser.7nabled M 5alse frm!ain.mnu4ate.7nabled M 5alse frm!ain.mnu-heck,ook.7nabled M 5alse 7nd *f 1nload !e %o o 7N* &$#-741$7 7nd *f rec1sers.!ove+ext 'oo& *f rec1sers.7#5 hen !sg,ox K*nvalid password, kindly retryK, vb7xclamation, title txt&assword.SelStart M P txt&assword.Sel'ength M 'en2txt&assword. ext3
78

txt&assword.Set5ocus %o o 7N* &$#-741$7 7nd *f 7N* &$#-741$7: 7xit Sub errhandler: !sg,ox 7rr.4escription, vb-ritical, title %o o 7N* &$#-741$7 7nd Sub &rivate Sub 5ormD'oad23 #n 7rror %o o errhandler 1ser*4 M KK 1ser+ame M KK 1ser&assword M KK 1ser$ole M KK !ove 2Screen.Width = Width3 " ?, 2Screen.)eight = )eight3 " @ -all -onnect!e cmd'ogin.7nabled M 5alse -all 4isableD!enu frm!ain.status.&anels2K$oleK3. ext M KK frm!ain.status.&anels2K+ameK3. ext M KK 7N* &$#-741$7: 7xit Sub errhandler: !sg,ox 7rr.4escription, vb-ritical, title %o o 7N* &$#-741$7 7nd Sub
79

&rivate Sub 5rame?D4rag4rop2Source As -ontrol, N As Single, J As Single3 7nd Sub &rivate Sub txt&asswordD%ot5ocus23 #n 7rror %o o errhandler rec1sers.!ove5irst 4o While +ot rec1sers.7#5 *f rim2rec1sersO'ogin*43 M rim2txt1ser+ame. ext3 hen cmd'ogin.7nabled M rue %o o 7N* &$#-741$7 7nd *f rec1sers.!ove+ext 'oop *f rec1sers.7#5 hen !sg,ox K*nvalid login name, kindly retryK, vb7xclamation, title txt1ser+ame.SelStart M P txt1ser+ame.Sel'ength M 'en2txt1ser+ame. ext3 txt1ser+ame.Set5ocus %o o 7N* &$#-741$7 7nd *f 7N* &$#-741$7: 7xit Sub errhandler: !sg,ox 7rr.4escription, vb-ritical, title %o o 7N* &$#-741$7 7nd Sub &rivate Sub 4isableD!enu23 frm!ain.mnu5ile.7nabled M 5alse
80

frm!ain.mnuAdmin.7nabled M 5alse frm!ain.mnu rans.7nabled M 5alse frm!ain.mnu$eports.7nabled M 5alse frm!ain.mnu)elp.7nabled M 5alse 7nd Sub &rivate Sub 7nableD!enu23 frm!ain.mnu5ile.7nabled M rue frm!ain.mnuAdmin.7nabled M rue frm!ain.mnu rans.7nabled M rue frm!ain.mnu$eports.7nabled M rue frm!ain.mnu)elp.7nabled M rue frm!ain.mnu1ser.7nabled M rue frm!ain.mnu-heck,ook.7nabled M rue frm!ain.mnu4ate.7nabled M rue 7nd Su,

81

CHECKBOOK DETAIL
&rivate Sub cboAccount+umberD-lick23 #n 7rror %o o errhandler -all 4isplay-ustomer4etails2cboAccount+umber. ext3 txt,alance. ext M ,alance txt5irst+ame. ext M 5irst+ame txt'ast+ame. ext M 'ast+ame txt%ender. ext M %ender txtAccount ype. ext M Account ype txt-heck,ook. ext M autogen txtStart+o. ext M autogenStart+o cmd#k.7nabled M rue &ic.&icture M 'oad&icture2App.&ath 6 KHpicturesHK 6 -ustomer&icture3 7N* &$#-741$7: 7xit Sub errhandler: &ic.&icture M 'oad&icture2App.&ath 6 KH&icturesHK 6 K+A.%*5K3 %o o 7N* &$#-741$7 7nd Sub &rivate Sub cmd-loseD-lick23 *f !sg,ox2KAre you sure you want to cancel CK, A L @?, title3 M vb+o hen
82

%o o 7N* &$#-741$7 7lse 1nload !e 7nd *f

7N* &$#-741$7: 7xit Sub 7nd Sub &rivate Sub cmd#kD-lick23 #n 7rror %o o errhandler *f !sg,ox2KAre you sure you want to *ssue -heck ,ook +umber K 6 txt-heck,ook. ext 6 K CK, A L @?, title3 M vb+o hen %o o 7N* &$#-741$7 7lse rec-heck,ook4etails.Add+ew rec-heck,ook4etailsO-heck,ook+umber M txt-heck,ook. ext rec-heck,ook4etailsOAccount+umber M cboAccount+umber. ext rec-heck,ook4etailsO4ate*ssued M dtp4ate..alue rec-heck,ook4etailsOStart+umber M txtStart+o. ext rec-heck,ook4etails.1pdate !sg,ox K-heck ,ook )as been *ssued SuccessfullyOK, vb7xclamation, title 1nload !e 7nd *f 7N* &$#-741$7: 7xit Sub errhandler: !sg,ox KAn 7rror occurred while issuing -heck ,ook K, vb-ritical, title %o o 7N* &$#-741$7
83

7nd Sub &rivate Sub 5ormD'oad23 #n 7rror %o o errhandler !ove 2Screen.Width = Width3 " ?, 2Screen.)eight = )eight3 " @ -all -onnect!e cmd#k.7nabled M 5alse dtp4ate..alue M 4ate -all fillD-ombo2cboAccount+umber3 7N* &$#-741$7: 7xit Sub errhandler: !sg,ox KAn 7rror occurred while loading the formK, vb-ritical, title %o o 7N* &$#-741$7 7nd Sub &ublic 5unction autogen23 As String 4im rec As +ew $ecordset rec.#pen Kselect max2-heck,ook+umber3 from -heck,ook4etailsK, con, ad#pen4ynamic, ad'ock#ptimistic *f rec.7#5 hen autogen M KPPP>K 7lse autogen M 5ormat2$ight2 rim2rec2P33, A3 L >, KPPPPK3 7nd *f 7nd 5unction &ublic 5unction autogenStart+o23 As String 4im rec As +ew $ecordset rec.#pen Kselect max2Start+umber3 from -heck,ook4etailsK, con, ad#pen4ynamic, ad'ock#ptimistic
84

*f rec.7#5 hen autogenStart+o M KPPP>K 7lse autogenStart+o M 5ormat2$ight2 rim2rec2P33, A3 L >, KPPPPK3 7nd *f

7nd 5unction &rivate Sub 5rameBD4rag4rop2Source As -ontrol, N As Single, J As Single3 7nd Sub &rivate Sub 5rameVD4rag4rop2Source As -ontrol, N As Single, J As Single3 7nd Sub &rivate Sub txtStart+oD;ey&ress2;eyAscii As *nteger3 -all only+umbers2;eyAscii3 7nd Sub

85

CUSTOMER >UERY
&rivate Sub cboAccount+umberD-lick23 #n 7rror %o o errhandler -all 4isplay-ustomer4etails2cboAccount+umber. ext3 txt,alance. ext M ,alance txt5irst+ame. ext M 5irst+ame txt'ast+ame. ext M 'ast+ame txt%ender. ext M %ender txtAccount ype. ext M Account ype cmd#k.7nabled M rue txtIuery.7nabled M rue txtIuery.Set5ocus &ic.&icture M 'oad&icture2App.&ath 6 KHpicturesHK 6 -ustomer&icture3 7N* &$#-741$7: 7xit Sub errhandler: &ic.&icture M 'oad&icture2App.&ath 6 KH&icturesHK 6 K+A.%*5K3 %o o 7N* &$#-741$7 7nd Sub &rivate Sub cboAccount+umberD;ey&ress2;eyAscii As *nteger3 -all only+umbers2;eyAscii3 7nd Sub &rivate Sub cmd-loseD-lick23
86

*f !sg,ox2KAre you sure you want to cancel CK, A L @?, title3 M vb+o hen %o o 7N* &$#-741$7 7lse 1nload !e 7nd *f 7N* &$#-741$7: 7xit Sub 7nd Sub &rivate Sub cmd#kD-lick23 #n 7rror %o o errhandler *f txtIuery. ext M KK hen !sg,ox K&lease enter IueryOK, vb7xclamation, title txtIuery.Set5ocus %o o 7N* &$#-741$7 7nd *f *f !sg,ox2KAre you sure you want to register the Iuery CK, A L @?, title3 M vb+o hen %o o 7N* &$#-741$7 7lse rec-ustomerIuery.Add+ew rec-ustomerIueryOIuery*4 M autogen rec-ustomerIueryOAccount+umber M cboAccount+umber. ext rec-ustomerIueryOIuery M rim2txtIuery. ext3 rec-ustomerIueryOstatus M K&K rec-ustomerIueryO4ate$eceived M dtp4ate..alue rec-ustomerIuery.1pdate !sg,ox K he Iuery has been registered SuccessfullyOK, vb7xclamation, title 1nload !e
87

7nd *f 7N* &$#-741$7: 7xit Sub errhandler: !sg,ox KAn 7rror occurred while sending -ustomer Iuery K, vb-ritical, title %o o 7N* &$#-741$7 7nd Sub &rivate Sub 5ormD'oad23 #n 7rror %o o errhandler !ove 2Screen.Width = Width3 " ?, 2Screen.)eight = )eight3 " @ -all -onnect!e cmd#k.7nabled M 5alse txtIuery.7nabled M 5alse dtp4ate..alue M 4ata -all fillD-ombo2cboAccount+umber3 7N* &$#-741$7: 7xit Sub errhandler: !sg,ox KAn 7rror occurred while loading the formK, vb-ritical, title %o o 7N* &$#-741$7 7nd Sub &ublic 5unction autogen23 As String 4im rec As +ew $ecordset rec.#pen Kselect max2Iuery*43 from -ustomerIueryK, con, ad#pen4ynamic, ad'ock#ptimistic *f rec.7#5 hen autogen M KIPP>K 7lse
88

autogen M KIK 6 5ormat2$ight2 rim2rec2P33, @3 L >, KPPPK3 7nd *f 7nd 5unction

89

DIPOSIT DETAIL
&rivate Sub cboAccount+umberD-lick23 #n 7rror %o o errhandler -all 4isplay-ustomer4etails2cboAccount+umber. ext3 txt,alance. ext M ,alance txt5irst+ame. ext M 5irst+ame txt'ast+ame. ext M 'ast+ame txt%ender. ext M %ender txtAccount ype. ext M Account ype cmd#k.7nabled M rue txtAmount.7nabled M rue txtAmount.Set5ocus &ic.&icture M 'oad&icture2App.&ath 6 KHpicturesHK 6 -ustomer&icture3 7N* &$#-741$7: 7xit Sub errhandler: &ic.&icture M 'oad&icture2App.&ath 6 KH&icturesHK 6 K+A.%*5K3 %o o 7N* &$#-741$7 7nd Sub &rivate Sub cboAccount+umberD;ey&ress2;eyAscii As *nteger3 ;eyAscii M P 7nd Sub &rivate Sub cmd-loseD-lick23 *f !sg,ox2KAre you sure you want to cancel CK, A L @?, title3 M vb+o hen
90

%o o 7N* &$#-741$7 7lse 1nload !e 7nd *f 7N* &$#-741$7: 7xit Sub 7nd Sub &rivate Sub cmd#kD-lick23 #n 7rror %o o errhandler *f txtAmount. ext M KK hen !sg,ox K&lease enter AmountOK, vb7xclamation, title txtAmount.Set5ocus %o o 7N* &$#-741$7 7nd *f *f !sg,ox2KAre you sure you want to deposit K 6 txtAmount. ext 6 K into Account +umber K 6 cboAccount+umber. ext 6 K CK, A L @?, title3 M vb+o hen %o o 7N* &$#-741$7 7lse rec rans.Add+ew rec ransO ransaction*4 M autogen rec ransO ransaction4ate M dtp4ate..alue rec ransO ransaction ype M K4epositK rec ransO ransaction!ode M K-ashK rec ransO5romAccount+umber M KK rec ransO oAccount+umber M cboAccount+umber. ext rec ransOcheck+umber M KK rec ransOAmount M txtAmount. ext rec ransOstatus M KK
91

rec rans.1pdate con.7xecute K1pdate -ustomer set ,alance M K 6 --ur2txt,alance. ext3 L --ur2txtAmount. ext3 6 K Where Account+umber M SK 6 rim2cboAccount+umber. ext3 6 KSK !sg,ox K ransaction done successfully.K, vb7xclamation, title 1nload !e 7nd *f 7N* &$#-741$7: 7xit Sub errhandler: !sg,ox KAn 7rror occurred. ransaction was unsuccessfull, ry againK, vb-ritical, title %o o 7N* &$#-741$7 7nd Sub &rivate Sub 5ormD'oad23 #n 7rror %o o errhandler !ove 2Screen.Width = Width3 " ?, 2Screen.)eight = )eight3 " @ -all -onnect!e cmd#k.7nabled M 5alse txtAmount.7nabled M 5alse dtp4ate..alue M 4ate -all fillD-ombo2cboAccount+umber3 7N* &$#-741$7: 7xit Sub errhandler: !sg,ox KAn 7rror occurred while loading the formK, vb-ritical, title %o o 7N* &$#-741$7 7nd Sub &rivate Sub txtAmountD;ey&ress2;eyAscii As *nteger3 -all only+umbers2;eyAscii3
92

7nd Sub &ublic 5unction autogen23 As String #n 7rror %o o errhandler 4im rec As +ew $ecordset rec.#pen Kselect max2 ransaction*43 from ransK, con, ad#pen4ynamic, ad'ock#ptimistic *f rec.7#5 hen autogen M > 7lse autogen M .al2rec2P3 L >3 7nd *f 7N* &$#-741$7: 7xit 5unction errhandler: S!sg,ox KAn 7rror occurred. ransaction was unsuccessfull, ry againK, vb-ritical, title %o o 7N* &$#-741$7 7nd 5unction

93

TRANSFER RECORD
&rivate Sub cboAccount+umberD-lick23 #n 7rror %o o errhandler -all 4isplay-ustomer4etails2cboAccount+umber. ext3 txt,alance. ext M ,alance txt5irst+ame. ext M 5irst+ame txt'ast+ame. ext M 'ast+ame txt%ender. ext M %ender txtAccount ype. ext M Account ype cmd#k.7nabled M rue txtAmount.7nabled M rue txt-heck+o.7nabled M rue txt-heck+o.Set5ocus &ic.&icture M 'oad&icture2App.&ath 6 KHpicturesHK 6 -ustomer&icture3 7N* &$#-741$7: 7xit Sub errhandler: &ic.&icture M 'oad&icture2App.&ath 6 KH&icturesHK 6 K+A.%*5K3 %o o 7N* &$#-741$7 7nd Sub &rivate Sub cboAccount+umberD;ey&ress2;eyAscii As *nteger3 ;eyAscii M P 7nd Sub &rivate Sub cbo oAccount+oD;ey&ress2;eyAscii As *nteger3 ;eyAscii M P
94

7nd Sub &rivate Sub cmd-loseD-lick23 *f !sg,ox2KAre you sure you want to cancel CK, A L @?, title3 M vb+o hen %o o 7N* &$#-741$7 7lse 7nd *f 7N* &$#-741$7: 7xit Sub 7nd Sub &rivate Sub cmd#kD-lick23 #n 7rror %o o errhandler *f txt-heck+o. ext M KK hen !sg,ox K&lease enter check numberOK, vb7xclamation, title txt-heck+o.Set5ocus %o o 7N* &$#-741$7 7nd *f *f txtAmount. ext M KK hen !sg,ox K&lease enter AmountOK, vb7xclamation, title txtAmount.Set5ocus %o o 7N* &$#-741$7 7nd *f *f cbo oAccount+o. ext M KK hen !sg,ox K&lease select the account you are transfering toOK, vb7xclamation, title cbo oAccount+o.Set5ocus %o o 7N* &$#-741$7 7nd *f *f -heckD-heck+o2txt-heck+o. ext3 M rue hen
95

1nload !e

!sg,ox K-heck +umber has already been usedK, vb7xclamation, title txt-heck+o.SelStart M P txt-heck+o.Sel'ength M 'en2txt-heck+o. ext3 txt-heck+o.Set5ocus %o o 7N* &$#-741$7 7nd *f *f -heckDStop-heck+o2txt-heck+o. ext, cboAccount+umber. ext3 M rue hen !sg,ox K-heck +umber has been stopped. Jou can not transfer money with itK, vb7xclamation, title txt-heck+o.SelStart M P txt-heck+o.Sel'ength M 'en2txt-heck+o. ext3 txt-heck+o.Set5ocus %o o 7N* &$#-741$7 7nd *f *f rim2txtAmount. ext3 R rim2txt,alance. ext3 hen !sg,ox K he Amount you are withdrawing is more than your current balanceOK, vb7xclamation, title txtAmount.SelStart M P txtAmount.Sel'ength M 'en2txtAmount. ext3 txtAmount.Set5ocus %o o 7N* &$#-741$7 7nd * *f cboAccount+umber. ext M cbo oAccount+o. ext hen !sg,ox KJou can transfer from and to the same Account.K, vb7xclamation, title cboAccount+umber.Set5ocus %o o 7N* &$#-741$7 7nd *f

96

*f !sg,ox2KAre you sure you want to transfer K 6 txtAmount. ext 6 K from Account +umber K 6 cboAccount+umber. ext 6 K to Account +umber K 6 cbo oAccount+o. ext 6 K CK, A L @?, title3 M vb+o hen %o o 7N* &$#-741$7 7lse rec rans.Add+ew rec ransO ransaction*4 M autogen rec ransO ransaction4ate M dtp4ate..alue rec ransO ransaction ype M K ransferK rec ransO ransaction!ode M K-heckK rec ransO5romAccount+umber M cboAccount+umber. ext rec ransO oAccount+umber M cbo oAccount+o. ext rec ransOcheck+umber M txt-heck+o. ext rec ransOAmount M txtAmount. ext rec ransOstatus M KK rec rans.1pdate con.7xecute K1pdate -ustomer set ,alance M K 6 --ur2txt,alance. ext3 = --ur2txtAmount. ext3 6 K Where Account+umber M SK 6 rim2cboAccount+umber. ext3 6 KSK con.7xecute K1pdate -ustomer set ,alance M K 6 --ur2txt,alance. ext3 L --ur2txtAmount. ext3 6 K Where Account+umber M SK 6 rim2cbo oAccount+o. ext3 6 KSK !sg,ox K ransaction done successfully.K, vb7xclamation, title 1nload !e 7nd if 7N* &$#-741$7: 7xit Sub errhandler: !sg,ox KAn 7rror occurred. ransaction was unsuccessfull, ry againK, vb-ritical, title %o o 7N* &$#-741$7 7nd Sub
97

&rivate Sub 5ormD'oad23 #n 7rror %o o errhandler !ove 2Screen.Width = Width3 " ?, 2Screen.)eight = )eight3 " @ -all -onnect!e cmd#k.7nabled M 5alse txtAmount.7nabled M 5alse txt-heck+o.7nabled M 5alse dtp4ate..alue M 4ate -all fillD-ombo2cboAccount+umber3 -all fillD-ombo2cbo oAccount+o3 7N* &$#-741$7: 7xit Sub errhandler: !sg,ox KAn 7rror occurred while loading the formK, vb-ritical, title %o o 7N* &$#-741$7 7nd Sub &rivate Sub txtAmountD;ey&ress2;eyAscii As *nteger3 -all only+umbers2;eyAscii3 7nd Sub &ublic 5unction autogen23 As String #n 7rror %o o errhandler 4im rec As +ew $ecordset rec.#pen Kselect max2 ransaction*43 from ransK, con, ad#pen4ynamic, ad'ock#ptimistic *f rec.7#5 hen autogen M > 7lse

autogen M .al2rec2P3 L >3 7nd *f


98

7N* &$#-741$7: 7xit 5unction errhandler: S!sg,ox KAn 7rror occurred. ransaction was unsuccessfull, ry againK, vb-ritical, title %o o 7N* &$#-741$7 7nd 5unction

99

STOP PAYMENT
&rivate Sub cboAccount+umberD-lick23 #n 7rror %o o errhandler -all 4isplay-ustomer4etails2cboAccount+umber. ext3 txt,alance. ext M ,alance txt5irst+ame. ext M 5irst+ame txt'ast+ame. ext M 'ast+ame txt%ender. ext M %ender txtAccount ype. ext M Account ype

cmd#k.7nabled M rue txtAmount.7nabled M rue txt-heck+o.7nabled M rue txt-heck+o.Set5ocus

&ic.&icture M 'oad&icture2App.&ath 6 KHpicturesHK 6 -ustomer&icture3 7N* &$#-741$7: 7xit Sub errhandler: &ic.&icture M 'oad&icture2App.&ath 6 KH&icturesHK 6 K+A.%*5K3 %o o 7N* &$#-741$7 7nd Sub &rivate Sub cboAccount+umberD;ey&ress2;eyAscii As *nteger3 ;eyAscii M P 7nd Sub
100

&rivate Sub cmd-loseD-lick23 *f !sg,ox2KAre you sure you want to cancel CK, A L @?, title3 M vb+o hen %o o 7N* &$#-741$7 7lse 1nload !e 7nd *f 7N* &$#-741$7: 7xit Sub 7nd Sub &rivate Sub cmd#kD-lick23 #n 7rror %o o errhandler *f txt-heck+o. ext M KK hen !sg,ox K&lease enter check numberOK, vb7xclamation, title txt-heck+o.Set5ocus %o o 7N* &$#-741$7 7nd *f *f txtAmount. ext M KK hen !sg,ox K&lease enter AmountOK, vb7xclamation, title txtAmount.Set5ocus %o o 7N* &$#-741$7 7nd *f

*f -heckD-heck+o2txt-heck+o. ext3 M rue hen !sg,ox K-heck +umber has already been usedK, vb7xclamation, title txt-heck+o.SelStart M P txt-heck+o.Sel'ength M 'en2txt-heck+o. ext3
101

txt-heck+o.Set5ocus %o o 7N* &$#-741$7 7nd *f *f rim2txtAmount. ext3 R rim2txt,alance. ext3 hen !sg,ox K he Amount you are withdrawing is more than your current balanceOK, vb7xclamation, title txtAmount.SelStart M P txtAmount.Sel'ength M 'en2txtAmount. ext3 txtAmount.Set5ocus %o o 7N* &$#-741$7 7nd *f *f -heckDStop-heck+o2txt-heck+o. ext, cboAccount+umber. ext3 M rue hen !sg,ox K-heck +umber has been stopped. Jou can not withdraw money with itK, vb7xclamation, title txt-heck+o.SelStart M P txt-heck+o.Sel'ength M 'en2txt-heck+o. ext3 txt-heck+o.Set5ocus %o o 7N* &$#-741$7 7nd *f *f !sg,ox2KAre you sure you want to withdraw K 6 txtAmount. ext 6 K from Account +umber K 6 cboAccount+umber. ext 6 K CK, A L @?, title3 M vb+o hen %o o 7N* &$#-741$7 7lse rec rans.Add+ew rec ransO ransaction*4 M autogen rec ransO ransaction4ate M dtp4ate..alue rec ransO ransaction ype M KWithdrawalK rec ransO ransaction!ode M K-ashK
102

rec ransO5romAccount+umber M cboAccount+umber. ext rec ransO oAccount+umber M KK rec ransOcheck+umber M txt-heck+o. ext rec ransOAmount M txtAmount. ext rec ransOstatus M KK rec rans.1pdate con.7xecute K1pdate -ustomer set ,alance M K 6 --ur2txt,alance. ext3 = --ur2txtAmount. ext3 6 K Where Account+umber M SK 6 rim2cboAccount+umber. ext3 6 KSK !sg,ox K ransaction done successfully.K, vb7xclamation, title 1nload !e 7nd *f 7N* &$#-741$7: 7xit Sub errhandler: !sg,ox KAn 7rror occurred. ransaction was unsuccessfull, ry againK, vb-ritical, title %o o 7N* &$#-741$7 7nd Sub &rivate Sub 5ormD'oad23 #n 7rror %o o errhandler !ove 2Screen.Width = Width3 " ?, 2Screen.)eight = )eight3 " @ -all -onnect!e cmd#k.7nabled M 5alse txtAmount.7nabled M 5alse txt-heck+o.7nabled M 5alse dtp4ate..alue M 4ate -all fillD-ombo2cboAccount+umber3 7N* &$#-741$7: 7xit Sub
103

errhandler: !sg,ox KAn 7rror occurred while loading the formK, vb-ritical, title %o o 7N* &$#-741$7 7nd Sub &rivate Sub txtAmountD;ey&ress2;eyAscii As *nteger3 -all only+umbers2;eyAscii3 7nd Sub &ublic 5unction autogen23 As String #n 7rror %o o errhandler 4im rec As +ew $ecordse rec.#pen Kselect max2 ransaction*43 from ransK, con, ad#pen4ynamic, ad'ock#ptimistic *f rec.7#5 hen autogen M > 7lse autogen M .al2rec2P3 L >3 7nd if 7N* &$#-741$7: 7xit 5unction errhandler: S!sg,ox KAn 7rror occurred. ransaction was unsuccessfull, ry againK, vb-ritical, title %o o 7N* &$#-741$7 7nd 5unction

104

WITHDRAWAL
&rivate Sub cboAccount+umberD-lick23 #n 7rror %o o errhandler -all 4isplay-ustomer4etails2cboAccount+umber. ext3 txt,alance. ext M ,alance txt5irst+ame. ext M 5irst+ame txt'ast+ame. ext M 'ast+ame txt%ender. ext M %ender txtAccount ype. ext M Account ype cmd#k.7nabled M rue txtAmount.7nabled M rue txt-heck+o.7nabled M rue txt-heck+o.Set5ocus &ic.&icture M 'oad&icture2App.&ath 6 KHpicturesHK 6 -ustomer&icture3 7N* &$#-741$7: 7xit Sub errhandler: &ic.&icture M 'oad&icture2App.&ath 6 KH&icturesHK 6 K+A.%*5K3 %o o 7N* &$#-741$7 7nd Sub &rivate Sub cboAccount+umberD;ey&ress2;eyAscii As *nteger3 ;eyAscii M P 7nd Sub &rivate Sub cmd-loseD-lick23 *f !sg,ox2KAre you sure you want to cancel CK, A L @?, title3 M vb+o hen
105

%o o 7N* &$#-741$7 7lse 1nload !e 7nd *f 7N* &$#-741$7: 7xit Sub 7nd Sub &rivate Sub cmd#kD-lick23 #n 7rror %o o errhandler *f txt-heck+o. ext M KK hen !sg,ox K&lease enter check numberOK, vb7xclamation, title txt-heck+o.Set5ocus %o o 7N* &$#-741$7 7nd *f *f txtAmount. ext M KK hen !sg,ox K&lease enter AmountOK, vb7xclamation, title txtAmount.Set5ocus %o o 7N* &$#-741$7 7nd *f *f -heckD-heck+o2txt-heck+o. ext3 M rue hen !sg,ox K-heck +umber has already been usedK, vb7xclamation, title txt-heck+o.SelStart M P txt-heck+o.Sel'ength M 'en2txt-heck+o. ext3 txt-heck+o.Set5ocus %o o 7N* &$#-741$7 7nd *f *f rim2txtAmount. ext3 R rim2txt,alance. ext3 hen
106

!sg,ox K he Amount you are withdrawing is more than your current balanceOK, vb7xclamation, title txtAmount.SelStart M P txtAmount.Sel'ength M 'en2txtAmount. ext3 txtAmount.Set5ocus %o o 7N* &$#-741$7 7nd *f *f -heckDStop-heck+o2txt-heck+o. ext, cboAccount+umber. ext3 M rue hen !sg,ox K-heck +umber has been stopped. Jou can not withdraw money with itK, vb7xclamation, title txt-heck+o.SelStart M P txt-heck+o.Sel'ength M 'en2txt-heck+o. ext3 txt-heck+o.Set5ocus %o o 7N* &$#-741$7 7nd *f *f !sg,ox2KAre you sure you want to withdraw K 6 txtAmount. ext 6 K from Account +umber K 6 cboAccount+umber. ext 6 K CK, A L @?, title3 M vb+o hen %o o 7N* &$#-741$7 7lse rec rans.Add+ew rec ransO ransaction*4 M autogen rec ransO ransaction4ate M dtp4ate..alue rec ransO ransaction ype M KWithdrawalK rec ransO ransaction!ode M K-ashK rec ransO5romAccount+umber M cboAccount+umber. ext rec ransO oAccount+umber M KK rec ransOcheck+umber M txt-heck+o. ext rec ransOAmount M txtAmount. ext
107

rec ransOstatus M KK rec rans.1pdate con.7xecute K1pdate -ustomer set ,alance M K 6 --ur2txt,alance. ext3 --ur2txtAmount. ext3 6 K Where Account+umber M SK 6 rim2cboAccount+umber. ext3 6 KSK !sg,ox K ransaction done successfully.K, vb7xclamation, title 1nload !e 7nd *f 7N* &$#-741$7: 7xit Sub errhandler: !sg,ox KAn 7rror occurred. ransaction was unsuccessfull, ry againK, vb-ritical, title %o o 7N* &$#-741$7 7nd Sub &rivate Sub 5ormD'oad23 #n 7rror %o o errhandler !ove 2Screen.Width = Width3 " ?, 2Screen.)eight = )eight3 " @ -all -onnect!e cmd#k.7nabled M 5alse txtAmount.7nabled M 5alse txt-heck+o.7nabled M 5alse dtp4ate..alue M 4ate -all fillD-ombo2cboAccount+umber3 7N* &$#-741$7: 7xit Sub errhandler: !sg,ox KAn 7rror occurred while loading the formK, vb-ritical, title %o o 7N* &$#-741$7 7nd Sub
108

&rivate Sub txtAmountD;ey&ress2;eyAscii As *nteger3 -all only+umbers2;eyAscii3 7nd Sub &ublic 5unction autogen23 As String #n 7rror %o o errhandler 4im rec As +ew $ecordset rec.#pen Kselect max2 ransaction*43 from ransK, con, ad#pen4ynamic, ad'ock#ptimistic *f rec.7#5 hen autogen M > 7lse autogen M .al2rec2P3 L >3 7nd *f 7N* &$#-741$7: 7xit 5unction errhandler: S!sg,ox KAn 7rror occurred. ransaction was unsuccessfull, ry againK, vb-ritical, title %o o 7N* &$#-741$7 7nd 5unction

109

4uring system testing, the system is used experimentally to ensure that the software does not fall, i.e. it will run according to specification and in the way users expect. Special test data input for processing and the result examination. A limited number of users may be allowed to use the system so that analysis can seen whether they use it in unforeseen ways. *t is preferable to discover any surprises the organi/ation implements the system and encounters them later on. his type of testing which allows only a few, selected users to work on the system is known as ,7 A 7S *+%. #n the other hand the testing done by the developer 2s3, themselves is known as A'&)A 7S *+%. esting is generally performed by persons other than those who the original programs to ensure complete and unbiased testing and more reliable software. he norms followed during the testing phase were thoroughly tested by me, the developer, * was required to release the program<s source code. he source code was copied into the area. *f some changes were desired in the program, * was suitably informed and was required to made the necessary modifications. 5ollowing testing procedures were used

UNIT TESTING
U!&t te)t&!2 &) t*e te)t&!2 "# a )&!2.e pr"2ra "+$.e &! a! &)".ate+ e!,&r"! e!t. he testing of the processing procedure is the main focus. *n this regard, all the modules were separately tested first as isolated and complete entities. his helped a lot in discovering problems related to a single module and rectifying them in the contest of the module itself, rather than considering module=related problem in a global context.

110

INTEGRATION TESTING
I!te2rat&"! te)t&!2 &) t*e pr"%e)) "# te)t&!2 t*e &!ter#a%e) a "!2 )/)te "+$.e). Some testing ensures that data moves between system as intended. *n the regard of a particular module was obtained in correct format, so that the next module could accept it appropriately. his could be done either after the entire system was developed, or in stages than one module was developed.

SYSTEM TESTING
S/)te te)t&!2 &) t*e te)t&!2 "# t*e )/)te a2a&!)t &t) &!&t&a. "09e%t&,e). Such testing is

done either in a simulated environment or in a live environment. *n the case of the system which * developed, the testing was done in a p)e$+"3rea. e!,&r"! e!t. he organi/ation has an area called the W4evelopment W, where all development work is carried out, whereas the W-lient< is the area where all on=line work is undertaken. Since the kind of work which * was involved dealt with insertion, updating and in tables, all the work was developed in the W 4evelopment< area. * call the environment pseudo=real since all data which is being used for on=line transaction can be copied into the tables of the W4evelopment< and live data can be worked on. hus whatever would be the output on the W -lient W is reflected exactly on the W 4evelopment < also. hus, discovery of error became simpler in that the errors which would occurs in the real=time environment were exactly duplicated in the W4evelopment W environment.

All the above types of testing were carried out and various extreme cases were also introduced to check for whether the system responded as expected. he various 5orms, database

111

packages, procedures, functionX visual basic programs and functions were tested to discover they behaved in the manner expected of them and gave accurate results. )owever, the factor, which helped most in the modification and rectification of the system, was the user response. he user after using the system would invariably come up with some idea to improve the system. Such ideas, if feasible, were incorporated into the system, thus leading to an improvement in the overall efficiency of the system.

112

*mplementation, literally, means to put into effect or to carry out. he system implementation phase of software engineering deals with all activities that take place to convert from the old system to the new. &roper implementation is essential to provide system to meet organi/ation<s requirements. 4uring the implementation phase debugging, documentation of the system was created out, module in the project for

Accuracy of $esults, !inimi/ation of response ime, -larity and Simplicity of the code, !inimi/ation of )ard 9-oding i.e. 2a generic approach was followed 3 !inimi/ation of amount of memory used.

.arious types of errors were discovered while debugging the modules. hese ranged from errors to failure to account for various processing cases. &roper documentation of each module was done by embedding comments in the executable portion of the code. o enhance the readability, comments, indentation, parenthesis, black spaces, blank lines and borders were around the blocks of comments. -are was taken to use descriptive names for table, field, modules, forms etc., he proper use of indentation, parenthesis and blank lines was also ensured during coding. esting of the $eport %eneration module was carried out to find out the response time of the system for the generating reports. o make the response time negligible

113

!aintenance is a fact of life in the development of information systems. )owever the making of changes 6 adjustments don<t necessarily signal correction of error or the occurrence of problems. Among the most frequent changes requested by end users is the addition of information to a report format. *nformation requirements may be revised as the result of system usage or changing operational needs. &erhaps oversights that occurred during the development process need to be corrected. #ften, the need arises to capture additional data for storage in a database or perhaps when it is necessary to add error detection features to prevent system users from inadvertently taking an unwanted action.

hese are the realities of application maintenance, when they occur, however they are an indication that the system is being used 6 that it is serving a useful function rather than being W<shelved<< by the intended, such as : !ore accurately defining the user<s requirements during system development. Assembling better systems documentation. !aking better use of existing tools 6 techniques. *ncluding proper comments.

114

D"%$ e!tat&"! &) t*e pr"%e)) "# %"..e%t&!28 "r2a!&7&!28 )t"r&!2 a!+ a&!ta&!&!2 "! paper ("r )" e re.at&,e./ per a!e!t./ e+&$ ) a %" p.ete re%"r+ "# 4*/ app.&%at&"! 4ere +e,e."pe+8 #"r 4*" 8 4*at #$!%t&"! t*e/ per#"r 8 a!+ *"4 t*e)e #$!%t&"!) are %arr&e+ "$t. hus it provides an explanation of how a system operates 6 what feature characteri/e models 6 algorithms. &roducing documentation is an important 9 but often neglected 9 activity of programmers. 4ocumentation of the system always reduces maintenance costs and makes maintenance much more easier. 4ocumentation can be broadly classified as : ?. ;. INTERNAL DOCUMENTATION E:TERNAL DOCUMENTATION

INTERNAL DOCUMENTATION
*nternal documentation in the code can be extremely useful in enhancing the understandability of programs. *nternal documentation of programs is done by the use of comments. All the languages provide means of writing comments in the programs. -omments are textual statements that are meant for the reader and are not executed. -omments , if properly written, and if kept consistent with the code, can be invaluable during maintenance. he purpose of comments is not to explain the internal logic of the program 9 the program itself is the best documentation for the details of logic. he comments should explain what the code is done is doing, and not how it is done it. -omments should be provided for the block of code, particularly those parts of code which are hard to follow. &roviding comments for module is most useful as module form the unit testing , compiling , verification and modification. -omments for a module are often called prologue for the module. *t is best to standardi/ed the structure of the prologue of the module. *t is desirable that prologue contains the following information : a3 !odule functionality or what the module is doing b3 &arameters are their purpose c3 Assumptions about the input, if any d3 %lobal variable accessed and or modified in the module As explanation of parameters 2 whether they are input only, output only or both input and output , why they are needed by the module and how the parameters are modified 3 can be quite useful during maintenance. *n addition to that given above , often information can be included, depending on the local coding standards. 7xample include : = +ame of the author, = 4ate of compilation = 'ast date of modification.
115

+ote that if the module is modified, then the prologue should also be modified, if necessary. A prologue that is inconsistent with the internal logic of the module is prologue worse than having no prologue at all. While coding programs for the Station -oding System special attention has been paid to the internal documentation of the system, in addition to the external documentation. 7ach program"module has : &rogram"module name on top 4ate of creation of the program 'ast modification date he S"W tool used to developed the program 4escription of input to the program"module 4escription of the output produced )ow the module is related to other modules &urpose of variables"constants used

Apart from this comment lines have been inserted wherever it was felt that they were necessary. !oreover meaningful variable names"constants have been assigned to different variable"constants used in the programs.

116

he project made me reali/e the significance of developing software for client, where all the eventualities have to be taken care of, unlike at educational institution, where the sole aim is to learn. What may be seen to the developed to be a software complete in all respects, * was required to meet the stringent demands of the in=house client in the materials department. hrough this seemed tough at first, * reali/ed that pressure goaded us on to develop better and better applications. 4uring the project, the real importance for following all the principle of System Analysis and 4esign drawled on me. * felt the necessity of going through the several stages, because only such a process could make one understand the problems at hand, more so due to the enormous si/e of data stores involved and their manipulation *n retrospect, * would like to say that the institute provided us with sample opportunities to learn #racle G and its tools. * specifically was able to learn MS3ACCESS and its ools. * specially was able to learn VISUAL BASIC @.<. * also succeeded in understanding a number of tricky concept in database, which were earlier only ha/y blobs in the realm of our comprehension. )owever my project library management is an asset to the organi/ation, even then +UR!,-R -$,A$C-M-$! are possible in this project such as new forms 6 reports can be included as and when required. 1nfortunately due to lack of time we can developed any report in this system but this is not the end of this system software, it is beginning. We can change and modify this software due to more requirement of needs and also removed some errors which is finding in this system software. We also developed some complex reports which is required and makes this software more powerful and friendly for user by which user can handle library data more easily and can calculate all

117

the calculation without any other software i.e., user<s all the requirements will be fulfill by this software and user can manage all the numeric data calculations.

S. N". >

Ter ) BACK UP

De)%r&pt&"! A copy of something preserved to insure against the damage of primary copy.

? BASE @

DATA DBMS

A repository of stored data. 4ata ,ase !anagement System is a layer if Software between the physical database itself 6 the users of the system. 4ata 4ictionary, which is a data base that -ontains 0data about data8 i.e. description of other in the system

DD

FLOW CHART

5'#W -)A$ which depicts relation between different entities in the system. he physical equipment in a system comprising of computers, terminals, ;eyboards 6 #ther ancillary items. *nformation echnology 4ivision.
118

E RE

HARDWA

ITD

MENU

A group of options from which Selection is to be made. A small components of a larger system A term describing people, equipment or 4evices that are in direct communication with the computer &reliminary *nvestigation A sequence of instruction given to the -omputer to solve a particular problem. A development model of the system for test &urpose A data ,ase" !anagement System in which $elationships are defined by tables. $equirement Specification 4ocument. he ability to increase the performance With the growth in )ardware. -omputer program, procedure 6 Associated documentation concerned with the operator of a system.

F > P

MODULE ON3LINE

> > > ? > @ > A > B > E > V RE LITY YPE M

PI PROGRA

PROTOT

RDBMS

RSD SCALABI

SOFTWA

119

BOOK NAME

AUTHOR

>. -omplete $eference of !S=#ffice ?. An *ntroduction to 4atabase Systems @. System Analyses and 4esign A. he -omplete .*S1A' ,AS*-

echmedia -. Y. 4ate 7 !. Awad ulec &.;.! ,ride %ary -ornell Steve $ita Sahoo Smith

B. &rogramming in ., E. .isual ,asic from the %round 1p V. !astering in ., G. ., with !S=Access F. .isual ,asic E.P

120

Vous aimerez peut-être aussi