Sie sind auf Seite 1von 53

www.kashipara.

in


This project is in partial fulfillment of BCA. It used
Visual Basic 6.0 and Microsoft Access. Both these are ver
popular development tools in the market. !e have develop
the Bankin" Mana"ement #stem that it can $e inte"rated
easil with an of it%s lar"er software $ makin" none or
minor chan"es or& if re'uired& it can $e implemented as a
stand alone software. (ur current project is contri$utin" to
these re'uirements.
The software records details pertainin" to the
Customer who staed in Bank& total availa$le $alance &
which is withdrawl $ the customer and the deposit $ the
customer.
This )ocument also contains a $rief profile of the
description of the project& data flow dia"ram and data
dictionar. *inall& some screen laouts and report laouts
that provide an idea of the +,I of the sstem are also
included.
(ur #oftware& which ou are usin"& is the result of
man people%s dedication. It is the cumulative efforts of
man minds workin" to"ether da and ni"ht that "ave
us the contentment of developin" the software.
#pecial thanks to& the Co-coordinator of & for his
"reat support. !e e.press our "ratitude to for "uidance
and who kept the thin"s on track and also to all other
facult mem$ers who helped us directl or indirectl.
/ast $ut not least our acknowled"ement "oes to all
the well wishers of our project for their e.cellent
support in all aspects.
Thanks to all. +reat 0o$11
#r.
2o.
)escription 3a"e
2o.
4 3roject 3rofile
5 A$out The 3roject
6 )evelopment Tools
Visual Basic
M.#. Access
M.#. !ord
M.#. )ata 7eport
8 )ata )ictionar
9 )ata *low )ia"ram
6 *orms : Codin"s
3roject Title; Banking Management System.
<ardware used; 3entium IV 4.= +<>& 45? MB 7AM&
<ard disk. 80 +B
(peratin" #stem; !indows @3. (7 !indows =?
*ront And; Visual Basic 6.0
Back And; Microsoft Access
)ocument tool; M.#.!ord
7eport )esi"ner; )ata 7eport BVB 6.0C
#u$mitted B;
#u$mitted To;



In an e.istin" sstem& user should "o to the BA2D
and ask for the open new account and withdrawn of the
mone and the deposit of mone and "et at the same
time facalit. #o customer should spend time for the
$ank transaction. It is main draw$ack of the e.istin"
sstem.
All the entr fills up $ the operator of the Bank.so
user can not see all details of the transaction. Customer
can not see the other other transaction and the mone
details.
The Bankin" mana"ement sstem is a multi-user
sstem. It has $een developed in a wa to allow the user
to perform the functions smoothl and with proper
veracit
The #stem is developed in Microsoft Visual Basic
6.0 and Microsoft Access.
The sstem maintain the data of the customer and it%s
transaction detail with date with timin".

Visual Basic is a superset of the visual $asic for applications
pro"rammin" lan"ua"e& which is included with most of the
office products.
Includes a +,I development environment for developin"
windows applications.
3rovides the a$ilit to develop and test applications usin" an
interpretive run function.
Allows for creation of 3ECode and native code A@A files.
3ECode can $e stored more efficientl and e.ecuted faster
than our source code.
($ject $ased development is possi$le usin" class modules.
7apid application development.
Allows for the Creation of C(M components such as Active
@ Controls& )//%s and A@A%s.
<as man e.cellent inte"rated help facilit and $ooks online.
Includes "ood de$u""in" facilities.
<ave man wi>ards that help automate repetitive tasks.
,ses man data$ase access methods to "et at different tpes
of data.
It is an e.ample of I)ABInte"rated )evelopment
AnvironmentC where we can perform )esi"nin"& Codin"&
)e$u""in"& and e.ecutin".

Ms Access is one of the leadin" data $ase
mana"ement sstems B)BM#C #oftware for the 3c Ms
Access helps ou to desi"n data$ase files as per the
re'uirements and as per the specified format. (nce the
data$ase is read& ou can retrieve selected information
from it. The $est part is that data stored in the data$ase
is fle.i$le i.e. one can chan"eFmodif the contents as
well as the structure of a data$ase an num$er of times.
Microsoft !ord is used to create documentation
used for descri$in" various data used in the project.
Throu"h !ord we can also add pictures as well as
other attractive o$jects to documents so as to "ive
the document effective look.





CustEid num$er
AccEno Te.t
2ame Te.t
Address Te.t
Cit Te.t
3incode Te.t
#tate Te.t
Bdate Te.t
Cno Te.t
AccEtpe Te.t
(penEdate )ateFTime
openEamount Te.t
CurrentEamount Te.t
7emark Te.t
Table Use:
This ta$le is used to store the data a$out the Customer information.

Table Use:
This ta$le is used to store the data a$out the withdrawn transaction detail
of the customer.
Fields Type
TransactionEId Te.t
AccountE2o Te.t
2arration Te.t
!ithdrawnEAmt. Te.t
)ate )ateFTime
7emainin"EAmt. Te.t
Fields Type
TransactionEId Te.t
AccountE2o. Te.t
2arration Te.t
)epositeEAmount Te.t
Mode Te.t
Bankname Te.t
Che'ueEno. Te.t
)ate )ateFTime
7emainin"EAmout Te.t
Table Use:
This ta$le is used to store the data a$out the deposit transaction detail of
the costumer.


Fields Type
$ankEname te.t
$ranchEno te.t
Address Te.t
Cit Te.t
3incode Te.t
coEno Te.t
#tate Te.t
Countr Te.t
minE$alance Te.t
Table Use:
This ta$le is used to store the data a$out the Bank profile.

Fields Type
,name te.t
3wd te.t
*ullname Te.t
Address Te.t
Contact Te.t
Amail Te.t
Brithdate )ateFtime
Table Use:
This ta$le is used to store the data a$out the ,ser information.
E-R Diagram
Customer
2A! AFc.

!IT<)7A!/
C<ACD (,T TAB/A
BI//
(ption A.plicit
)im rs As 2ew A)()B.7ecordset
3rivate #u$ cmdcancelEClickBC
,nload Me
And #u$
3rivate #u$ cmdlo"inEClickBC
)im 'r As #trin"
)im /(+I2 As #trin"
'r G H#elect uname&pwd from userprofile where unameGIH : t.tuname : HI and
pwdGIH : t.tpwd : HIH
rs.(pen 'r& con& ad(penDeset& ad/ock(ptimistic
If t.tuname.Te.t G HadminH (r t.tuname.Te.t G HA)MI2H Then
M)I*orm4.mnuadministrator.Visi$le G True
M)I*orm4.mnu$ankprofile.Visi$le G True
M)I*orm4.mnuviewprofile.Visi$le G True
And If
If rs.7ecordCount J 0 Then
frmprocess.#how
auser G t.tuname.Te.t
M)I*orm4.mnusi"nin.Ana$led G *alse
Alse
Ms"Bo. HAnter correct username or passwordH
t.tpwd.#et*ocus
And If
rs.Close
t.tpwd.Te.t G Ampt
And #u$
3rivate #u$ *ormE/oadBC
t.tuname.Ma./en"th G 49
t.tpwd.Ma./en"th G 49
And #u$
3rivate #u$ t.tpwdE+ot*ocusBC
#endDes HKhomeLMKendLH
And #u$
3rivate #u$ t.tpwdEDe3ressBDeAscii As Inte"erC
If DeAscii G ? Then
DeAscii G ?
AlseIf DeAscii G 65 Then
DeAscii G 0
And If
DeAscii G validateEalphanumericBDeAsciiC
And #u$
3rivate #u$ t.tunameE+ot*ocusBC
#endDes HKhomeLMKendLH
And #u$
3rivate #u$ t.tunameEDe3ressBDeAscii As Inte"erC
DeAscii G AscB,CaseBChrBDeAsciiCCC
And #u$
)im i As Inte"er
)im rs As 2ew A)()B.7ecordset
3rivate #u$ *ormE/oadBC
Ima"e4.3icture G /oad3ictureBApp.3ath : HNim"Nprocess.$mpHC
i G 0
And #u$
3rivate #u$ Timer4ETimerBC
Ima"e4.!idth G Ima"e4.!idth M 88
If Ima"e4.!idth JG 6?99 Then
Timer4.Ana$led G *alse
And If

