Upload
sathyapriya-ramasamy
View
217
Download
0
Embed Size (px)
Citation preview
8/18/2019 Automobile Management System Document
1/77
1. INTRODUCTION
1.1 OVERVIEW OF THE PROJECT
The proposed project is developed to manage the automobile in the automobile dealer
company. The main module in this project is login, automobile management, customer
management, sales, complaints and reports. The first module is the login. The automobile
showroom owner should login to the project for usage. The username and password are
verified and if it is correct, next form opens. If the username and password are not correct, it
shows the error message.
When a customer search for a automobile, if the automobile is available, they will be
taken to a page that shows the details of the automobile including automobile name,
automobile ID, uantity, price etc. !"utomobile #anagement $ystem% is useful for
maintaining automobiles, customers effectively and hence helps for establishing good relation
between customer and automobile organi&ation. It contains various customi&ed modules for
effectively maintaining automobiles and stock information accurately and safely.
When the automobile is sold to the customer, stock will be reduced automatically.
When a new purchase is made, stock will be increased automatically. While selecting
automobiles for sale, the proposed software will automatically check for total number of
available stock of that particular item, if the total stock of that particular item is less than ',
software will notify the user to purchase the particular item.
"lso when the user tries to sale items which are not in stock, the system will prompt
the user that the stock is not enough. (ustomers of this system can search for a automobile)can purchase a automobile easily by selecting fast. *n the other hand the stock of
automobiles can be maintained perfectly by the automobile shop manager overcoming the
drawbacks of existing system.
1
8/18/2019 Automobile Management System Document
2/77
1.2 DESCRIPTION OF MODULES
#ajor modules of the automobile management system are
• +ogin module
• egistration module
• (ustomer module
• "utomobile module
• $ales module
• Delivery module
• $upplier module
•
eports module
Login Module
It is used for logging in the automobile showroom management. It is used for
verifying the user. *nce the user is authenticated, they can access the system.
Regis!"ion Module
-ew user can register in order to use the full features of this system. -ormal users can
also access the proposed system but with limited features. *nly the registered users can get
more priorities than the unregistered guest user. *nce the guest users register to this system,
they can also get full access to this system.
Cuso#e! Module
It is used for adding new customers and for updating existing customers. It is used for
storing new customers as well as for updating the customers details. The module is very
useful to find the number of customers who paid bill. $ome customers might not pay the bills
on time.
(ustomer details can be easily searched, so it will be easy to find bill payment details.
It has a primary key field named customerno. The file is very useful for maintaining
customers.
$uo#o%ile Module
2
8/18/2019 Automobile Management System Document
3/77
It is used for adding new automobiles and for viewing, editing and deleting existing
automobiles. It is used for searching items in this system. /ere the admin have the privileges
to search items in this system. "utomobile details are stored with their brand name. When a
particular brand is being liked by people, that particular brand will be purchased and kept in
stock with large uantity.
S"les Module
It is used for adding sales details to proposed system. /ere the admin have privileges
to add details in automobile showroom management. $ales reports can be viewed overall as
well as date wise, month wise and year wise.
Deli&e!' Module
It is used for storing details of new deliveries in the automobile showroom
management. "dmin can perform operations like monitoring automobile stock details,
customer order details and delivery details. Delivery reports can be viewed overall as well as
date wise, month wise and year wise.
Su((lie! Module
It is used for maintaining supplier details like supplier ID, name, contact person and
address and phone number. $upplier or dealer can be cancelled when their items are not being
sold out. It is very essential in order to get good stock items for a company.
Re(o!s Module
It is used for generating various reports like cash order report, credit order reports and
payment reports. $ales and delivery reports can be viewed date wise, month wise and year
wise. eports can be viewed based on the users choice.
1.) S*STEM SPECIFIC$TION
3
8/18/2019 Automobile Management System Document
4/77
1.).1 H$RDW$RE SPECIFIC$TION
(01 2 Intel (ore i3
"# 2 34#5
/ard Disk 2 ' 65
#onitor 2 78 +6
#ouse 2 +ogitech mouse
9eyboard 2 7:; 9eys
#other 5oard 2 Intel
$peed 2 3.3 6/<
1.).2 SOFTW$RE SPECIFIC$TION
*perating $ystem 2 Windows 4::=
>ront ?nd 2 @isual 5asic
5ack ?nd 2 #$ "ccess
eports 2 Data eport
1.+ SOFTW$RE FE$TURES
4
8/18/2019 Automobile Management System Document
5/77
VISU$L ,$SIC -.
@isual basic is an ideal programming language for developing sophisticated
professional applications for #icrosoft Windows. @isual basic programming introduces a
variety of features that make it easier to create powerful, flexible applications. It makes use of
6raphical 1ser Interface for creating robust and powerful applications. The 6raphical user
Interface uses illustration for text, which enables users to interact with an application.
@isual basic has evolved from the original 5"$I( language and now contains several
hundred statements, functions, and keywords, many of which relate directly to the Windows
*perating $ystem includes,
• #ultitasking
• #essage driven architecture
• Dynamic linking
• (01 time slicing
Fe"u!es o/ &isu"l %"si0
• ?asier comprehension
•1serAfriendliness
• >aster application development
• Introduction to "ctiveAB technology
• Internet features
• $upport *+?, which is a means of communication and gives application the
power to directly use and manipulate other windows application.
• Data ?nvironment Designer, which provides an interactive design time
environment for creating programs with runtime access to data.
Ineg!"ed De&elo(#en En&i!on#en
Integrated Development ?nvironment CID? is a term commonly used in the
programming world to describe the interface and environment that is used to create
applications.
ID? is commonly referred to as the design environment or the program. ID? is made
up of components such as menu bar, tool bar, object browser, form layout window, and form
designer.
5
8/18/2019 Automobile Management System Document
6/77
In visual basic 8.: ID? is a #ultiple Document Interface C#DI format. In #ultiple
Document Interface format, the windows associated with the project will stay within a single
container known as the parent. (ode and form based windows will stay within the main
container form.
@isual basic can be used to create the following types of applications.
• $tandard ?B?
• "ctive ?B?
• "ctiveB D++
• "ctiveB (ontrol
• @5 application wi&ard
E&en d!i&en (!og!"##ing
@isual basic allows adopting more of a parallel approach, with independent sections
of code for each option that the user may select. This is known as ?vent Driven
0rogramming. ?vent Driven 0rogramming is based on the #essage Driven "rchitecture of
windows. @isual 5asic programs are built around events. ?vents are various things that can
happen in program. In ?vent Driven application, the program statements are executed only
when a particular event calls specific parts of the code that is assigned to the event.
>or example consider textbox control and some of its events,
• (lick event fires when text box control is clicked.
• #ouse move event is fired when mouse is moved over the text box.
D"" "00ess o(ions
#icrosoft visual data tools allow the ability to view and manipulate tables, views,
stored procedures, and database schemas on $E+ server and *racle systems. @isual 5asic
provides a variety of options to access emote (lientF$erver databases.
$DO O%e0 Model
@isual 5asic supports "ctiveB Data *bjects #icrosofts new, high level interface to
all kinds of data. "D* objects can be created at designA time using the updated Data?nvironment Designer. "D* is an interface for both local and remote data access, remote and
6
8/18/2019 Automobile Management System Document
7/77
disconnected record sets and hierarchical record sets. The "D* object model provides an
easyAtoAuse set of objects, properties, and methods for creating script that access data in
databases.
"D* consists of seven objects, three of which are independent and four are dependent
objects. Independent objects can exist by themselves) dependent objects must exist in
connection with an independent object.
• 0arameter
• (onnection
• (ommand
• ecord set
• ?rror • 0roperty
• >ield
Pu!(ose o/ 0oosing Visu"l ,"si0
• It is an ideal programming language for developing sophisticated professional
application for Windows.
• It makes use of 6raphical 1ser Interface for creating robust and powerful
applications.
• It uses illustration for text, which enables users to interact with an application.
• In 61I the options open to the user is much greater allowing more freedom to the
end user and developer.
• #ajor features are easier comprehension, faster application development and other
aspects such as "ctiveB, Internet features and @5 script.
MS3$CCESS
#icrosoft "ccess is a powerful database management system and the user can create
entire application that reuires little or no programming. It supports 61I features and an
entire programming language, @5" C@isual 5asic 8.: for application. "ccess is easy enough
to use that in a short time beginners can manage their own data. In #$ G"ccess, the database
means a collection of tables that hold data. It collectively stores all other object such as
7
8/18/2019 Automobile Management System Document
8/77
ueries, forms and reports that are used to implement the database management function
effectively.
The #$A"ccess database can act as a backAend database for @isual 5asic 8.: as
affront end tool. #" "ccess supports the user with its powerful management functions.
5eginners can create their own database very simply with some mouse clicks. #$A"ccess
database supports so many data types when a user can incorporate data from other
applications. " database created in #$A"ccess can be accessed through @isual 5asic 8.:
using data control.
/ere database means a collection of related tables and a table means a collection of
number of records where a record means a collection of interArelated fields. It should be notedthat a field in an entity is used to describe straight. " single table can have any number of
indexed fields that can be used to locate records using an expression. This helps in filtering
out information according to specific criteria. " user can move inside a table very easily using
the navigator tools supported by the #$A"ccess database. " table can be accessed in a
number of ways like as a snapshot, dynast, etc.
2. S*STEM STUD*
2.1 E4ISTIN5 S*STEM
"ll automobile details like available in the company are entered and managed in this
and managed. 0rice details and stock details of the automobiles are managed separately. The
customer details are entered to call the customer for further purchase of automobile. The
8
8/18/2019 Automobile Management System Document
9/77
customer name, address and phone number details are managed separately. The details are
entered and edited by the administrator.
5ut everything is done manually. #ost of the existing system is manual, so data
manipulations are not accurate and also processing time is slow. When the stock and
automobile count increases, manual manipulation of data becomes very difficult.
2.1.1 DR$W,$C6S
?ven though computeri&ed system exists, there are various drawbacks. They are as
follows.
• 1ser cannot search automobiles fast when the number of automobiles increases.
• 0rimary key fields should be used wherever necessary while designing in order to
manage database efficiently and for accessing information soon.
• $tock management is not efficiently done. 1ser can only know when the stock is
empty. 0rior information about stock is not possible.
• Takes much time for searching particular automobile details.
• Difficult to maintain automobile details and employee details
• ?xisting system is not accurate.
• ?ven though some existing systems are computeri&ed, there occur redundancy
problems due to duplication of entries.
• If the automobile entries have duplicate values, it cannot be maintained properly
and accurately
2.2 PROPOSED S*STEM
The proposed system is very useful for the employee and customers. It avoids the
overheads for the employee. They can minimi&e the working stress and can keep essential
documents related to the automobile and the passengers as a softcopy. The advantage of the
proposed system is the reduction in the cost of the office euipments and the transaction is
done uickly. "ny employee can answer if any delivery for a particular customer in a
particular day is available or not.
9
8/18/2019 Automobile Management System Document
10/77
The proposed project will allow the customers to perform certain activities like login
and searching for automobiles. (ustomers may open an account with the store if they wish
including a username and password. In login form users will be authenticated and it is also
possible to find whether they are customer or admin through their login information which
was entered. " customer must be logged in before searching for automobiles for purchase.
If a user attempts to login with incorrect details, they will be not be redirected to
access the application. When a customer search for a automobile, if the stock of the
automobile is available, they will be taken to a page that shows the details of the automobile
including automobile title, automobile ID, uantity, price etc in order for sale.
2.2.1 $DV$NT$5ES OF PROPOSED S*STEM
>eatures of the proposed project are as follows.
• $tock management as well as automobile management is done very uickly as
well as efficiently in proposed project.
• "nother feature added in the project is, when the regular customers purchase
items from automobile, software will automatically give them discount offers.
• 0repares and produces accurate outputs
• educes the time needed and expenses
• #akes the information flow efficient
• ?asy report generation is possible
• 0rovides attractive user interface.
• ?fficient searching of automobile details by just entering automobile code is
possible.
). S*STEM DESI5N $ND DEVELOPMENT
).1 FILE DESI5N
Fl" File D""%"se
" flat file database is a database designed around a single table. The flat file design
puts all database information in one table, or list, with fields to represent all parameters. " flat
file may contain many fields, often, with duplicate data that are prone to data corruption. If
10
8/18/2019 Automobile Management System Document
11/77
data between two flat files have to be merged, it is needed to copy and 0$#te relevant
information from one file to the other. There is no automation between flat files.
If two or more flat files that contain client addresses, it is reuired to manually modify
the address parameters in each file that contains that clients information. (hanging
information in one file has no bearing on other files. >lat files offer the functionality to store
information, manipulate fields, print or display formatted information and exchange
information with others, through email and over the Internet. $ome flat files may be attached
to external files, such as text editors, to extend functionality and manage related information.
Rel"ion"l File D""%"se
" relational database, on the other hand, incorporates multiple tables with methods for
the tables to work together. The relationships between table data can be collated, merged and
displayed in database forms. #ost relational databases offer functionality to share data2
• "cross networks
• *ver the Internet
• With laptops and other electronic devices, such as palm pilots
• With other software systems
Designing flat file databases is simple and reuires little design knowledge. >lat files
can be developed using just about any database engine. >lat files can be created in relational
database engines by not taking advantage of relational design concepts. Designing a
relational database takes more planning than flat file databases. With flat files, it is possible to
add information, as you deem necessary.
With relational databases, it is reuired to be careful to store data in tables such that
the relationships make sense. 5uilding a relational database is dependent upon the ability to
establish a relational model. The model must fully describe how the data is organi&ed, in
terms of data structure, integrity, uerying, manipulation and storage. elational databases
allow defining certain record fields, as keys or indexes, to perform search ueries, join table
records and establish integrity constraints.
$earch ueries are faster and more accurate when based on indexed values. Table
records can be easily joined by the indexed values. Integrity constraints can be established to
11
8/18/2019 Automobile Management System Document
12/77
ensure that table relationships are valid. If the project is able to establish a oneAtoAmany
relationship in the data tables, relational database should be used because a flat file is not
sufficient to handle the data processing needs. elational databases offer more robust
reporting with report generators that filter and display selected fields.
elational databases offer the capability to building own reporting modules. #ost
relational databases also offer the capability to import and export data from other software.
There are three primary relational database systems, proprietary, open source and embedded.
0roprietary relational databases reuire the use of proprietary development languages, often
times, to complement $E+. #icrosoft "ccess, for example, combines @isual 5asic with $E+.
*pen source databases, such as #y$E+, are distributed freely to encourage user
development.
?mbedded, relational databases are packaged as part of other software packages, such
as with taxApreparation software packages. The vendor supplies the database, and all
manipulation tools, to control the database structure. These databases are, often times,
accompanied with tools to provide audit trails of transactions. 0roposed project uses
relational database files implementing $E+ ueries in #$ "ccess. $o 7 to many relationships
can be established between tables and the table data can be accessed soon even in the nonA
indexed locations.
).2 INPUT DESI5N
Input is any data or instructions entered into the memory of a computer. Two types of
input are data and instructions. Data is a collection of unorgani&ed items that can include
words, numbers, pictures, sounds, and video. " computer processes data into information,
which is organi&ed, meaningful, and useful. Instructions can be in the form of programs,
commands, or user responses.
12
8/18/2019 Automobile Management System Document
13/77
" program is a series of instructions that tells a computer how to perform the tasks
necessary to process data into information. " command is an instruction given to a computer
program. " user response is an instruction you issue to the computer by responding to a
uestion posed by a computer program. "ny hardware component that allows entering data,
programs, commands, and user responses into a computer is an input device. Inputs of
"utomobile #anagement $ystem are eid, ename, ualification, automobileid, brand, cusid,
cusname and salary.
).) OUTPUT DESI5N
*utput design involves specifying how production of onAscreen reports and paper
based reports will occur. *utput may occur to database or file for storing information entered
or also for use by other systems. *utput is data that has been processed into a useful form
called information. >our types of output are text, graphics, audio, and video. Text consists of
characters Cletters, numbers, punctuation marks, or any other symbol reuiring one byte of
computer storage space that are used to create words, sentences, and paragraphs.
6raphics are digital representations of nonAtext information such as drawings, charts,
photographs, and animation Ca series of still images in rapid seuence that gives the illusion
of motion. "udio is music, speech, or any other sound. @ideo consists of images played back
at speeds to provide the appearance of full motion. "n output device is any computer
component capable of conveying information to a user.
).+ D$T$,$SE DESI5N
Database is designed to manage large bodies of information. The management of data
involves both the definitions of structures for the storage of information. In addition the data
base system must provide for the safety of the information solved, despite system crashes or
due to attempts at unauthori&ed access. >or developing an efficient database proposed project
have to fulfill certain conditions such as controlled redundancy.
13
8/18/2019 Automobile Management System Document
14/77
• Defining the data
• Inputting the data
• +ocating the data
• "ccessing the data
•
(ommunicating the data• evising the data
O%e0i&es o/ D""%"se design
In database design several objectives are designed such as2
• ?ase of use
• (ontrol of data integrity
• (ontrol of redundancy• (ontrol of security
• Data independence Clogical H physical
• Data storage protection
• $ystem performance
• $ystem functions
• $ystem compatibility
>or achieving the abovementioned criterias we have to make use of various features
that are available with the D5#$ by enforcing integrity constrains, it is possible to ensure
data integrity and reduce data inconsistency to a great extent.
).+.1 D$T$FLOW DI$5R$M
" Data >low Diagram CD>D is a diagram that describes the flow of data and the
processes that change data throughout a system. Its a structured analysis and design tool that
can be used for flowcharting in place of or in association with information. *riented and
process oriented system flowcharts. >our basic symbols are used to construct data flow
diagrams. They are symbols that represent data source, data flows, and data transformations
and data storage. The points at which data are transformed are represented by enclosed
figures, usually circles, which are called nodes.
D"" Flo7 Di"g!"# S'#%ols
14
8/18/2019 Automobile Management System Document
15/77
3 Sou!0e o! Desin"ion o/ d""
3 D"" Flo7
3 P!o0ess
3 So!"ge
When analysts prepare the Data >low Diagram, they specify the user needs at a level
of detail that virtually determines the information flow into and out of the system and the
reuired data resources.
The network is constructed by using a set of symbols that do not imply physical
implementations. The Data >low Diagram reviews the current physical system, prepares input
and output specification, and specifies the implementation plan.
Se(s o Cons!u0 D"" Flo7 Di"g!"#s
>our steps are commonly used to construct a D>D
• 0rocess should be named and numbered for easy reference. ?ach name should be
representative of the process.
• The destination of flow is from top to bottom and from left to right.
• When a process is exploded in to lower level details they are numbered.
• The names of data stores, sources and destinations are written in capital letters.
Rules /o! 0ons!u0ing " D"" Flo7 Di"g!"#
15
8/18/2019 Automobile Management System Document
16/77
Login
Login
Supplier
Product
• "rrows should not cross each other.
• $uares, circles and files must bear names.
• Decomposed data flow suares and circles can have same names.
• Draw all data flow around the outside of the diagram.
Le&el
Le&el 1
16
+ogin process"dmin
"utomobile
management access
"dmin
(ustomer $upplier
0roduct(ustomers
8/18/2019 Automobile Management System Document
17/77
Login
Supplier
Product
Le&el 2
17
"dmin
(ustomer $upplier
*rder
(ustomers
8/18/2019 Automobile Management System Document
18/77
Order
Payment
).+.2 D$T$,$SE T$,LES
T"%le n"#e 8 use!
P!i#"!' 9e' 8 use!n"#e
Field n"#e D"" '(e Des0!i(ion
username Text 1sername
password Text 0assword
T"%le n"#e 8 0us:in/o
P!i#"!' 9e' 8 0id
18
0roduct
$ales and
payment
$ales
reports
Delivery
and
0ayment
reports
*rder
reports
8/18/2019 Automobile Management System Document
19/77
Field n"#e D"" '(e Des0!i(ion
(id Text (ustomer ID
(name Text (ustomer name
(address Text "ddress of the customer
(gender Text 6ender of the customer
(city Text (ity of the customer
(pincode -umber 0in code of the customer
(phone -umber 0hone number of the customer
(landline -umber +andline number of the customer
(email Text ?mail ID of the customer
T"%le n"#e 8 "uo#o%ile
P!i#"!' 9e' 8 &id
Field n"#e D"" '(e Des0!i(ion
@id Text "utomobile ID
#odel Text #odel of the automobile
(olor Text (olor of the automobile
(hassisno Text (hassis number
19
8/18/2019 Automobile Management System Document
20/77
?ngineno Text ?ngine number
0aymentoption Text 0ayment option
$rprice number $elling price
T"%le n"#e 8 %oo9ing
Fo!eign 9e' 8 0id; eid
Field n"#e D"" '(e Des0!i(ion
cid Text (ustomer ID
(name Text (ustomer name
(address Text "ddress of the customer
$rid Text $howroom ID
Ino Text Insurance number
?id Text ?mployee ID
Date DateFtime Date of booking
Time Text Time of booking
#odel Text #odel of the automobile
(olor Text (olor of the automobile
$rprice -umber $howroom price
"price -umber "dvance price
5amount -umber 5alance amount
T"%le n"#e 8 insu!"n0e
P!i#"!' 9e' 8 (oli0'no Fo!eign 9e' 8 0id; eid
20
8/18/2019 Automobile Management System Document
21/77
Field n"#e D"" '(e Des0!i(ion
(id Text (ustomer ID
(name Text (ustomer name
(address Text "ddress of the customer
(phone -umber 0hone number of customer
@id Text "utomobile ID
#odel Text #odel of the automobile
(olor Text (olor of the automobile
(hassisno Text (hassi number of the automobile
?id Text ?mployee number
-name Text -ominee name
Iname Text -ame of the insurance
"ddress Text Insurer address
elationship Text elationship with the nominee
(ity Text (ity of the insurer
0incode -umber 0in code of the insurer
?mail Text ?mail ID of the insurer
0remium -umber 0remium amount
@from DateFtime Insurance from
@to DateFtime Insurance end date
$rid Text $howroom ID
0olicyno Text 0olicy number
21
8/18/2019 Automobile Management System Document
22/77
T"%le n"#e 8 e#(
P!i#"!' 9e' 8 eid
Field n"#e D"" '(e Des0!i(ion
eid Text ?mployee ID
?name Text ?mployee name
Designation Text Designation of the employee
>name Text >ather name
0address Text "ddress
(ity Text (ity of employee
0incode -umber 0incode of employee
#no -umber #obile number
+no -umber +andline number
0icture Text 0icture of an employee
Dob DateFtime Date of birth
6ender Text 6ender of employee
"ge -umber "ge of an employee
22
8/18/2019 Automobile Management System Document
23/77
T"%le n"#e 8 lo"n
P!i#"!' 9e' 8 lo"nno Fo!eign 9e' 8 0id; eid; &id
Field n"#e D"" '(e Des0!i(ion
(id Text (ustomer ID
(name Text (ustomer name
@id Text "utomobile ID
#odel Text #odel of the automobile
(hassisno Text (hassis number
?ngineno Text ?ngine number
$rprice -umber $howroom price
+oanamount Text +oan amount
Downpayment Text Down payment
Instaa -umber Installation amount
+oanduration Text +oan duration
+oanno -umber +oan number
?id Text ?mployee ID
Date DateFtime Date
Time Text Time
23
8/18/2019 Automobile Management System Document
24/77
+. S*STEM TESTIN5 $ND IMPLEMENT$TION
+.1 S*STEM TESTIN5
The common view of testing held by users is that it is performed to prove that there
are no errors in a program. It is extremely difficult since designer cannot prove to be one
hundred percent accurate. Therefore, the most useful and practical approach is with the
understanding that testing is the process of executing a program with explicit intention of
finding errors that make the program fail.
Testing has its own cycle. The testing process begins with the product reuirements
phase and from there parallels the entire development process. In other words, for each phase
of the development process there is an important testing activity. $uccessful testing reuires a
methodical approach. It reuires focusing on basic critical factors2
• 0lanning
• 0roject and process control
• isk management
• Inspections
• #easurement tools
• *rgani&ation and professionalism
24
8/18/2019 Automobile Management System Document
25/77
Tes Pl"n
5efore going for testing, first we have to decide upon the type of testing to be carried
out. The following factors are taken into consideration2
• To ensure that information properly flows into and out of program
• To find out whether the local data structures maintains its integrity during all steps
in an algorithm execution
• To ensure that the module operate properly at boundaries established to limit or
restrict processing
• To find out whether error A handling paths are working correctly or not
• To find out whether the values are correctly updated or not
• (heck for validations
,l"09 ,o< Tesing
It is a software testing approach in which the tester doesnt know the internal working
of the item being tested. >or example in a 5lack box test, on software design the tester only
knows the input and the expected outputs. Tester doesnt know how the program derives the
output. Tester doesnt even imagine as to how, the coding is done. Tester need to know only
the specifications.
The advantages of black box testing approach are
• The test is unbiased because the designer and the tester is independent of each
other
• The tester needs no specific knowledge on any programming language
• The test is done from the point of view of the user, not the designer.
• The test can be designed as soon as the specifications are complete
The disadvantages of black box testing approach are
• The test can be redundant if the software designer has already run a test case.
• The test can be difficult to design
• Testing every possible input stream is unrealistic.
Uni Tesing
25
8/18/2019 Automobile Management System Document
26/77
1nit or module testing is the process of testing the individual components
Csubprograms or procedures of a program. The purpose is to discover discrepancies between
the modules interface specification and its actual behavior. In our system each module must
be tested independently for validation.
Ineg!"ion Tesing
Integration testing is the process of combining and testing multiple components
together. The primary objective of integration testing is to discover errors in the interfaces
between the components. In our system each of the modules mentioned above, are tested for
checking the integration between them, after each of them are tested individually.
S'se# M"inen"n0e
"ll system is dynamic and subjects to constantly changing reuirements. ?ffort must
be devoted to adapting them and design must be flexible specified so that such changes can
be easily implemented. It activity is called system maintains. It includes improvement of
system functions and correction of errors. 5ack up of the entire database files are taken and
stored in secondary storage devices like magnetic tapes and disks so that it is possible to
restore the system at the earliest. If there is a break down or collapse, then the system giver
provision to restore database files, storing data in a separate secondary device leads to an
effective and efficient maintains of the system.
The master file has flags for maintains after for maintains. "fter the mentioned period,
the rejection suppliers, unused data in the files will be deleted in the master file. It method is
the increasing the memory to store the data. $oftware maintenance is a set of software
engineering activities that occur after software has been delivered for the customer and put
into operation. The success of the software and the project relies on the maintenance
procedure adopted. "s with the venture of human, not a single one is perfect. The further
modifications are left to the followers. It is because the opinion or vision or a thing differs
from individual to individual. The maintenance is performed at regular intervals to keep the
project safe and reliable.
Development is single activity maintenance is a continuous activity. #aintenance
involves activities like inspections, corrections and enhancements. *nce the system is
26
8/18/2019 Automobile Management System Document
27/77
delivered and deployed, it enters the maintenance phase. The system need to be maintained
not because of some of its components wear out and need to be replaced, but because there
are some residual errors remaining in the system that must be removed as they are
discovered. It includes activities related to debugging the software after it goes live, changes
are reuired to address evolving software and enhancement to meet changing customer
reuirements. $o maintenance phase involves
• 1nderstanding the effects of change.
• Testing the new parts
• etesting the old parts that were not changed
• #aking changes to both the code and the documents.
These changes have to be designed by the user before the change can be carried out.
$ince reuirement change reuest involves cost, user will be cautious while reuesting the
software changes. The software will reuire continued support. The system maintenance
means the maintenance activities after and during the system development processes. It
include activities related to debugging the software after it goes live, changes acuired to
meet changes in user reuirement.
#aintenance phase identifies if there are any changes reuired in the current system.If the changes are identified, then an analysis is made to identify if the changes are really
reuired. (ost benefit analysis is away to find out if the change is really essential.
S'se# $n"l'sis
The term system is derived from the 6reek word systema, which means of
organi&ed relationship among functioning units of components. "nd the study of system
concepts has three basic implications2
• " system must be designed to achieve a predetermined objective
• Interrelationships and interdependence must exist among the components
• The objectives of the organi&ations as a whole have a high priority than the
objective of its subsystems.
P!eli#in"!' $n"l'sis
27
8/18/2019 Automobile Management System Document
28/77
"nalysis is the detailed study of the various operations performed by a system and
their relationships within and outside the system. >or the efficient and effective utili&ation of
the available resources, timing availability of accurate information is very important.
Information is the back bone of any organi&ation. There for, it has to be made available all
time to ensure proper decisionAmaking.
Information also has to be accurate, current, timely, relevant and usable. In other
words, an effective information system should be able to provide information to those in need
of it, at the time they need of it, at the time they need it and in the way they need it. The need
for managing data and retrieving information efficiently, lead to an extensive use of
computers in the business world.
The computers have convinced the management that computeri&ed system is
preferable to the existing system) most organi&ation has computeri&ed their application areas
using traditional file processing concepts. The computeri&ed system, by itself does not
guarantee of efficient information retrieval. The effectiveness of the system, to great deal,
depends on the way in which data is organi&ed and managed. Way in which data is organi&ed
in the existing system is not integrated, since there is no connection or integration between
one module and another on accomplishing the task.
"nalysis is detailed study of various operations performed by a system and their
relationships within and outside the system. " key uestion is !what must be done to solve
the problemJ% *ne aspect of analysis is determining the boundaries of the system and
determining whether or not a new proposed system should consider other related items. It is
the process of gathering and interpreting facts) diagnosing the problems and using the
information recommend improvements to the system.
T!e"s o S'se# Se0u!i'
The lists of potential threats are as follows
• ?rrors and *missions
• Disgruntled and Dishonest ?mployees
• >ire
• -atural Disaster
• ?xternal "ttack
28
8/18/2019 Automobile Management System Document
29/77
S'se# Se0u!i'
$ecurity is a critical stage in system development. ?ven candidate system must
provide builtAin features for security and integrity of data. Without safe guards against
unauthori&ed access, fraud, embe&&lement, fire and natural disaster, a system could be so
vulnerable as to threaten the survival of the organi&ations.
To do an adeuate job on security, the risk, exposure, cost and specific measures such
as password should be analy&ed to provide protection. In addition, back up of copies of
software and recovery restart procedures must be available when needed.
The amount of protection depends on the sensitivity of data, the reliability of the user
and the complexity of the system. The motive behind security is to keep the organi&ation
running, protect data as an asset and seek management support for more installations.
S'se# Se0u!i' Me"su!es
"fter system security risk has been evaluated, the next step is to select security
measures. The measures are
• Identification
• "ccess (ontrol
• "udit (ontrol
• $ystem Integrity
Ideni/i0"ion
It is the scheme of identifying person to the system based on !$omething you know%
such as a password or a picture badge, !$omething you are% such as finger print or voice print
or !$omething you have% such as credit card, key or special terminal.
$00ess Con!ol
(ontrolling the access to the computer facility is secured through encoded cards or
similar devices. ?ncryption prevents intruders from accessing data by scrambling messages
across telephones to the destination.
$udi Con!ol
29
8/18/2019 Automobile Management System Document
30/77
"uditing must be supported at all levels of management. "udit control protects a
system from external security breaches and internal fraud or embe&&lement. @arious software
programs are available to help in audit function.
S'se# Ineg!i'
The line of different safeguards the functioning of hardware, software and physical
security and operating procedure. 0roper back of hardware and software are extremely
important.
+.2 S*STEM IMPLEMENT$TION
$ystem implementation is the important stage of project when the theoretical design is
tunes into practical system. The main stages in the implementation are as follows2
• 0lanning
• Training
• $ystem testing and
• (hangeover planning
0lanning is the first task in the system implementation. 0lanning is deciding on the
method and the time scale to be adapted. "t the time of implementation of any system people
from different departments and system analysis involve. They are confirmed to practical
problem of controlling various activities of people outside their own data processing
departments. The line manager controlled through an implementation coAordinate committee.
The committee consists of ideas, 0roblems and complaints of user department. It must also
consider,
• The implementation of system environment.
• $elf selection and allocation for implementation tasks.
• (onsultation with unions and resources available.
• $tandby facilities and channels of communication.
30
8/18/2019 Automobile Management System Document
31/77
=. CONCLUSION
The system is completely menu driven and extremely user friendly since it is
developed in an efficient front end tool @5. "ppropriate error messages are also provided too
guide the user in a proper and user friendly manner.
The software >$uo#o%ile M"n"ge#en S'se#? has been developed in windows
4::= environment using 0/0 as front end and #$ "ccess as back end. Time consumptions
reduced to a great extent and user as less complexity in handling it database.
The project is fully fledged and user friendly, ?nd users will be lightened in using it
software because it is easy to have bills and reports and mostly all contents to be entered are
to selected from combo box. It reduces the calculating efforts to be carried out by the staff.
31
8/18/2019 Automobile Management System Document
32/77
-. SCOPE FOR FURTHER ENH$NCEMENT
>urther expansion of the system also can be done in future if needed. The application
can be enhanced in the future with the needs of the organi&ation. The database and the
information can be updated to the latest forthcoming versions.
There are also possibilities for enhancing and further developing the project with
customi&ed reports according to the latest information and needs of the company. Thus the
system can be altered in accordance with the future reuirements and advancements. $ystem
performance evaluation must be monitored not only to determine whether or not they perform
as plan but also to determine if they should have to meet changes in the information needed
for the company.
The performance of the system will be evaluated to determine whether system
achieves the results that are expected and whether the predicted benefits of the system are
reali&ed.
,I,LIO5R$PH*
32
8/18/2019 Automobile Management System Document
33/77
REFERENCE ,OO6S
• Kames. " $enn, $ystem "nalysis and Design, 4::'.
• 0ressman, $oftware ?ngineering, 4:7:, pp.4::A43:.
• ?lias "ward, $ystem "nalysis and Design, 4::8.• $.$. Ipress, @5, 4::8, pp.7A7L:.
• $. 0arthasarathy, 5. W. 9halakar, $ystem "nalysis, Design and Introduction to
$oftware ?ngineering, 4:7:, pp.3MAL:.
REFERENCE WE,SITES
• www.programmingworld.com
• www.vbnetcode.com
• www.w3schools.com
• www.vbcode.com
• www.vbdevelopplus.com
• www.codepark.com
$PPENDI4
$. S$MPLE INPUT
Login /o!#
33
8/18/2019 Automobile Management System Document
34/77
$d#in login
34
8/18/2019 Automobile Management System Document
35/77
Use! login
35
8/18/2019 Automobile Management System Document
36/77
Insu!"n0e /o!#
36
8/18/2019 Automobile Management System Document
37/77
Se!&i0e /o!#
37
8/18/2019 Automobile Management System Document
38/77
S("!e ("!s /o!#
38
8/18/2019 Automobile Management System Document
39/77
E#(lo'ee de"ils /o!#
39
8/18/2019 Automobile Management System Document
40/77
Cuso#e! de"ils
40
8/18/2019 Automobile Management System Document
41/77
I#(o!ed "uo#o%ile de"ils
41
8/18/2019 Automobile Management System Document
42/77
8/18/2019 Automobile Management System Document
43/77
,oo9ing /o!#
43
8/18/2019 Automobile Management System Document
44/77
Lo"n de"ils
44
8/18/2019 Automobile Management System Document
45/77
Lo"n ("'#en de"ils
45
8/18/2019 Automobile Management System Document
46/77
Cuso#e! (u!0"se /o!#
46
8/18/2019 Automobile Management System Document
47/77
,.S$MPLE OUTPUT
47
8/18/2019 Automobile Management System Document
48/77
S(l"s /o!#
On su00ess/ul login
48
8/18/2019 Automobile Management System Document
49/77
$d#in 7el0o#e ("ge
49
8/18/2019 Automobile Management System Document
50/77
F"0iliies
50
8/18/2019 Automobile Management System Document
51/77
$&"il"%le /"0iliies
51
8/18/2019 Automobile Management System Document
52/77
,i9es
52
8/18/2019 Automobile Management System Document
53/77
S(e0i/i0 %i9e
53
8/18/2019 Automobile Management System Document
54/77
Vie7 %i9e 0olo!
54
8/18/2019 Automobile Management System Document
55/77
So7!oo# de"ils
55
8/18/2019 Automobile Management System Document
56/77
56
8/18/2019 Automobile Management System Document
57/77
C.S$MPLE CODIN5
0rivate $ub (ommand7N(lickC
#e./ide
#DIenter7.$how
?nd $ub
0rivate $ub (ommand7:N(lickC
*n ?rror 6oTo errmsg
"dodc7.ecordset.#ove>irst
?xit $ub
errmsg2
#sg5ox ?rr.Description
?nd $ub
0rivate $ub (ommand77N(lickC
"dodc7.ecordset.#ove+ast
?nd $ub
0rivate $ub (ommand74N(lickC
*n ?rror 6oTo errmsg
57
8/18/2019 Automobile Management System Document
58/77
"dodc7.ecordset.#ove0revious
?xit $ub
errmsg2
#sg5ox OPou "re in >irst ecordO
?nd $ub
0rivate $ub (ommand73N(lickC
*n ?rror 6oTo errmsg
"dodc7.ecordset.#ove-ext
?xit $ub
errmsg2
#sg5ox OPou "re in +ast ecordO
?nd $ub
0rivate $ub (ommand4N(lickC
1nload #e
?nd $ub
0rivate $ub (ommand3N(lickC
Text7.Text Q OO
58
8/18/2019 Automobile Management System Document
59/77
Text4.Text Q OO
Text3.Text Q OO
Text;.Text Q OO
Text'.Text Q OO
Text8.Text Q OO
Text=.Text Q OO
?nd $ub
0rivate $ub (ommand;N(lickC
(all enable
"dodc7.efresh
If "dodc7.ecordset.ecord(ount Q : Then
a Q 7
?lse
"dodc7.ecordset.#ove+ast
a Q "dodc7.ecordset.>ieldsC: R 7
?nd If
"dodc7.ecordset."dd-ew
Text7.Text Q a
Text4.$et>ocus
59
8/18/2019 Automobile Management System Document
60/77
?nd $ub
0rivate $ub (ommand'N(lickC
#e./ide
alldetails.$how
?nd $ub
0rivate $ub (ommand8N(lickC
If "dodc7.ecordset.?*> Q True Then
#sg5ox O-* ?(*D$O
?lse
ans Q #sg5oxCOD* you want to delete the recordO, vb*9(ancel R vb?xclamation R
vbDefault5utton4, OD?+?T?O
If ans Q vb*9 Then
"dodc7.ecordset.Delete
"dodc7.efresh
#sg5ox Oecord DeletedO, vbInformation, Oecord DeletedO
?nd If
?nd If
?nd $ub
60
8/18/2019 Automobile Management System Document
61/77
0rivate $ub (ommand=N(lickC
S*n ?rror 6oTo err7
a Q #sg5oxCODo you want to save the recordO, vb*9(ancel R vbDefault5utton7, O$"@?O
If a Q vb*9 Then
If *ption7.@alue Q True Then
"dodc7.ecordset.>ieldsC3 Q O#"+?O
?lse
"dodc7.ecordset.>ieldsC3 Q O>?#"+?O
?nd If
"dodc7.ecordset.1pdate
"dodc7.efresh
(all disable
#sg5ox O?(*D $"@?DO, vb*9(ancel, O$"@?DO
?lse
#sg5ox Oecord -*T $"@?DO
"dodc7.ecordset.(ancel1pdate
?nd If
Serr72
S#sg5ox ?rr.Description, vbEuestion, O0rimary 9ey ?rrorO
?nd $ub
61
8/18/2019 Automobile Management System Document
62/77
0rivate $ub (ommandLN(lickC
?nd $ub
0rivate $ub (ommandMN(lickC
(all enable
?nd $ub
0rivate $ub DT0icker7N(allback9eyDownC5y@al 9ey(ode "s Integer, 5y@al $hift "s
Integer, 5y@al (allback>ield "s $tring, (allbackDate "s Date
Dim D"T?7 "s Date
D"T?7 Q Date
Text8.Text Q DateDiffCOyyyyO, >ormatCDT0icker7, OddFmmFyyyyO, D"T?7
If @alCText8.Text : *r @alCText8.Text 4; Then
DT0icker7.$et>ocus
#sg5ox O "ge limit not satisfied O
?nd If
?nd $ub
0rivate $ub >ormN+oadC
62
8/18/2019 Automobile Management System Document
63/77
(all disable
?nd $ub
0rivate $ub 0icture4N(lickC
?nd $ub
0rivate $ub 0icture3N(lickC
?nd $ub
0rivate $ub 0icture;N(lickC
?nd $ub
0rivate $ub Text7N9ey0ressC9ey"scii "s Integer
(all charvalidC9ey"scii
?nd $ub
0rivate $ub text7N+ost>ocusC
63
8/18/2019 Automobile Management System Document
64/77
If Text7.Text Q OO Then
#sg5ox O?-T? T/? (1$T*#? ID O, vb(ritical
?nd If
?nd $ub
0rivate $ub Text74N9ey0ressC9ey"scii "s Integer
(all charvalidC9ey"scii
?nd $ub
0rivate $ub Text74N+ost>ocusC
If Text74.Text Q OO Then
#sg5ox O?-T? T/? +"-D+I-? -1#5? O, vb(ritical
?nd If
?nd $ub
0rivate $ub Text73N9ey0ressC9ey"scii "s Integer
(all emailvalidC9ey"scii
?nd $ub
64
8/18/2019 Automobile Management System Document
65/77
0rivate $ub Text73N+ost>ocusC
If Text73.Text Q OO Then
#sg5ox O?-T? T/? ?#"I+ ID O, vb(ritical
?nd If
?nd $ub
0rivate $ub Text4N9ey0ressC9ey"scii "s Integer
(all alphavalidC9ey"scii
?nd $ub
0rivate $ub text4N+ost>ocusC
If Text4.Text Q OO Then
#sg5ox O?-T? T/? (1$T*#? -"#? O, vb(ritical
?nd If
?nd $ub
0rivate $ub Text3N9ey0ressC9ey"scii "s Integer
(all charvalidC9ey"scii
?nd $ub
0rivate $ub Text3N+ost>ocusC
65
8/18/2019 Automobile Management System Document
66/77
If Text3.Text Q OO Then
#sg5ox O?-T? T/? (1$T*#? #*5I+? -1#5? O, vb(ritical
?nd If
?nd $ub
0rivate $ub Text;N9ey0ressC9ey"scii "s Integer
(all addressvalidC9ey"scii
?nd $ub
0rivate $ub Text;N+ost>ocusC
If Text;.Text Q OO Then
#sg5ox O?-T? T/? (1$T*#? "DD?$$ O, vb(ritical
?nd If
?nd $ub
0rivate $ub Text7'N9ey0ressC9ey"scii "s Integer
(all alphavalidC9ey"scii
?nd $ub
0rivate $ub Text7'N+ost>ocusC
If Text7'.Text Q OO Then
66
8/18/2019 Automobile Management System Document
67/77
#sg5ox O?-T? T/? (ITP O, vb(ritical
?nd If
?nd $ub
0rivate $ub Text78N9ey0ressC9ey"scii "s Integer
(all charvalidC9ey"scii
?nd $ub
0rivate $ub Text78N+ost>ocusC
If Text78.Text Q OO Then
#sg5ox O?-T? T/? 0I-(*D? O, vb(ritical
?nd If
?nd $ub
0ublic $ub disableC
Text4.?nabled Q >alse
Text3.?nabled Q >alse
Text;.?nabled Q >alse
Text74.?nabled Q >alse
Text73.?nabled Q >alse
Text7'.?nabled Q >alse
67
8/18/2019 Automobile Management System Document
68/77
Text78.?nabled Q >alse
*ption7.?nabled Q >alse
*ption4.?nabled Q >alse
?nd $ub
0ublic $ub enableC
Text4.?nabled Q True
Text3.?nabled Q True
Text;.?nabled Q True
Text74.?nabled Q True
Text73.?nabled Q True
Text7'.?nabled Q True
Text78.?nabled Q True
*ption7.?nabled Q True
*ption4.?nabled Q True
?nd $ub
0rivate $ub Text8N(hangeC
If C9ey"scii UQ ;L "nd 9ey"scii Q '= *r 9ey"scii Q 34 *r 9ey"scii Q ;8 *r 9ey"scii Q
L Then
?lse
68
8/18/2019 Automobile Management System Document
69/77
#sg5ox O 0lease ?nter date in format2 74.;.7MM: O, vb(ritical R vb*9*nly, OWarningO
9ey"scii Q :
?nd If
?nd $ub
E#(lo'ee /o!#
Dim file7 "s $tring
0rivate $ub (ombo7N9ey0ressC9ey"scii "s Integer
(all charvalidC9ey"scii
?nd $ub
0rivate $ub (ombo7N+ost>ocusC
If (ombo7.Text Q OO Then
#sg5ox O?-T? T/? ?#0+*P?? D?$I6-"TI*- O, vb(ritical
?nd If
?nd $ub
0rivate $ub (ommand7N(lickC
#e./ide
69
8/18/2019 Automobile Management System Document
70/77
#DIenter7.$how
?nd $ub
0rivate $ub (ommand7:N(lickC
*n ?rror 6oTo errmsg
"dodc7.ecordset.#ove>irst
Image7.0icture Q +oad0ictureC"dodc7.ecordset.>ieldsC7:
?xit $ub
errmsg2
#sg5ox ?rr.Description
?nd $ub
0rivate $ub (ommand77N(lickC
"dodc7.ecordset.#ove+ast
Image7.0icture Q +oad0ictureC"dodc7.ecordset.>ieldsC7:
?nd $ub
0rivate $ub (ommand74N(lickC
*n ?rror 6oTo errmsg
"dodc7.ecordset.#ove0revious
70
8/18/2019 Automobile Management System Document
71/77
Image7.0icture Q +oad0ictureC"dodc7.ecordset.>ieldsC7:
?xit $ub
errmsg2
#sg5ox OPou "re in >irst ecordO
?nd $ub
0rivate $ub (ommand73N(lickC
*n ?rror 6oTo errmsg
"dodc7.ecordset.#ove-ext
Image7.0icture Q +oad0ictureC"dodc7.ecordset.>ieldsC7:
?xit $ub
errmsg2
#sg5ox OPou "re in +ast ecordO
?nd $ub
0rivate $ub (ommand7;N(lickC
(ommonDialog7.$how*pen
file7 Q (ommonDialog7.>ile-ame
Image7.0icture Q +oad0ictureCfile7
?nd $ub
71
8/18/2019 Automobile Management System Document
72/77
0rivate $ub (ommand4N(lickC
Text7.Text Q OO
Text4.Text Q OO
(ombo7.Text Q OO
SText3.Text Q OO
Text7:.Text Q OO
Text77.Text Q OO
Text7'.Text Q OO
Text74.Text Q OO
Text73.Text Q OO
Text7;.Text Q OO
*ption7.@alue Q >alse
*ption4.@alue Q >alse
SText'.Text Q OO
SText8.Text Q OO
SText;.Text Q OO
STextL.Text Q OO
SText=.Text Q OO
STextM.Text Q OO
72
8/18/2019 Automobile Management System Document
73/77
Text78.Text Q OO
Image7.0icture Q OO
?nd $ub
0rivate $ub (ommand3N(lickC
S*n ?rror 6oTo err7
a Q #sg5oxCODo you want to save the recordO, vb*9(ancel R vbDefault5utton7, O$"@?O
If a Q vb*9 Then
If *ption7.@alue Q True Then
"dodc7.ecordset.>ieldsC74 Q O#"+?O
?lse
"dodc7.ecordset.>ieldsC74 Q O>?#"+?O
?nd If
Ssmid Q "pp.0ath
S>I+?4 Q smid H OV0/*T*$VO H Text4.Text H O.K06O
S>ile(opy file7, >I+?4
SDim sl7 "s $tring
SDim sm "s -ew "D*D5.ecordset
Ssl7 Q O$?+?(T >*# studentNadmissionO
Ssm.*pen sl7, (*-, ad*penDynamic, ad+ock*ptimistic
73
8/18/2019 Automobile Management System Document
74/77
S(*-.?xecute OI-$?T I-T* studentNadmission @"+1?$CSO H file7 H OSO
"dodc7.ecordset.>ieldsC7: Q file7
"dodc7.ecordset.>ieldsC4 Q (ombo7.Text
"dodc7.ecordset.1pdate
"dodc7.efresh
(all disable
#sg5ox O?(*D $"@?DO, vb*9(ancel, O$"@?DO
?lse
#sg5ox Oecord -*T $"@?DO
"dodc7.ecordset.(ancel1pdate
?nd If
Serr72
S#sg5ox err.Description, vbEuestion, O0rimary 9ey ?rrorO
?nd $ub
0rivate $ub (ommand;N(lickC
?nd
?nd $ub
74
8/18/2019 Automobile Management System Document
75/77
S0rivate $ub (ommand'N(lickC
Ssal Q @alCText3.Text
S$elect (ase sal
S(ase Is ':::
SText'.Text Q sal 7: F 7::
SText8.Text Q sal 7' F 7::
SText;.Text Q sal 7L F 7::
S(ase Is 7::::
ST ext'.Text Q sal 74 F 7::
SText8.Text Q sal 7; F 7::
SText;.Text Q sal 7L F 7::
S(ase Is 7':::
SText'.Text Q sal 7L F 7::
SText8.Text Q sal 4: F 7::
SText;.Text Q sal 47 F 7::
S(ase ?lse
SText'.Text Q sal = F 7::
SText8.Text Q sal L F 7::
SText;.Text Q sal ' F 7::
S?nd $elect
75
8/18/2019 Automobile Management System Document
76/77
Ssal Q @alCText;.Text
S$elect (ase sal
S(ase Is ':::
STextL.Text Q sal ' F 7::
SText=.Text Q sal ; F 7::
S(ase Is 7::::
STextL.Text Q sal 8 F 7::
SText=.Text Q sal ' F 7::
S(ase Is 7':::
STextL.Text Q sal L F 7::
SText=.Text Q sal M F 7::
S?nd $elect
STextM.Text Q @alCText3.Text R @alCText'.Text R @alCText8.Text R @alCText;.Text A
@alCTextL.Text A @alCText=.Text
S?nd $ub
0rivate $ub (ommand8N(lickC
If "dodc7.ecordset.?*> Q True Then
#sg5ox O-* ?(*D$O
?lse
76
8/18/2019 Automobile Management System Document
77/77
ans Q #sg5oxCOD* you want to delete the recordO, vb*9(ancel R vb?xclamation R
vbDefault5utton4, OD?+?T?O
If ans Q vb*9 Then
"dodc7.ecordset.Delete
"dodc7.efresh
#sg5ox Oecord DeletedO, vbInformation, Oecord DeletedO
?nd If
?nd If
?nd $ub
0rivate $ub (ommand=N(lickC
(all enable
"dodc7.efresh
If "dodc7.ecordset.ecord(ount Q : Then
a Q 7
?lse
"dodc7.ecordset.#ove+ast