Upload
sachin-soni
View
215
Download
0
Embed Size (px)
Citation preview
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 1/59
Acknowledgement
We express our sincere gratitude tothe Smt. Sonal Jain for providing us all thesupport for this project. We thank to all thefaculties and non teaching sta of this collegefor their valuable support. We are also verymuch thankful to all our friends who helped usfor the completion of this project.
Last but not the least we extend our
gratefulness to our parents who helped usthroughout studies in many ways for providingus all the support for this project.
Submitted y
!""#A #$A%&'A
()*LA%A+&",
1
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 2/59
& Students Pooja Jhariya declare
that the .*om -*omputer project entitled
“Courier Management System” is a
original piece of work done by me and has not
been submitted to any other
institute/college/university in any manner
possible.
!""#A #$A%&'A
2
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 3/59
0)1ALS2+A 0A$A3&('AL'A(&,("%& -0.!.
certi4cate
This is to certify that the project titled “Courier
Management System” is submitted by Pooja Jhariya.
They are submitting the Porject in partial fulfilment of
teh B.Com 6th Semester from 50ekalsuta
0ahavidyalaya (indori6 academic year 20161!.
This report is upto the standard both in respect of it"s
literally presentation for being referred to the e#aminees.
We wish all the success.
7uided y
Smt. Sonal #ain0ekalsuta
0ahavidyalaya (indori
$
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 4/59
0)1ALS2+A 0A$A3&('AL'A(&,("%& -0.!.
certi4cate
This is to certify that the project titled “Courier
Management System” is submitted by Pooja Jhariya.
They are submitting the Porject in partial fulfilment of
teh B.Com 6th Semester from 50ekalsuta
0ahavidyalaya (indori6 academic year 20161!.
This report is upto the standard both in respect of it"s
literally presentation for being referred to the e#aminees.
We wish all the success.
7uided y
Smt. Sonal #ain
-$"(0ekalsuta
0ahavidyalaya (indori
0)1ALS2+A 0A$A3&('AL'A(&,("%& -0.!.
%
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 5/59
certi4cate
This is to certify that the project titled “Courier
Management System” is submitted by Pooja Jhariya.
They are submitting the Porject in partial fulfilment of
teh B.Com 6th Semester from 50ekalsuta
0ahavidyalaya (indori6 academic year 20161!.
This report is upto the standard both in respect of it"s
literally presentation for being referred to the e#aminees.
We wish all the success.
7uided y
0r. .L.(wivedi-!rincipal0ekalsuta
0ahavidyalaya (indori
&
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 6/59
0)1ALS2+A 0A$A3&('AL'A(&,("%& -0.!.
certi4cate
This is to certify that the project titled “Courier
Management System” is submitted by Pooja Jhariya.
They are submitting the Porject in partial fulfilment of
teh B.Com 6th Semester from 50ekalsuta
0ahavidyalaya (indori6 academic year 20161!.
This report is upto the standard both in respect of it"s
literally presentation for being referred to the e#aminees.
We wish all the success.
7uided y
)xternal/&nternal
)xaminer0ekalsuta
0ahavidyalaya (indori
6
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 7/59
C'(T)(TS
1. CATEGORY OF PROJECT
2. AREA OF PROJECT.
3. INTRODUCTION OF TE PROJECT
1. *ntroduction
2. )#isting System
a . +o, )#isting System -ors.
b. /imitation
$. Proposed System and dantages
!. RE"UIRE#ENT
1. +ard,are e3uirement.
2. Soft,are e3uirement.
$. DIAGRA#%
1. Conte#t 4lo, 5iagram
2. 5ata 4lo, 5iagram
&. %OFTWARE DE'E(OP#ENT (IFE CYC(E
1. 5iagram2. e3uirement analysis and specification
$. 5esigning
%. Coding
&. Testing
!
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 8/59
6. *mplementation
!. aintenance.
). CONC(U%ION 2*+3,
-. %OURCE CODE 31+22-
*. OUTPUT 22*+2!3
1,. I(IOGRAPY 2!!+2!$
7
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 9/59
CT)8'9 '4
P':)CT
CATEGORY OF PROJECT
;
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 10/59
C(IENT /%ER'ER
Clientserer describes the relationship bet,een t,o computer programs in
,hich one program< the client program< maes a serice re3uest to another<
the serer program. Standard net,ored functions such as email e#change<
,eb access and database access< are based on the clientserer model. 4or
e#ample< a ,eb bro,ser is a client program at the user computer that may
access information at any ,eb serer in the ,orld. To chec your ban
account from your computer< a ,eb bro,ser client program in your
computer for,ards your re3uest to a ,eb serer program at the ban. That
program may in turn for,ard the re3uest to its o,n database client program
that sends a re3uest to a database serer at another ban computer to retriee
your account balance. The balance is returned to the ban database client<
,hich in turn seres it bac to the ,eb bro,ser client in your personal
computer< ,hich displays the information for you.
10
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 11/59
)
'4
P':)CT
AREA OF PROJECT
%ER'ICE%
11
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 12/59
12
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 13/59
*(T'5=CT*'(
1+INTRODUCTION
T0as w04l is 5e4 6ast a7 c089etiti5e. T0 achie5e the success i7 this
c089etiti5e w04l: 07e sh0ul ;e awa4e 06 the c089ute4 a7 the i76048ati07 4elate
t0 the c07ce47e ;usi7ess ;ecause c089ute4 a7 the i76048ati07 9las a7 i8904ta7t
wee<s 8a7uall. Ri=ht i76048ati07 a5aila;le at the 4i=ht 9lace 8a<es the ecisi07
940cess e66icie7t. e7ce the ie7ti6icati07 06 the cu44e7t a7 6utu4e 4e>ui4e8e7t
;ec08es a ;asic 7ee 06 a7 6le?i;le i76048ati07 sste8
1$
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 14/59
C0u4ie4 8a7a=e8e7t sste8 is s06twa4e which is use 8a7a=e the w04<
4e=a4i7= the se45ices 06 the c0u4ie4 i7 a7 e66ecti5e @ e66icie7t 8a77e4. asicall it
st04es the i76048ati07 4e=a4i7= the cust08e4 a7 his 8ate4ial: which has t0 ;e
c0u4ie4e.
2+ )>*ST*(8 S9ST)
The c0u4ie4 sste8 i750l5es a l0t 06 the e89l0ees at the 066ice.
The ata 604 a 9a4ticula4 c0u4ie4 8ai7tai7e i7 a 9409e4 6ile. A 9e4s07 su88a4ies
all the ata 06 the c0u4ie4 i7 a 4e=iste4: this w04< 4e>ui4e a hi=h+le5el 06 atte7ti07
si7ce it has t0 ;e ta<e7 ca4e that 70 w4i7= e7t4 =0es i7t0 the 4e=iste4. This 4e9etiti5e
w04< 8a lea t0 e4404s i7 the e7t4 thus 4esulti7= i7 the w407= e7t4 06 c0u4ie4
9ac<e ata.
1%
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 15/59
%i7ce the ata is 8ai7tai7e i7 the 4e=iste4s: the 80i6icati07 06 ata ca770t
07e easil. The 94e5i0us i76048ati07 has t0 ;e e4ase a7 05e4w4itte7 04 a 7ew
9a=e has t0 ;e all0cate s0 that ;0th the 0l a7 7ew i76048ati07 ca7 ;e w4itte7 07
the sa8e 9a=e.
The su88a4ii7= 06 the ata i.e. 94e9a4ati07 06 a7 u9 t0 ata 4e904t is 5e4
c089le?: it 4e>ui4e a l0t 06 ha4 w04< a7 sea4chi7= th40u=h the i66e4e7t 4e=iste4
s0 as t0 c07e7se the ata 604 94ese7tati07.
(I#ITATION
F408 the clie7t site: the e7ti4e w04< was achie5e 8a7uall a7 the 8a7a=e all
thei4 ;illi7= a7 se45ices 8a7uall. ecause 06 the 8a7ual sste8 the4e a4e s0 8a7
940;le8s 0ccu44e i7 the e?isti7= sste8B +
It i750l5es 8a7a=i7= a hu=e 7u8;e4 06 ata each ha5i7= se9a4ate ata ite8s.
All the w04< is 07e at a 5e4 la4=e 50lu8e: s0 we ha5e a 90ssi;ilit 06
l00si7= the ata.
T0 l00< 604 a 9a4ticula4 940;le8 the e7ti4e sste8 is sea4che: s0 the 940cess
;ec08es 804e ti8e c07su8i7=.
a+OW EI%TING %Y%TE# WOR%B +
The 94ese7t c0u4ie4 sste8 i750l5es a l0t 06 the e89l0ees at the 066ice.
The ata 06 a 9a4ticula4 c0u4ie4 8ai7tai7e i7 a 9409e4 6ile. A 9e4s07 su88a4ies
all the ata 06 the c0u4ie4 i7 a 4e=iste4: this w04< 06 8a<i7= a su88a4 06 the
c0u4ie4 i7 the 4e=iste4 4e>ui4e a hi=h+le5el 06 atte7ti07 si7ce it has t0 ;e ta<e7 ca4e
that 70 w4i7= e7t4 =0es i7t0 the 4e=iste4. This 4e9etiti5e w04< 8a lea t0 e4404s i7
the e7t4 thus 4esulti7= i7 the w407= e7t4 06 c0u4ie4 9ac<e ata.
1&
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 16/59
%i7ce the ata is 8ai7tai7e i7 the 4e=iste4s: the 80i6icati07 06 ata ca770t
0 easil. The 94e5i0us i76048ati07 has t0 ;e e4ase a7 05e4w4itte7 04 a 7ew 9a=e
has t0 ;e all0cate s0 that ;0th the 0l a7 7ew i76048ati07 ca7 ;e w4itte7 07 the
sa8e 9a=e.
The su88a4ii7= 06 the ata i.e. 94e9a4ati07 06 a7 u9 t0 ata 4e904t is 5e4
c089le?: it 4e>ui4e a l0t 06 ha4 w04< a7 sea4chi7= th40u=h the i66e4e7t 4e=iste4
s0 as t0 c07e7se the ata 604 94ese7tati07.
;+(I#ITATION% OF EI%TING %Y%TE#B
F408 the clie7t site: the e7ti4e w04< was achie5e 8a7uall a7 the 8a7a=e
all thei4 ;illi7= a7 se45ices 8a7uall. ecause 06 the 8a7ual sste8 the4e a4e s0
8a7 940;le8s 0ccu44e i7 the e?isti7= sste8B +
It i750l5es 8a7a=i7= a hu=e a80u7t 06 ata each ha5i7= se9a4ate ata ite8s.
All the w04< is 07e at a 5e4 la4=e 50lu8e: s0 we ha5e a 90ssi;ilit 06
l00si7= the ata.
T0 l00< 604 a 9a4ticula4 940;le8 the e7ti4e sste8 is sea4che: s0 the 940cess
;ec08es 804e ti8e c07su8i7=.
I7 T0as 6ast a7 c089etiti5e WOR(D t0 achie5e the success i7 this: 07e
sh0ul ;e awa4e 06 the c089ute4 a7 the i76048ati07 4elate t0 the c07ce47e
;usi7ess ;ecause c089ute4 a7 the i76048ati07 9la a7 i8904ta7t w04<. Ri=ht
i76048ati07 a5aila;le at the 4i=ht 9lace 8a<es the ecisi07 940cess e66icie7t. e7ce
the ie7ti6icati07 06 the cu44e7t a7 6utu4e 4e>ui4e8e7t ;ec08es a ;asic 7ee 06 a7
6le?i;le i76048ati07 sste8. %0 the4e is a 7ee 06 a c0u4ie4 8a7a=e8e7t sste8 that
ca7 05e4c08e the li8itati07s 06 the e?isti7= c0u4ie4 sste8.
16
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 17/59
C0u4ie4 8a7a=e8e7t sste8 is s06twa4e which is use 8a7a=e the w04<
4e=a4i7= the se45ices 06 the c0u4ie4 i7 a7 e66ecti5e @ e66icie7t 8a77e4. asicall it
st04es the i76048ati07 4e=a4i7= the cust08e4 a7 his 8ate4ial: which has t0 ;e
c0u4ie4ed.
3+ PROPO%ED %Y%TE#
A6te4 a etaile stu 06 the e?isti7= sste8: it is e5ie7t that is 0es 70t
6ul6ill the 0;ecti5e 06 the 04=a7iati07. T0 8a<e the 0;ecti5e 90ssi;le 604 the
04=a7isat07: it is 4e>ui4e t0 ha5e a c089ute4ie i76048ati07 sste8 with the
hel9 06 which all tas<s ca7 ;e 940cesse 804e accu4atel a7 >uic<l. T0 achie5e
this: it is 7ecessa4 t0 esi=7 a7 e5el09 a 7ew sste8. P4090se sste8 is ;ei7=
1!
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 18/59
esi=7e i7 such a wa that 8a7 use4s ca7 ha5e a 5iew with the sste8
si8ulta7e0usl. it 8a<es e66ecti5e a7 9e46ect utiliati07 06 8a7 90we4 a7
4es0u4ces.
AD'ANTAGE%
Eas i7 8ai7tai7i7= i76048ati07B s ne, information is being added to and
released from their respectie courses eery year< it ,ill be highly user friendly to
trac and maintain the presentation of all students.
Use4 satis6acti07B The system is such that is stands up to the user e#pectations
lie easy and faster retrieal of information.
%a6etB The system ,ill be accessible by only the authori?ed users. s
information being the most crucial for the organi?ation< then the safety of
information is importation.
i=hl accu4ateB resources being used by the system ,ill be compatible ,ith the
latest technologies aailable in the maret< as proposed system uses highly
technically compatible resources< there ,ill be ery ery lass ,ear and tear.
. (ess ti8e c07su8i7=B ,or carried out by the staff at arious stages ,ill be less
time consuming
17
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 19/59
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 20/59
2+%OFTWARE RE"UIRE#ENT
O9e4ati7= sste8 -*(5'-S ;& >P 2000 (T
F407t e7 Aisual basic 6.0
ac< e7 Saccess
20
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 21/59
5*8S
1+CONTET F(OW DIAGRA#
esponse
aterial *nformation
aterial
Search data Bill
Courier
SericeCustomer
21
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 22/59
Payment
*nformation
CONTET F(OW DIAGRA#
esponse
Pacet *nformation
Bill
Courier
anagement
system
22
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 23/59
Payment
2+%Y%TE# DATA F(OW DIAGRA#
*nformation saed
*nput pacet and
Saed information
Search data ecord
5isplay
Courier Serice
*nformation
2$
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 24/59
S'4T-)
2%
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 25/59
5)A)/'P)(T
/*4) C9C/)
S9ST) 5)A)/'P)(T /*4)
C9C/)
The soft,are also said to hae a life cycle that is composed of seeral
phases. )ach of these phases is the deelopment of either a part of the
system or something associated ,ith system such as a test plan user
manual.
)ach phase has ,ell define starting and ending point< ,ith clearly
identifiable input to the ne#t phase. 'r ,e can say that output of eery phase
,ill be the input to the ne#t phase. soft,are deelopment life cycle
consists of follo,ing phaseD
2&
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 26/59
e3uirement< analysis and specification.
5esigning
Coding
Testing.
*mplementation.
aintenance.
1+DIAGRA# OF %OFTWARE
DE'E(OP#ENT (IFE CYC(E
Re>ui4e8e7t: a7alsis
a7 s eci6icati07
Desi=7i7=
C0i7=
Testi7=
26
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 27/59
2+Re>ui4e8e7t a7alsis @ s9eci6icati07
e3uirement is concerned ,ith identification the basic function of the soft,are component in hard,are soft,are people system.
*t is related to getting the re3uirements and the arious
specifications< ,hich are< re3uire for deeloping particular soft,are. The
basic idea behind of re3uirement analysis is to no, about ,hat the
customer ,ants all the details and information concerning to the soft,are to
be deeloped are taen from the client either by going to his place or getting
the information pertaining to employees etc. this phase of system
deelopment life cycle if of almost important because it carries ,ith a huge
amount of releant data ,hich ,ill be used in deeloping a soft,are. *f this
phase is not carried out properly then there are changes that there ,ill be
I89le8e7tati0
#ai7te7a7ce
2!
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 28/59
shortcomings or bugs in the soft,are< ,hich is going to be deeloped by the
programmers.
3+Desi=7i7=
5esign consists of architectural design and detail design.
rchitectural design inoles identifying the s, component< deeloping
and decomposing them in processing modules and conceptual data structure<
and specifying interconnection bet,een the component. 5etail design is
concerned ,ith the details of Eho, toF pacage the processing modules and
ho, to implement the processing algorithm< data structure and
interconnection among the modules and data structures.
!+C0i7=
27
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 29/59
The coding phase of s, deelopment inoles translation of design
specification into source code and debugging< documentation unit testing of
the source code. *n this phase the programmer deelops the soft,are by
using arious methologies ,hich are aailable for deeloping soft,are. The
programmer ,rites the code in a certain language and deelopment team
consists of arious programmers ,ho are efficient in their respectie do
$+Testi7=
This phase related to the testing of the soft,are after it has been
deeloped. *n this phase the testing engineers carriers out arious testing
strategies and tools to chec ,hether the soft,are deeloped by the
programmer is follo,ing the predefined standard and the 3uality of the
soft,are is upto the leel to ,hich it is re3uire. The arious techni3ues used
for testing by a testing engineers are ,hite bo# testing< blac bo# testing<
unit testing etc. there are techni3ue are useful in getting rid of the
shortcoming or feature ,hich are there on the part of programmer. *f certain
features are encountered they are informed to the programmers and he has to
eliminate those failures from soft,are. This is ho, the soft,are is deeloped
,hich is all together free from the bugs and is ready for implementation on
the client side.
2;
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 30/59
&+I89le8e7tati07
This phase related to installing the soft,are on the client side. The
arious procedure are inoled for implementing a soft,are ,hich include
giing documentation of the soft,are to the client ,hich consist of basic as
,ell as technical part. *t also includes giing proper training sessions and
presentations to the client
regarding the ,oring of the soft,are. *t also includes checing of arious
hard,are resources aailable ,ith the client and maing sure the soft,are is
running properly on this machine.
)+#ai7te7a7ce
$0
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 31/59
*n this phase the programmer or some other technical employers of the
company< ,hich is deeloping the soft,are in order to manage the hanging
re3uirements of the client from time to time< do reie,. *f there is any failure
in the soft,are or the client is nit able to access the database then the same is
intimated to the deeloper ,ho has to tae care of it ,ithin the certain
amount of time.
C'(C/=S*'(
$1
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 32/59
CONC(U%ION
1. The c0u4ie4 se45ices a4e aut08ate as ha7 w4itte7 0cu8e7tati07 is
8i7i8ie t0 a ;a4e 8i7i8u8 the s06twa4e is 6ull i89le8e7te.
2. The ata ca7 ;e easil ;ac<e u9 07t0 a 4elia;le 8eia s0 that 70 04
8i7i8al ata lass is the4e i7 case 06 sste8 c4ash.
3. U7auth04ie access t0 the ata is 7ea4l eli8i7ate ; 9405ii7= 9assw04
authe7ticati07 sste8.
This 940ect has 8ae us 4e>ui4e a 9406essi07al 0utl00< t0wa4s
940;le8 state8e7t a7 s0l5i7= it t0 the ;est a7 8a?i8u8.
$2
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 33/59
S'=C) C'5)
CODING
5im 4lag s Boolean
$$
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 34/59
Priate Sub cmdClearGClicHI
Clearll
)nd Sub
Priate Sub cmd)#itGClicHI
=nload e
)nd Sub
Priate Sub cmdPrintGClicHI
5im s s (e, 5'5B.ecordset
*f s.State J adState'pen Then
s.Close
)nd *f
s.'pen Kselect ban<address<state<city<phone<mobile from banprofile order by banK<
Con< ad'penLeyset
*f s.ecordCount M 0 Then
Set dsrClient.5ataSource J s
dsrClient.Sho,
dsrClient.efresh
)nd *f
)nd Sub
Priate Sub cmdSubmitGClicHI
5im s s (e, 5'5B.ecordset
*f TrimHt#tB(I NM KK nd 4lag J 4alse Then
4or i J 0 To lstB(./istCount 1
*f TrimH=CaseHt#tB(II J TrimH=CaseHlstB(./istHiIII Then
sgBo# KBan lready )#istK< b'L'nly O b*nformation
t#tB(.Set4ocus
$%
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 35/59
)#it Sub
)nd *f
(e#t
Con.)#ecute Kinsert into Banprofile HBan<address<city<state<phone<mobileI alues H"K
TrimHt#tB(I K"<"K TrimHt#tddressI K"<"K TrimHt#tCPI K"<"K TrimHt#tS5I
K"<"K TrimHt#tPhoneI K"<"K TrimHt#tobileI K"IK
*f s.State J adState'pen Then
s.Close
)nd *f
s.'pen Kselect ma#HidI as ma#Gid from BanprofileK< Con< ad'penLeyset
*f s.ecordCount M 0 Then
lstB(.dd*tem TrimHt#tB(I
lstB(.*tem5ataHlstB(./istCount 1I J sma#Gid
Clearll
)nd *f
)lse*f TrimHt#tB(I NM KK nd 4lag J True Then
Con.)#ecute Kupdate Banprofile set BanJ"K TrimHt#tB(I K"<addressJ"K
TrimHt#tddressI K"<stateJ"K TrimHt#tS5I K"<cityJ"K TrimHt#tCPI K"<phoneJ"K
TrimHt#tPhoneI K"<mobileJ"K TrimHt#tobileI K" ,here idJK AalHt#tB(.TagI
Clearll
)nd *f
)nd Sub
Priate Sub 4ormG/oadHI
5im s s (e, 5'5B.ecordset
*f s.State J adState'pen Then
s.Close
)nd *f
s.'pen Kselect id<Ban from Banprofile order by BanK< Con< ad'penLeyset
*f s.ecordCount M 0 Then
$&
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 36/59
4or i J 0 To s.ecordCount 1
lstB(.dd*tem sBan KK
lstB(.*tem5ataHiI J sid
s.oe(e#t
(e#t
)nd *f
)nd Sub
Priate Sub lstbnG5blClicHI
5im s s (e, 5'5B.ecordset
*f s.State J adState'pen Then
s.Close
)nd *f
*f lstB(./ist*nde# M 1 Then
s.'pen Kselect Q from Banprofile ,here idJK lstB(.*tem5ataHlstB(./ist*nde#I<
Con< ad'penLeyset
*f s.ecordCount M 0 Then
t#tB( J sBan KK
t#tB(.Tag J sid KK
t#tddress J saddress KK
t#tS5 J sState KK
t#tCP J scity KK
t#tPhone J sphone KK
t#tobile J smobile KK
4lag J True
)nd *f
)nd *f
)nd Sub
Priate Sub lstbnGLeyPressHLeyscii s *ntegerI
*f Leyscii J 1$ Then
$6
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 37/59
t#tB(.Set4ocus
)nd *f
)nd Sub
Priate Sub t#tddressGLeyPressHLeyscii s *ntegerI
*f Leyscii J 1$ Then
t#tS5.Set4ocus
)lse*f Leyscii J 2! Then
t#tB(.Set4ocus
)nd *f
)nd Sub
Priate Sub t#tbnGLeyPressHLeyscii s *ntegerI
*f Leyscii J 1$ Then
t#tddress.Set4ocus
)lse*f Leyscii J 2! Then
lstB(.Set4ocus
*f lstB(./istCount M 0 Then
lstB(./ist*nde# J 0
)nd *f
)nd *f
)nd Sub
Priate Sub t#tCPGLeyPressHLeyscii s *ntegerI
*f Leyscii J 1$ Then
t#tPhone.Set4ocus
)lse*f Leyscii J 2! Then
t#tS5.Set4ocus
)nd *f
)nd Sub
$!
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 38/59
Priate Sub t#tobileGLeyPressHLeyscii s *ntegerI
*f Leyscii J 1$ Then
cmdSubmit.Set4ocus
)lse*f Leyscii J 2! Then
t#tPhone.Set4ocus
)nd *f
)nd Sub
Priate Sub t#tPhoneGLeyPressHLeyscii s *ntegerI
*f Leyscii J 1$ Then
t#tobile.Set4ocus
)lse*f Leyscii J 2! Then
t#tCP.Set4ocus
)nd *f
)nd Sub
Priate Sub t#tS5GLeyPressHLeyscii s *ntegerI
*f Leyscii J 1$ Then
t#tCP.Set4ocus
)lse*f Leyscii J 2! Then
t#tddress.Set4ocus
)nd *f
)nd Sub
Sub ClearllHI
t#tB( J KK
t#tB(.Tag J KK
t#tddress J KK
t#tS5 J KK
t#tCP J KK
t#tPhone J KK
$7
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 39/59
t#tobile J KK
t#tB(.Set4ocus
E7 %u;
Priate Sub cmbBanGClicHI
5im s s (e, 5'5B.ecordset
*f s.State J adState'pen Then
s.Close
)nd *f
*f cmbBan./istCount M 0 Then
s.'pen Kselect Q from banprofile ,here idJK
cmbBan.*tem5ataHcmbBan./ist*nde#I< Con< ad'penLeyset
*f s.ecordCount M 0 Then
t#tBPhone J sphone KK
t#tBobile J smobile KK
t#tBddress J saddress KK
t#tBState J sState KK
t#tBCity J scity KK
grd5etails.o,s J 1
)nd *f
)nd *f
E7 %u;
C089a7 P406ile
5im 4lag s Boolean
Priate Sub cmdClearGClicHI
Clearll
$;
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 40/59
)nd Sub
Priate Sub cmd)#itGClicHI
=nload e
)nd Sub
Priate Sub cmdPrintGClicHI
5im s s (e, 5'5B.ecordset
*f s.State J adState'pen Then
s.Close
)nd *f
s.'pen Kselect company<address<state<city<phone<mobile from companyprofile order by
companyK< Con< ad'penLeyset
*f s.ecordCount M 0 Then
Set dsrCompany.5ataSource J s
dsrCompany.Sho,
dsrCompany.efresh
)nd *f
)nd Sub
Priate Sub cmdSubmitGClicHI
5im s s (e, 5'5B.ecordset
*f TrimHt#tC(I NM KK nd 4lag J 4alse Then
4or i J 0 To lstC(./istCount 1
*f TrimH=CaseHt#tC(II J TrimH=CaseHlstC(./istHiIII Then
sgBo# KCompany lready )#istK< b'L'nly O b*nformation
t#tC(.Set4ocus
)#it Sub
)nd *f
(e#t
%0
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 41/59
Con.)#ecute Kinsert into companyprofile Hcompany<address<city<state<phone<mobileI
alues H"K TrimHt#tC(I K"<"K TrimHt#tddressI K"<"K TrimHt#tCPI K"<"K
TrimHt#tS5I K"<"K TrimHt#tPhoneI K"<"K TrimHt#tobileI K"IK
*f s.State J adState'pen Then
s.Close
)nd *f
s.'pen Kselect ma#HidI as ma#Gid from companyProfileK< Con< ad'penLeyset
*f s.ecordCount M 0 Then
lstC(.*tem5ataHlstC(./istCountI J sma#Gid
lstC(.dd*tem TrimHt#tC(I
Clearll
)nd *f
)lse*f TrimHt#tC(I NM KK nd 4lag J True Then
Con.)#ecute Kupdate companyprofile set companyJ"K TrimHt#tC(I K"<addressJ"K
TrimHt#tddressI K"<stateJ"K TrimHt#tS5I K"<cityJ"K TrimHt#tC(I
K"<phoneJ"K TrimHt#tPhoneI K"<mobileJ"K TrimHt#tobileI K" ,here idJK
AalHt#tC(.TagI
Clearll
)nd *f
)nd Sub
Priate Sub 4ormG/oadHI
5im s s (e, 5'5B.ecordset
*f s.State J adState'pen Then
s.Close
)nd *f
s.'pen Kselect id<company from companyProfile order by companyK< Con<
ad'penLeyset
*f s.ecordCount M 0 Then
4or i J 0 To s.ecordCount 1
lstC(.dd*tem scompany KK
%1
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 42/59
lstC(.*tem5ataHiI J sid
s.oe(e#t
(e#t
)nd *f
)nd Sub
Priate Sub lstC(G5blClicHI
5im s s (e, 5'5B.ecordset
*f s.State J adState'pen Then
s.Close
)nd *f
*f lstC(./ist*nde# M 1 Then
s.'pen Kselect Q from companyProfile ,here idJK
lstC(.*tem5ataHlstC(./ist*nde#I< Con< ad'penLeyset
*f s.ecordCount M 0 Then
t#tC( J scompany KK
t#tC(.Tag J sid KK
t#tddress J saddress KK
t#tS5 J sState KK
t#tCP J scity KK
t#tPhone J sphone KK
t#tobile J smobile KK
4lag J True
)nd *f
)nd *f
)nd Sub
Priate Sub lstC(GLeyPressHLeyscii s *ntegerI
*f Leyscii J 1$ Then
t#tC(.Set4ocus
)nd *f
%2
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 43/59
)nd Sub
Priate Sub t#tddressGLeyPressHLeyscii s *ntegerI
*f Leyscii J 1$ Then
t#tS5.Set4ocus
)lse*f Leyscii J 2! Then
t#tC(.Set4ocus
)nd *f
)nd Sub
Priate Sub t#tC(GLeyPressHLeyscii s *ntegerI
*f Leyscii J 1$ Then
t#tddress.Set4ocus
)lse*f Leyscii J 2! Then
lstC(.Set4ocus
*f lstC(./istCount M 0 Then
lstC(./ist*nde# J 0
)nd *f
)nd *f
)nd Sub
Priate Sub t#tCPGLeyPressHLeyscii s *ntegerI
*f Leyscii J 1$ Then
t#tPhone.Set4ocus
)lse*f Leyscii J 2! Then
t#tS5.Set4ocus
)nd *f
)nd Sub
Priate Sub t#tobileGLeyPressHLeyscii s *ntegerI
*f Leyscii J 1$ Then
%$
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 44/59
cmdSubmit.Set4ocus
)lse*f Leyscii J 2! Then
t#tPhone.Set4ocus
)nd *f
)nd Sub
Priate Sub t#tPhoneGLeyPressHLeyscii s *ntegerI
*f Leyscii J 1$ Then
t#tobile.Set4ocus
)lse*f Leyscii J 2! Then
t#tCP.Set4ocus
)nd *f
)nd Sub
Priate Sub t#tS5GLeyPressHLeyscii s *ntegerI
*f Leyscii J 1$ Then
t#tCP.Set4ocus
)lse*f Leyscii J 2! Then
t#tddress.Set4ocus
)nd *f
)nd Sub
Sub ClearllHI
t#tC( J KK
t#tC(.Tag J KK
t#tddress J KK
t#tS5 J KK
t#tCP J KK
t#tPhone J KK
t#tobile J KK
t#tC(.Set4ocus
%%
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 45/59
E7 %u;
%&
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 46/59
'=TP=T
%6
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 47/59
%!
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 48/59
%7
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 49/59
%;
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 50/59
&0
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 51/59
&1
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 52/59
&2
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 53/59
&$
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 54/59
&%
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 55/59
&&
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 56/59
&6
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 57/59
&!
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 58/59
B*B/*'8P+9
&7
8/17/2019 Corier.docx
http://slidepdf.com/reader/full/corierdocx 59/59
I(OGRAPY
Rastering isual basic 6.0 B9 )angelos Petroutsos
RAisual basic 6.0 programming By Steen +ol?ner
R
Ricrosoft ccess By +arins< )T/