And #u$
3rivate #u$ Timer5ETimerBC
/a$el4.Caption G i : HOH
i G i M 4
If i G 404 Then
Timer5.Ana$led G *alse
M)I*orm4.#how
frmlo"in.<ide
,nload Me
And If
And #u$
3rivate #u$ M)I*ormE/oadBC
M)I*orm4.mnuadministrator.Visi$le G *alse
M)I*orm4.mnu$ankprofile.Visi$le G *alse
And #u$
3rivate #u$ mnuadminEClickBC
frmchan"eup.#how
And #u$
3rivate #u$ mnua$out$ankEClickBC
frmA$out.#how
And #u$
3rivate #u$ mnuadministratorEClickBC
frmchan"eup.#how
And #u$
3rivate #u$ mnucalculatorEClickBC
#hell Hcalc.e.eH
And #u$
3rivate #u$ mnucutdetailEClickBC
)im rs As 2ew A)()B.7ecordset
rs.(pen Hselect P from custEmaster order $ accEnoH& con& ad(pen#tatic&
ad/ock7ead(nl
(pen App.3ath : HNreportNcust.t.tH *or (utput As Q4
IMs"Bo. App.3ath
3rint Q4& H ----------------------------------------------------------------------H
3rint Q4& H All C,#T(MA7 )ATAI/#H
3rint Q4& H ----------------------------------------------------------------------H
3rint Q4& H Account2(H : #paceB6C : H2ameH : #paceB49C : HCitH : #paceB?C
: HC(2TACT 2(H : #paceB9C : H/A#T BA/A2CAH
3rint Q4& H ----------------------------------------------------------------------H
)o !hile 2ot rs.A(*
3rint Q4& H H : rs1accEno : #paceB40 - /enBrs1accEnoCC : rs12ame : #paceB50
- /enBrs12ameCC : rs1cit : #paceB49 - /enBrs1citCC : rs1cno : #paceB40 - /enBrs1
currentEamountCC : rs1currentEamount
3rint Q4& HH
rs.Move2e.t
/oop
3rint Q4& HH
3rint Q4& H ----------------------------------------------------------------------H
3rint Q4& HH
3rint Q4& H H : Me.Caption : #paceB8C : )ate : #paceB8C : Time
Close Q4
#hell App.3ath : HNutilitsNwordpad.e.e H : App.3ath : HNreportNcust.t.tH&
v$Ma.imi>ed*ocus
rs.Close
And #u$
3rivate #u$ mnudepositEClickBC
frmdeposit.#how
And #u$
3rivate #u$ mnudepositreportEClickBC
)im rs As 2ew A)()B.7ecordset
rs.(pen Hselect P from deposit order $ dateH& con& ad(pen#tatic&
ad/ock7ead(nl
(pen App.3ath : HNreportNalldeposit.t.tH *or (utput As Q4
IMs"Bo. App.3ath
3rint Q4& H------------------------------------------------------------------------H
3rint Q4& H All )A3(#IT T7A2#ACTI(2 )ATAI/#H
3rint Q4& H------------------------------------------------------------------------H
3rint Q4& HTransaction I)H : #paceB5C : HAccount 2(H : #paceB6C : H)ateH :
#paceB40C : H)epositedEAmtH : #paceB6C : HAvaila$le BalH
3rint Q4& H------------------------------------------------------------------------H
)o !hile 2ot rs.A(*

3rint Q4& HH
3rint Q4& rs1transactionid : #paceB49 - /enBrs1accEnoCC : rs1accEno :
#paceB49 - /enBrs1)ateCC : rs1)ate : #paceB49 - /enBrs1depositamountCC :
*ormatBrs1depositamount& H0.00HC : #paceB49 - /enBrs1remain"EamtCC : *ormatBrs1
remain"Eamt& H0.00HC
3rint Q4& HH
rs.Move2e.t
/oop
3rint Q4& HH
3rint Q4& H------------------------------------------------------------------------H
3rint Q4& HH
3rint Q4& Me.Caption : #paceB8C : )ate : #paceB8C : Time
Close Q4
#hell App.3ath : HNutilitsNwordpad.e.e H : App.3ath : HNreportNalldeposit.t.tH&
v$Ma.imi>ed*ocus
rs.Close
And #u$
3rivate #u$ mnue.itEClickBC
And
And #u$
3rivate #u$ mnunewcustomerEClickBC
frmcustEmaster.#how
And #u$
3rivate #u$ mnunewtransactionEClickBC
frmwithdrawn.#how
And #u$
3rivate #u$ mnunotepadEClickBC
#hell Hnotepad.e.eH& v$Ma.imi>ed*ocus
And #u$
3rivate #u$ mnusin"outEClickBC
,nload Me
frmlo"in.#how
And #u$
3rivate #u$ mnuview$ankprofileEClickBC
frm$ankprofile.#how
And #u$
3rivate #u$ mnuviewprofileEClickBC
frmuserEinfo.#how
And #u$
3rivate #u$ mnuviewtransactionEClickBC
frmtransaction.#how
And #u$
3rivate #u$ mnuwithdrawEClickBC
frmwithdrawn.#how
And #u$
3rivate #u$ mnuwithdrawlreportEClickBC
)im rs As 2ew A)()B.7ecordset
rs.(pen Hselect P from withdrawn order $ dateH& con& ad(pen#tatic&
ad/ock7ead(nl
(pen App.3ath : HNreportNallwithdrawl.t.tH *or (utput As Q4
IMs"Bo. App.3ath
3rint Q4& H-------------------------------------------------------------------H
3rint Q4& H All !IT<)7A!/ T7A2#ACTI(2 )ATAI/#H
3rint Q4& H-------------------------------------------------------------------H
3rint Q4& HTransEI)H : #paceB6C : HAFc 2(H : #paceB9C : H)ateH : #paceB?C :
H!ithdrawnEAmtH : #paceB9C : HAvaila$le BalH
3rint Q4& H-------------------------------------------------------------------H
)o !hile 2ot rs.A(*

3rint Q4& HH
3rint Q4& rs1transactionid : #paceB44 - /enBrs1accEnoCC : rs1accEno :
#paceB44 - /enBrs1accEnoCC : rs1)ate : #paceB46 - /enBrs1)ateCC : *ormatBrs1
withdrawnEamt& H0.00HC : #paceB46 - /enBrs1withdrawnEamtCC : rs1remain"Eamt :
#paceB55 - /enBrs1remain"EamtCC
3rint Q4& HH
rs.Move2e.t
/oop
3rint Q4& HH
3rint Q4& H-------------------------------------------------------------------H
3rint Q4& HH
3rint Q4& Me.Caption : #paceB8C : )ate : #paceB8C : Time
Close Q4
#hell App.3ath : HNutilitsNwordpad.e.e H : App.3ath :
HNreportNallwithdrawl.t.tH& v$Ma.imi>ed*ocus

rs.Close
And #u$
(ption A.plicit
)im rs As 2ew A)()B.7ecordset
3rivate #u$ calendardo$EClickBC
t.tdo$.Te.t G calendardo$.Value

calendardo$.Visi$le G *alse
And #u$
3rivate #u$ Calendar4EClickBC
And #u$
3rivate #u$ chkshowpwdEClickBC
If chkshowpwd.Value G v$Checked Then
t.tpassword.3asswordChar G HH
Alse
t.tpassword.3asswordChar G ChrB54=C
And If
And #u$
3rivate #u$ cmdcloseEClickBC
,nload Me
And #u$
3rivate #u$ cmdresetEClickBC
)im ans As #trin"
ans G Ms"Bo.BHAre Rou #ure to 7eset the *orm SH& v$Res2o& H,#A7
I2*(7MATI(2HC
If ans G v$Res Then

t.tpassword.Te.t G HH
t.tfullname.Te.t G HH
t.taddress.Te.t G HH
t.tcontact.Te.t G HH
t.temail.Te.t G HH

And If
And #u$
3rivate #u$ cmdsaveEClickBC
If /TrimBt.tfullname.Te.tC G HH (r /TrimBt.taddress.Te.tC G HH (r
/TrimBt.tcontact.Te.tC G HH (r /TrimBt.temail.Te.tC G HH Then
Ms"Bo. H3lease *ill All Information...H
Alse
If v$Res G Ms"Bo.BHAre Rou #ure To #ave This Chan"es SH& v$Res2o&
H,#A7 I2*(7MATI(2HC Then
)im upd As #trin"
upd G Hupdate userprofile set TpwdUGIH : t.tpassword : HI&
TfullnameUGIH : t.tfullname : HI&TaddressUGIH : t.taddress : HI&TcontactUGIH
: t.tcontact : HI&TemailUGIH : t.temail : HI&T$irthdateUGIH : t.tdo$ : HI
where TunameUGIH : t.tusername : HIH
con.A.ecute upd
Ms"Bo. H7ecord ,pdated #uccessfull...H
And If
And If
And #u$
3rivate #u$ *ormE/oadBC
)im 'r As #trin"
Me./eft G BM)I*orm4.!idth F 5C - BMe.!idth F 5C
Me.Top G BM)I*orm4.<ei"ht F 5C - BMe.<ei"ht F 5C
'r G Hselect P from userprofile where unameGIH : auser : HIH
rs.(pen 'r& con& ad(pen)namic& ad/ock(ptimistic
Call view
t.tpassword.3asswordChar G ChrB54=C
rs.Close
Me./eft G 5000
Me.Top G 90

calendardo$.Visi$le G *alse
And #u$
3rivate #u$ t.taddressEDe3ressBDeAscii As Inte"erC
Call validateEalphaBDeAsciiC
And #u$
3rivate #u$ t.tcontactEDe3ressBDeAscii As Inte"erC
Call validateEnum$erBDeAsciiC
And #u$
3rivate #u$ t.tdo$E+ot*ocusBC
calendardo$.Visi$le G True
calendardo$.V(rder 0
If t.tdo$ G HH Then
calendardo$.Value G rs.*ieldsB6C
Alse
calendardo$.Value G t.tdo$
And If
And #u$
3rivate #u$ t.tdo$E/ost*ocusBC
calendardo$.Visi$le G *alse
And #u$
3rivate #u$ viewBC
t.tusername.Te.t G rs.*ieldsB0C
t.tpassword.Te.t G rs.*ieldsB4C
t.tfullname.Te.t G rs.*ieldsB5C
t.taddress.Te.t G rs.*ieldsB6C
t.tcontact.Te.t G rs.*ieldsB8C
t.temail.Te.t G rs.*ieldsB9C
t.tdo$.Te.t G rs.*ieldsB6C
And #u$
3rivate #u$ t.temailEDe3ressBDeAscii As Inte"erC
Call validateEalphaBDeAsciiC
And #u$
3rivate #u$ t.tfullnameEDe3ressBDeAscii As Inte"erC
Call validateEalphaBDeAsciiC
And #u$
3rivate #u$ t.tpasswordEDe3ressBDeAscii As Inte"erC

If DeAscii G ? Then
DeAscii G ?
AlseIf DeAscii G 65 Then
DeAscii G 0
And If
DeAscii G validateEalphanumericBDeAsciiC
And #u$
3rivate #u$ t.tusernameEDe3ressBDeAscii As Inte"erC
Call validateEalphaBDeAsciiC
And #u$
)im rsEdisp As 2ew A)()B.7ecordset
)im rsu As 2ew A)()B.7ecordset
)im rw As Inte"er& col As Inte"er
)im mode As #trin"
)im fl" As Boolean
3rivate #u$ cmdaddEClickBC

mode G HaH
Call t.tEempt
Call ta$inde.
cmdsave.Ana$led G True
cmddel.Ana$led G *alse
cmdupdate.Ana$led G *alse
cmdreset.Ana$led G True
t.tname.#et*ocus
cmdadd.Ana$led G True
unlockEformEcontrol Me
"enerateEnewEaccountno
"enerateEnewEtransaction
cmdadd.Ana$led G *alse
t.topenEdt.Te.t G )ate
stateEcom$o./istInde. G 0
se.Ecom$o./istInde. G 0
accEtpeEcom$o./istInde. G 0
t.tcustEid.Ana$led G *alse
t.taccEno.Ana$led G *alse
Call ta$inde.
cmdsave.ta$inde. G 46
cmdreset.ta$inde. G 48
cmdcancel.ta$inde. G 49
And #u$
3rivate #u$ cmdcancelEClickBC
,nload Me
And #u$
3rivate #u$ cmddelEClickBC
)im strdel As #trin"
Ms"Bo. HA7A R(, #,7A )A/ATA 7AC(7)....SH& v$Res2o
If v$2o G True Then
A.it #u$
Alse
strdel G Hdelete from custEmaster where accEnoGIH : t.taccEno : HIH
strde5 G Hdelete from withdrawn where accEnoGIH : t.taccEno : HIH
strde6 G Hdelete from deposit where accEnoGIH : t.taccEno : HIH
con.A.ecute strdel
con.A.ecute strde5
con.A.ecute strde6
Call dispErec
Call t.tEempt
cmdsave.Ana$led G *alse
cmdupdate.Ana$led G *alse
cmddel.Ana$led G *alse
And If
And #u$
3rivate #u$ cmdresetEClickBC
t.tcustEid G HH
t.taccEno.Te.t G HH
t.tname.Te.t G HH
t.taddress.Te.t G HH
t.tcit.Te.t G HH
t.tpincode.Te.t G HH
stateEcom$o.Te.t G HH
se.Ecom$o.Te.t G HH
t.t$dt.Te.t G HH
t.tcontactno.Te.t G HH
accEtpeEcom$o.Te.t G HH
t.topenEdt.Te.t G HH
t.topenamount.Te.t G HH

t.tremark.Te.t G HH
cmdreset.Ana$led G *alse
cmdupdate.Ana$led G *alse
cmddel.Ana$led G *alse
cmdadd.Ana$led G True
cmdsave.Ana$led G *alse
lockEformEcontrol Me
And #u$
3rivate #u$ cmdsaveEClickBC
)im str4 As #trin"

If mode G HaH Then

rsEdisp.(pen Hselect P from custEmaster where accEnoGIH : t.taccEno.Te.t :
HIH& Module4.con& ad(penDeset
If rsEdisp.7ecordCount G 0 Then
str4 G Hinsert into custEmaster valuesBH : t.tcustEid.Te.t : H&IH :
t.taccEno.Te.t : HI&IH : t.tname.Te.t : HI&IH : t.taddress.Te.t : HI&IH : t.tcit.Te.t
: HI&IH : t.tpincode.Te.t : HI&IH : stateEcom$o.Te.t : HI&IH : t.t$dt.Te.t : HI&IH :
se.Ecom$o.Te.t : HI&IH : t.tcontactno.Te.t : HI&IH : accEtpeEcom$o.Te.t : HI&IH
: t.topenEdt : HI&IH : t.topenamount.Te.t : HI&IH : t.topenamount.Te.t : H I&IH :
t.tremark.Te.t : HICH
Module4.con.A.ecute str4
rsEdisp.Close
Call dispErec
Call t.tEempt
lockEformEcontrol Me
cmdsave.Ana$led G *alse
cmdupdate.Ana$led G *alse
cmddel.Ana$led G *alse
cmdadd.Ana$led G True
Alse
Ms"Bo. HAccount no alread e.ists - pl> enter uni'ue accountEnoH
cmdadd.Ana$led G *alse
cmdsave.Ana$led G True
cmdsave.Ana$led G *alse
cmdadd.Ana$led G True
And If
And If
If mode G HuH Then
rsu.(pen Hselect P from custEmaster where accEnoGIH : t.taccEno : HIH&
Module4.con& ad(penDeset
str4 G Hupdate custEmaster set TaccEnoUGIH : t.taccEno.Te.t : HI&TnameUGIH
: t.tname.Te.t : HI&TaddressUGIH : t.taddress.Te.t : HI&TcitUGIH : t.tcit.Te.t :
HI&TpincodeUGIH : t.tpincode.Te.t : HI&TstateUGIH : stateEcom$o.Te.t : HI&T$dateUGIH
: t.t$dt.Te.t : HI&Tse.UGIH : se.Ecom$o.Te.t : HI&TcnoUGIH : t.tcontactno.Te.t :
HI&TaccEtpeUGIH : accEtpeEcom$o.Te.t : HI&TopenEdateUGIH : t.topenEdt : HI&
TopenEamountUGIH : t.topenamount.Te.t : HI&TcurrentEamountUGIH :
t.topenamount.Te.t : HI&TremarkUGIH : t.tremark.Te.t : HIwhere accEnoGIH :
t.taccEno : HIH
con.A.ecute str4
t.tEempt
Call dispErec
rsu.Close
cmdsave.Ana$led G *alse
cmdadd.Ana$led G True
cmdreset.Ana$led G *alse
And If

And #u$
3rivate #u$ cmdsearchEClickBC
)im #earchEaccno As )ou$le
#earchEaccno G InputBo.BHAnter Account num$erHC
If rsEdisp.#tate G 4 Then
rsEdisp.Close
And If
rsEdisp.(pen Hselect P from custEmaster where accEnoGIH : t.taccEno : HIH&
Module4.con& ad(penDeset
Ms"Bo. rsEdisp.*ieldsB0C
rsEdisp.Close
And #u$
3rivate #u$ cmdupdateEClickBC
mode G HuH
unlockEformEcontrol Me
cmdupdate.Ana$led G *alse
cmddel.Ana$led G *alse
cmdadd.Ana$led G *alse
cmdsave.Ana$led G True
t.tcustEid.Ana$led G *alse
t.taccEno.Ana$led G *alse
t.tname.#et*ocus
And #u$
3rivate #u$ *ormE/oadBC

msfl"4.Te.tMatri.B0& 0C G HCustomerEidH
msfl"4.Te.tMatri.B0& 4C G HAccountEnoH
msfl"4.Te.tMatri.B0& 5C G H2ameH
msfl"4.Te.tMatri.B0& 6C G HAddressH
msfl"4.Te.tMatri.B0& 8C G HCitH
msfl"4.Te.tMatri.B0& 9C G H3in CodeH
msfl"4.Te.tMatri.B0& 6C G H#tateH
msfl"4.Te.tMatri.B0& WC G HBirthE)ateH
msfl"4.Te.tMatri.B0& ?C G H#e.H
msfl"4.Te.tMatri.B0& =C G HContactEnoH
msfl"4.Te.tMatri.B0& 40C G HAccountEtpeH
msfl"4.Te.tMatri.B0& 44C G H(penE)ateH
msfl"4.Te.tMatri.B0& 45C G H(penEamountH
msfl"4.Te.tMatri.B0& 46C G HCurrentEAmtH
msfl"4.Te.tMatri.B0& 48C G H7emarkH
cmdupdate.Ana$led G *alse
cmdsave.Ana$led G *alse
cmddel.Ana$led G *alse
cmdreset.Ana$led G *alse
cmdadd.ta$inde. G 0
cmdcancel.ta$inde. G 4
lockEformEcontrol Me
Call dispErec

Me./eft G BM)I*orm4.!idth F 5C - BMe.!idth F 5C
Me.Top G BM)I*orm4.<ei"ht F 5C - BMe.<ei"ht F 5C
And #u$
IPPPPPPPPPPPPPPP*I// */A@+7I)PPPPPPPPPPPPPPPPPPPPPPP??
3rivate #u$ msfl"4EClickBC
t.tcustEid.Te.t G msfl"4.Te.tMatri.Bmsfl"4.row& 0C
t.taccEno.Te.t G msfl"4.Te.tMatri.Bmsfl"4.row& 4C
t.tname.Te.t G msfl"4.Te.tMatri.Bmsfl"4.row& 5C
t.taddress.Te.t G msfl"4.Te.tMatri.Bmsfl"4.row& 6C
t.tcit.Te.t G msfl"4.Te.tMatri.Bmsfl"4.row& 8C
t.tpincode.Te.t G msfl"4.Te.tMatri.Bmsfl"4.row& 9C
stateEcom$o.Te.t G msfl"4.Te.tMatri.Bmsfl"4.row& 6C
se.Ecom$o.Te.t G msfl"4.Te.tMatri.Bmsfl"4.row& ?C
t.t$dt.Te.t G msfl"4.Te.tMatri.Bmsfl"4.row& WC
t.tcontactno.Te.t G msfl"4.Te.tMatri.Bmsfl"4.row& =C
accEtpeEcom$o.Te.t G msfl"4.Te.tMatri.Bmsfl"4.row& 40C
t.topenEdt.Te.t G msfl"4.Te.tMatri.Bmsfl"4.row& 44C
t.topenamount.Te.t G *ormat2um$erBmsfl"4.Te.tMatri.Bmsfl"4.row& 45C& 5C
t.tremark.Te.t G msfl"4.Te.tMatri.Bmsfl"4.row& 48C
lockEformEcontrol Me
cmdsave.Ana$led G *alse
cmdupdate.Ana$led G True
cmddel.Ana$led G True
cmdadd.Ana$led G True
cmdreset.Ana$led G True

And #u$
3rivate #u$ t.taddressEDe3ressBDeAscii As Inte"erC
DeAscii G validateEalphaEspecialBDeAsciiC
And #u$
3rivate #u$ dispErecBC
If rsEdisp.#tate G 4 Then
rsEdisp.Close
And If
rsEdisp.(pen Hselect P from custEmasterH& Module4.con& ad(penDeset
msfl"4.7ows G rsEdisp.7ecordCount M 4
rw G 4
col G 0
!hile rsEdisp.A(* G *alse
msfl"4.Te.tMatri.Brw& colC G rsEdisp1custEid
msfl"4.Te.tMatri.Brw& col M 4C G rsEdisp1accEno
msfl"4.Te.tMatri.Brw& col M 5C G rsEdisp12ame
msfl"4.Te.tMatri.Brw& col M 6C G rsEdisp1address
msfl"4.Te.tMatri.Brw& col M 8C G rsEdisp1cit
msfl"4.Te.tMatri.Brw& col M 9C G rsEdisp1pincode
msfl"4.Te.tMatri.Brw& col M 6C G rsEdisp1#tate
msfl"4.Te.tMatri.Brw& col M WC G rsEdisp1$date
msfl"4.Te.tMatri.Brw& col M ?C G rsEdisp1se.
msfl"4.Te.tMatri.Brw& col M =C G rsEdisp1cno
msfl"4.Te.tMatri.Brw& col M 40C G rsEdisp1accEtpe
msfl"4.Te.tMatri.Brw& col M 44C G rsEdisp1openEdate
msfl"4.Te.tMatri.Brw& col M 45C G rsEdisp1openEamount
msfl"4.Te.tMatri.Brw& col M 46C G rsEdisp1currentEamount
msfl"4.Te.tMatri.Brw& col M 48C G rsEdisp1remark
rw G rw M 4
rsEdisp.Move2e.t
!end
rsEdisp.Close
And #u$
IPPPPPPPPPPPPPPP +A2A7ATA 2A! T7A2#ACTI(2
I)PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
3u$lic #u$ "enerateEnewEtransactionBC
)im lastnum$er As /on"& newnum$er As /on"
rsEdisp.(pen H#elect P from custEmasterH& Module4.con& ad(penDeset
If rsEdisp.7ecordCount XG 0 Then
newnum$er G 50000
rsEdisp.Close
Alse
rsEdisp.Close
rsEdisp.(pen H#elect ma.BcustEidC from custEmasterH& Module4.con&
ad(pen#tatic
newnum$er G rsEdisp.*ieldsB0C M 4
rsEdisp.Close

And If
t.tcustEid.Te.t G newnum$er
And #u$
IPPPPPPPPPPPPPPPPP+A2A7ATA 2A! ACC(,2T
2(PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
3u$lic #u$ "enerateEnewEaccountnoBC
)im lastnum$er4 As /on"& newnum$er4 As /on"

rsEdisp.(pen H#elect accEno from custEmasterH& Module4.con& ad(pen#tatic

If rsEdisp.7ecordCount XG 0 Then
newnum$er4 G 40000
rsEdisp.Close
Alse
rsEdisp.Close
rsEdisp.(pen H#elect ma.BaccEnoC from custEmasterH& Module4.con&
ad(pen#tatic
newnum$er4 G rsEdisp.*ieldsB0C M 4
rsEdisp.Close
And If
t.taccEno.Te.t G newnum$er4
And #u$
IPPPPPPPPPPPPPPPPAM3TR A// *7(M C(2T7(/PPPPPPPPPPPPPPPPPPP
3u$lic #u$ t.tEemptBC
t.tcustEid G HH
t.taccEno.Te.t G HH
t.tname.Te.t G HH
t.taddress.Te.t G HH
t.tcit.Te.t G HH
t.tpincode.Te.t G HH
stateEcom$o.Te.t G HH
se.Ecom$o.Te.t G HH
t.t$dt.Te.t G HH
t.tcontactno.Te.t G HH
accEtpeEcom$o.Te.t G HH
t.topenEdt.Te.t G HH
t.topenamount.Te.t G HH
t.tremark.Te.t G HH
And #u$
3rivate #u$ t.tcitEDe3ressBDeAscii As Inte"erC
DeAscii G validateEalphaBDeAsciiC
And #u$
3rivate #u$ t.tcontactnoEDe3ressBDeAscii As Inte"erC
DeAscii G validateEnum$erBDeAsciiC
And #u$
3rivate #u$ t.tnameEDe3ressBDeAscii As Inte"erC
DeAscii G validateEalphaBDeAsciiC
And #u$
3rivate #u$ t.topenamountEDe3ressBDeAscii As Inte"erC
DeAscii G validateEnum$erEpointBDeAsciiC
And #u$
3rivate #u$ t.tpincodeEDe3ressBDeAscii As Inte"erC
DeAscii G validateEnum$erBDeAsciiC
And #u$
3rivate #u$ t.tremarkEDe3ressBDeAscii As Inte"erC
DeAscii G validateEalphaBDeAsciiC
And #u$
3rivate #u$ ta$inde.BC
It.taccEno.ta$inde. G 0
t.tname.ta$inde. G 4
t.taddress.ta$inde. G 5
t.tcit.ta$inde. G 6
t.tpincode.ta$inde. G 8
stateEcom$o.ta$inde. G 9
stateEcom$o./istInde. G 0
se.Ecom$o.ta$inde. G 6
se.Ecom$o./istInde. G 0
t.t$dt.ta$inde. G W
t.tcontactno.ta$inde. G ?
accEtpeEcom$o.ta$inde. G =
accEtpeEcom$o./istInde. G 0
t.topenEdt.ta$inde. G 40
t.topenamount.ta$inde. G 44
t.tremark.ta$inde. G 45
And #u$
(ption A.plicit
)im tid As #trin"
)im t.t As #trin"
)im rsw As 2ew A)()B.7ecordset
)im rschk As 2ew A)()B.7ecordset
)im rsEdisp As 2ew A)()B.7ecordset
3rivate #u$ c$ocustomernoEDe3ressBDeAscii As Inte"erC
DeAscii G validateEnum$erBDeAsciiC
And #u$
3rivate #u$ cmdcancelEClickBC
,nload Me
And #u$
3rivate #u$ cmdsu$mitEClickBC
)im insert& up As #trin"
)im tot& min$ As )ou$le
)im ramt As #trin"
If t.taccountno.Te.t G Ampt Then
Ms"Bo. HA2TA7 ACC(,2T 2,MBA7H& v$Critical
t.taccountno.#et*ocus
AlseIf t.twithdrawanamount.Te.t G Ampt Then
Ms"Bo. HA2TA7 !IT<)7A!/ AM(,2T..H& v$Critical
t.twithdrawanamount.#et*ocus
Alse
If v$2o G Ms"Bo.BHA7A R(, #,A7A C(M3/ATA T7A2#ACTI(2....SH&
v$Res2oC Then
A.it #u$
Alse
rsw.(pen Hselect P from $ankprofileH& con& ad(penDeset
min$ G rsw.*ieldsB?C
rsw.Close

tot G ValBl$l$alance.CaptionC - ValBt.twithdrawanamount.Te.tC
If tot X min$ Then
Ms"Bo. HBA/A2CA I# 2(T #,**ICIA2T *(7
!IT<)7A!/.....H& v$Critical
t.taccountno.Te.t G Ampt
t.tnarration.Te.t G Ampt
t.twithdrawanamount.Te.t G Ampt
l$ltpe.Caption G Ampt
l$l$alance.Caption G Ampt
t.taccountno.#et*ocus
A.it #u$
And If
up G Hupdate custEmaster set currentEamountGIH : tot : HI where
accEnoGIH : t.taccountno : HIH
IMs"Bo. up
con.A.ecute up
rsw.(pen Hselect P from custEmaster where accEnoGIH : t.taccountno :
HIH& con& ad(penDeset
ramt G rsw.*ieldsB46C
t.t G rsw.*ieldsB5C
rsw.Close
insert G Hinsert into withdrawn valuesBIH : t.ttransactionid : HI&IH :
t.taccountno.Te.t : HI&IH : t.tnarration.Te.t : HI&IH : t.twithdrawanamount.Te.t :
HI&IH : l$ldate.Caption : HI&IH : ramt : HICH
con.A.ecute insert
Ms"Bo. HT7A2#ACTI(2 I# C(M3/ATA).........H& v$Information

)im a As Inte"er
a G chk4.Value
tid G t.ttransactionid.Te.t
,nload frmwithdrawn
frmwithdrawn.#how
If a G 4 Then
reportEfill4
And If
And If
And If

And #u$
3rivate #u$ Command4EClickBC
,nload Me
And #u$
3rivate #u$ *ormE/oadBC

l$ldate G )ate
Call "enerateEnewEtransaction

msf4.Te.tMatri.B0& 0C G HTransaction I)H
msf4.Te.tMatri.B0& 4C G HAccount 2(H
msf4.Te.tMatri.B0& 5C G H2arrationH
msf4.Te.tMatri.B0& 6C G HAmount withdrawnH
msf4.Te.tMatri.B0& 8C G H)ateH
msf4.Te.tMatri.B0& 9C G H7AMAI2+ AM(,2TH
Me./eft G BM)I*orm4.!idth F 5C - BMe.!idth F 5C
Me.Top G BM)I*orm4.<ei"ht F 5C - BMe.<ei"ht F 5C

Call dispErec
t.ttransactionid.Ana$led G *alse
t.taccountno.ta$inde. G 0
cmdsu$mit.Ana$led G *alse
And #u$
IPPPPPPPPPPPPPPPP+A2A7ATA 2A! T7A2#ACTI(2
I)PPPPPPPPPPPPPPPPPPPPPP
3u$lic #u$ "enerateEnewEtransactionBC
)im lastnum$er As /on"& newnum$er As /on"
rsw.(pen H#elect P from withdrawnH& con& ad(pen)namic& ad/ock(ptimistic
If rsw.B(* G True And rsw.A(* G True Then
lastnum$er G 49000
Alse
rsw.Move/ast
lastnum$er G rsw.*ieldsB0C
And If
newnum$er G lastnum$er M 4
t.ttransactionid.Te.t G newnum$er

rsw.Close
And #u$
IPPPPPPPPPPPPPPPPPPP)I#3/AR 7AC(7)PPPPPPPPPPPPPPPPPPPPPPPPPP
3rivate #u$ dispErecBC
)im row& col As Inte"er
)im # As #trin"
rsEdisp.Cursor/ocation G ad,seClient
rsEdisp.(pen Hselect P from withdrawnH& Module4.con& ad(penDeset
msf4.7ows G rsEdisp.7ecordCount M 4
row G 4
col G 0
!hile rsEdisp.A(* G *alse
msf4.Te.tMatri.Brow& colC G rsEdisp1transactionid
msf4.Te.tMatri.Brow& col M 4C G rsEdisp1accEno
msf4.Te.tMatri.Brow& col M 5C G rsEdisp1narration
msf4.Te.tMatri.Brow& col M 6C G rsEdisp1withdrawnEamt
msf4.Te.tMatri.Brow& col M 8C G rsEdisp1)ate
msf4.Te.tMatri.Brow& col M 9C G rsEdisp1remain"Eamt
row G row M 4
rsEdisp.Move2e.t
!end
rsEdisp.Close
And #u$
3rivate #u$ t.taccountnoEChan"eBC
If t.taccountno.Te.t G Ampt Then
Alse
rschk.(pen Hselect P from custEmaster where accEnoGIH : t.taccountno : HIH&
Module4.con& ad(penDeset
If rschk.7ecordCount G 0 Then
l$l$alance.Caption G Ampt
l$ltpe.Caption G Ampt
cmdsu$mit.Ana$led G *alse
Alse
t.taccountno.Te.t G rschk.*ieldsB4C
l$l$alance.Caption G *ormatBrschk.*ieldsB46C& H0.00HC
l$ltpe.Caption G rschk.*ieldsB40C
cmdsu$mit.Ana$led G True

And If
rschk.Close
And If
And #u$
3rivate #u$ t.taccountnoEDe3ressBDeAscii As Inte"erC
DeAscii G validateEnum$erBDeAsciiC
And #u$
3rivate #u$ t.tnarrationEDe3ressBDeAscii As Inte"erC
DeAscii G validateEalphanumericBDeAsciiC
And #u$
3rivate #u$ t.twithdrawanamountEDe3ressBDeAscii As Inte"erC
DeAscii G validateEnum$erEpointBDeAsciiC
And #u$
IPPPPPPPPPP+A2A7ATA 7A3(7T *(7
!IT<)7A!2PPPPPPPPPPPPPPPPPPPPPP
3rivate #u$ reportEfill4BC
)im rs As 2ew A)()B.7ecordset
)im srs As 2ew A)()B.7ecordset
)im 'rs As 2ew A)()B.7ecordset
rs.(pen Hselect P from $ankprofile order $ $ankEnameH& con& ad(pen#tatic&
ad/ock7ead(nl
'rs.(pen Hselect P from withdrawn where transactionidGIH : tid : HIH& con&
ad(pen#tatic& ad/ock7ead(nl
(pen App.3ath : HNreportNwithdrawn.t.tH *or (utput As Q4
3rint Q4& H------------------------------------------------------------------------H
3rint Q4& H !IT<)7A!2 #/I3H
3rint Q4& H------------------------------------------------------------------------H
)o !hile 2ot rs.A(*
3rint Q4& #paceB90C : HBranch 2ame;H : rs1$ankEname
3rint Q4& #paceB90C : HBranch 2o;H : rs1$arnchEno
3rint Q4& #paceB90C : HAddress;H : rs1address
3rint Q4& #paceB90C : HCit;H : rs1cit
3rint Q4& #paceB90C : H3incode; H : rs1pincode
3rint Q4& #paceB90C : HContact 2o;H : rs1coEno
3rint Q4& #paceB90C : H#tste;H : rs1#tate
3rint Q4& #paceB90C : HCountr;H : rs1countr
3rint Q4& H------------------------------------------------------------------------H
3rint Q4& #paceB0C : HTransaction Id;H : 'rs1transactionid
3rint Q4& HH
3rint Q4& #paceB0C : HAccount 2o;H : 'rs1accEno
3rint Q4& HH
3rint Q4& #paceB0C : H2AMA;H : t.t
3rint Q4& HH
3rint Q4& #paceB0C : H!ithdrawn Amount;H : *ormatB'rs1withdrawnEamt&
H0.00HC
3rint Q4& HH
3rint Q4& #paceB0C : H2arration;H : 'rs1narration
3rint Q4& HH
3rint Q4& #paceB0C : H)ate;H : 'rs1)ate
3rint Q4& HH
3rint Q4& #paceB0C : HBalance After Transaction;H : *ormatB'rs1remain"Eamt&
H0.00HC
3rint Q4& HH
3rint Q4& H------------------------------------------------------------------------H
3rint Q4& HH
3rint Q4& HH
3rint Q4& H7ecived B;.........................H : H H : H#I+;......................H
rs.Move2e.t
/oop
Close Q4

#hell App.3ath : HNutilitsNwordpad.e.e H : App.3ath : HNreportNwithdrawn.t.tH&
v$Ma.imi>ed*ocus
'rs.Close
rs.Close
And #u$
(ption A.plicit
)im tid As #trin"
)im t.t As #trin"
)im rsw As 2ew A)()B.7ecordset
)im rschk As 2ew A)()B.7ecordset
)im rsEdisp As 2ew A)()B.7ecordset
3rivate #u$ c$ocustomernoEDe3ressBDeAscii As Inte"erC
DeAscii G validateEnum$erBDeAsciiC
And #u$
3rivate #u$ chkcashEClickBC
t.tche'ueno.Visi$le G *alse
t.t$ankname.Visi$le G *alse
/a$el=.Visi$le G *alse
/a$el8.Visi$le G *alse
And #u$
3rivate #u$ chkche'ueEClickBC
t.tche'ueno.Visi$le G True
t.t$ankname.Visi$le G True
/a$el=.Visi$le G True
/a$el8.Visi$le G True
And #u$
3rivate #u$ cmdcancelEClickBC
,nload Me
And #u$
3rivate #u$ cmdsu$mitEClickBC
)im insert As #trin"
)im tot As )ou$le
)im ramt As #trin"
)im mode4 As #trin"
If t.taccountno.Te.t G Ampt Then
Ms"Bo. HA2TA7 ACC(,2T 2,MBA7H& v$Critical
t.taccountno.#et*ocus
AlseIf t.tdepositamount.Te.t G Ampt Then
Ms"Bo. HA2TA7 )A3(#IT AM(,2T..H& v$Critical
t.tdepositamount.#et*ocus
Alse

Ms"Bo. HA7A R(, #,A7A C(M3/AT T7A2#ACTI(2....SH& v$Res2o
If v$2o G True Then
A.it #u$
Alse
tot G ValBl$l$alance.CaptionC M ValBt.tdepositamount.Te.tC
con.A.ecute Hupdate custEmaster set currentEamountGIH : tot : HI where
accEnoGIH : t.taccountno : HIH
rsw.(pen Hselect P from custEmaster where accEnoGIH : t.taccountno :
HIH& con& ad(penDeset
ramt G rsw.*ieldsB46C
t.t G rsw.*ieldsB5C
rsw.Close
If chkcash.Value G True Then
mode4 G HcashH
And If
If chkche'ue.Value G True Then
mode4 G Hch'ueH
If t.t$ankname.Te.t G Ampt Then
Ms"Bo. HA2TA7 BA2D 2AMA...............H& v$Critical
A.it #u$
t.t$ankname.#et*ocus
And If
If t.tche'ueno.Te.t G Ampt Then
Ms"Bo. HA2TA7 BA2D C<AY,A 2(..........H& v$Critical
A.it #u$
t.tche'ueno.#et*ocus
And If
And If
insert G Hinsert into deposit valuesBIH : t.ttransactionid : HI&IH :
t.taccountno.Te.t : HI&IH : t.tnarration.Te.t : HI&IH : t.tdepositamount.Te.t : HI&IH
: mode4 : HI&IH : t.t$ankname : HI&IH : t.tche'ueno : HI&IH : l$ldate.Caption :
HI&IH : ramt : HICH
con.A.ecute insert
Ms"Bo. HT7A2#ACTI(2 I# C(M3/ATA).........H& v$Information
)im a As Inte"er
a G chk4.Value
tid G t.ttransactionid.Te.t
,nload frmdeposit
frmdeposit.#how
If a G 4 Then
reportEfill4
And If
And If
And If
And #u$
3rivate #u$ Command4EClickBC
,nload Me
And #u$
3rivate #u$ *ormE/oadBC
l$ldate G )ate
Call "enerateEnewEtransaction

msf4.Te.tMatri.B0& 0C G HTransaction I)H
msf4.Te.tMatri.B0& 4C G HAccount 2(H
msf4.Te.tMatri.B0& 5C G H2arrationH
msf4.Te.tMatri.B0& 6C G H)eposite AmountH
msf4.Te.tMatri.B0& 8C G HmodeH
msf4.Te.tMatri.B0& 9C G HBank 2ameH
msf4.Te.tMatri.B0& 6C G HChe'ue 2oH
msf4.Te.tMatri.B0& WC G H)ateH
msf4.Te.tMatri.B0& ?C G H7AMAI2+ AM(,2TH

Me./eft G BM)I*orm4.!idth F 5C - BMe.!idth F 5C
Me.Top G BM)I*orm4.<ei"ht F 5C - BMe.<ei"ht F 5C
Call dispErec
t.ttransactionid.Ana$led G *alse
cmdsu$mit.Ana$led G *alse
t.taccountno.ta$inde. G 0
t.tnarration.ta$inde. G 4
t.tdepositamount.ta$inde. G 5
chkcash.ta$inde. G 6

chkche'ue.ta$inde. G 6
t.t$ankname.ta$inde. G 9
t.tche'ueno.ta$inde. G 6
chk4.ta$inde. G W
cmdsu$mit.ta$inde. G ?
cmdcancel.ta$inde. G =
t.tche'ueno.Visi$le G *alse
t.t$ankname.Visi$le G *alse
/a$el=.Visi$le G *alse
/a$el8.Visi$le G *alse

And #u$
IPPPPPPPPPPPPP+A2A7ATA 2A!
T7A2#ACTI(2PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
3u$lic #u$ "enerateEnewEtransactionBC
)im lastnum$er As /on"& newnum$er As /on"
rsw.(pen H#elect P from depositH& con& ad(pen)namic& ad/ock(ptimistic
If rsw.B(* G True And rsw.A(* G True Then
lastnum$er G 4500000
Alse
rsw.Move/ast
lastnum$er G rsw.*ieldsB0C
And If
newnum$er G lastnum$er M 4
t.ttransactionid.Te.t G newnum$er

rsw.Close
And #u$
IPPPPPPPPPPPPPPPPPPPPPPP)I#3/AR
*,2CTI(2PPPPPPPPPPPPPPPPPPPPPPPPPPPP
3rivate #u$ dispErecBC
)im row& col As Inte"er
)im # As #trin"
rsEdisp.Cursor/ocation G ad,seClient
rsEdisp.(pen Hselect P from depositH& Module4.con& ad(penDeset
msf4.7ows G rsEdisp.7ecordCount M 4
row G 4
col G 0
!hile rsEdisp.A(* G *alse
msf4.Te.tMatri.Brow& colC G rsEdisp1transactionid
msf4.Te.tMatri.Brow& col M 4C G rsEdisp1accEno
msf4.Te.tMatri.Brow& col M 5C G rsEdisp1narration
msf4.Te.tMatri.Brow& col M 6C G *ormatBrsEdisp1depositamount& H0.00HC
msf4.Te.tMatri.Brow& col M 8C G rsEdisp1mode
msf4.Te.tMatri.Brow& col M 9C G rsEdisp1$ankname
msf4.Te.tMatri.Brow& col M 6C G rsEdisp1che'ueno
msf4.Te.tMatri.Brow& col M WC G rsEdisp1)ate
msf4.Te.tMatri.Brow& col M ?C G *ormatBrsEdisp1remain"Eamt& H0.00HC
row G row M 4
rsEdisp.Move2e.t
!end
rsEdisp.Close
And #u$
IPPPPPPPPPPPPC<ACD *(7 ACC(,2T 2,MBA7PPPPPPPPPPPPPPPPPP
3rivate #u$ t.taccountnoEChan"eBC
If t.taccountno.Te.t G Ampt Then
cmdsu$mit.Ana$led G *alse
Alse
rschk.(pen Hselect P from custEmaster where accEnoGIH : t.taccountno : HIH&
Module4.con& ad(penDeset
If rschk.7ecordCount G 0 Then
cmdsu$mit.Ana$led G *alse
l$l$alance.Caption G HH
l$ltpe.Caption G HH
Alse
t.taccountno.Te.t G rschk.*ieldsB4C
l$l$alance.Caption G *ormatBrschk.*ieldsB46C& H0.00HC
l$ltpe.Caption G rschk.*ieldsB40C
cmdsu$mit.Ana$led G True
And If
rschk.Close
And If
And #u$
3rivate #u$ t.taccountnoEDe3ressBDeAscii As Inte"erC
DeAscii G validateEnum$erBDeAsciiC
And #u$
3rivate #u$ t.twithdrawanamountEDe3ressBDeAscii As Inte"erC
DeAscii G validateEnum$erEpointBDeAsciiC
And #u$
3rivate #u$ t.t$anknameEDe3ressBDeAscii As Inte"erC
DeAscii G validateEalphaBDeAsciiC
And #u$
3rivate #u$ t.tdepositamountEDe3ressBDeAscii As Inte"erC
DeAscii G validateEnum$erEpointBDeAsciiC
And #u$
3rivate #u$ t.tnarrationEDe3ressBDeAscii As Inte"erC
DeAscii G validateEalphanumericBDeAsciiC
And #u$
IPPPPPPPPPPPP+A2A7ATA 7A3(7T *(7
)A3(#ITPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
3rivate #u$ reportEfill4BC
)im rs As 2ew A)()B.7ecordset
)im srs As 2ew A)()B.7ecordset
)im 'rs As 2ew A)()B.7ecordset
rs.(pen Hselect P from $ankprofile order $ $ankEnameH& con& ad(pen#tatic&
ad/ock7ead(nl
'rs.(pen Hselect P from deposit where transactionidGIH : tid : HIH& con&
ad(pen#tatic& ad/ock7ead(nl
(pen App.3ath : HNreportNdeposit.t.tH *or (utput As Q4
3rint Q4& H------------------------------------------------------------------------H
3rint Q4& H )A3(#IT #/I3H
3rint Q4& H------------------------------------------------------------------------H
)o !hile 2ot rs.A(*
3rint Q4& #paceB90C : HBranch 2ame;H : rs1$ankEname
3rint Q4& #paceB90C : HBranch 2o;H : rs1$arnchEno
3rint Q4& #paceB90C : HAddress;H : rs1address
3rint Q4& #paceB90C : HCit;H : rs1cit
3rint Q4& #paceB90C : H3incode; H : rs1pincode
3rint Q4& #paceB90C : HContact 2o;H : rs1coEno
3rint Q4& #paceB90C : H#tste;H : rs1#tate
3rint Q4& #paceB90C : HCountr;H : rs1countr
3rint Q4& H-----------------------------------------------------------------------H
3rint Q4& #paceB0C : HTransaction Id;H : 'rs1transactionid
3rint Q4& HH
3rint Q4& #paceB0C : HAccount 2o;H : 'rs1accEno
3rint Q4& HH
3rint Q4& #paceB0C : H2AMA;H : t.t Isrs12ame
3rint Q4& HH
3rint Q4& #paceB0C : H)eposit Amount;H : *ormatB'rs1depositamount& H0.00HC
3rint Q4& HH
3rint Q4& #paceB0C : H2arration;H : 'rs1narration
3rint Q4& HH
3rint Q4& #paceB0C : HMode;H : 'rs1mode
3rint Q4& HH
3rint Q4& #paceB0C : HBank 2ame;H : 'rs1$ankname
3rint Q4& HH
3rint Q4& #paceB0C : HChe'ue 2o;H : 'rs1che'ueno
3rint Q4& HH
3rint Q4& #paceB0C : H)ate;H : 'rs1)ate
3rint Q4& HH
3rint Q4& #paceB0C : HBalance After Transaction;H : *ormatB'rs1remain"Eamt&
H0.00HC
3rint Q4& HH
3rint Q4& H-----------------------------------------------------------------------H
3rint Q4& HH
3rint Q4& HH
3rint Q4& H7ecived B;.........................H : H H : H#I+;......................H
rs.Move2e.t
/oop
Close Q4
#hell App.3ath : HNutilitsNwordpad.e.e H : App.3ath : HNreportNdeposit.t.tH&
v$Ma.imi>ed*ocus
'rs.Close
rs.Close
And #u$

Das könnte Ihnen auch gefallen