0% found this document useful (0 votes)
12 views55 pages

TINASHE NGWARU PROJECT (DOCUMENTATION) Final

The document outlines a project for developing a computerized clinic system for Ngwaru Pharmacy, which has been facing issues with its current manual system, including data loss and inefficiency. It includes an analysis of the current system, feasibility studies, requirements specifications, and alternative methods for system development. The chosen solution is bespoke software, which aims to enhance efficiency, security, and user satisfaction while addressing the limitations of the existing system.

Uploaded by

chiyanjapeter7
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views55 pages

TINASHE NGWARU PROJECT (DOCUMENTATION) Final

The document outlines a project for developing a computerized clinic system for Ngwaru Pharmacy, which has been facing issues with its current manual system, including data loss and inefficiency. It includes an analysis of the current system, feasibility studies, requirements specifications, and alternative methods for system development. The chosen solution is bespoke software, which aims to enhance efficiency, security, and user satisfaction while addressing the limitations of the existing system.

Uploaded by

chiyanjapeter7
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 55

COMPUTER SCIENCE PROJECT

ZIMSEC 2024
Peter j chiyanja chivi online clinic system

Table of Contents

Section a............................................................................................................... 3
Selection, investigation and analysis.....................................................................3
BACKGROUND ANALYSIS.................................................................................... 3
INVESTIGATION OF THE CURRENT SYSTEM........................................................4
Data analysis using FLOW CHARTS.................................................................4
Preliminary investigation of the current system.................................................5
Observations................................................................................................... 5
Questionnaires................................................................................................ 6
Problem with the current system....................................................................9
FEASIBILITY STUDY............................................................................................. 9
Economic feasibility......................................................................................... 9
Technical feasibility....................................................................................... 10
Schedule feasibility....................................................................................... 11
Social feasibility............................................................................................. 11
Legal feasibility............................................................................................. 11
Operational feasibility................................................................................... 12
REQUIREMENTS SPECIFICATION.......................................................................12
Software requirements.................................................................................. 12
AIMS AND OBJECTIVES...................................................................................... 13
Aims.............................................................................................................. 13
Objectives..................................................................................................... 13
EVIDENCE THAT THE RESEARCH HAS BEEN CARRIED OUT...............................14
SECTION B........................................................................................................... 14
Consideration Of The Alternative Methods.......................................................14
INPUT DESIGN................................................................................................... 20
Main menu Design........................................................................................... 24
File design....................................................................................................... 28
File linkages..................................................................................................... 32
Overall plan..................................................................................................... 33
Output design.................................................................................................. 34
TEST PLAN........................................................................................................ 35
Section c............................................................................................................. 36

1
Peter j chiyanja chivi online clinic system

Software development........................................................................................ 36
TECHNIC THAT IMPROVES THE STRUCTURE, APPEARANCE CLARITY OF THE
CODE THAT IS :.............................................................................................. 36
Procedures.................................................................................................... 36
Functions....................................................................................................... 36
Scope of variables......................................................................................... 37
Comments..................................................................................................... 38
Blank Lines.................................................................................................... 38
Identation...................................................................................................... 39
Technical documentation................................................................................ 39
pseudocodes................................................................................................. 39
Flowcharts..................................................................................................... 41
USER DOCUMENTATION.................................................................................... 44
Installation..................................................................................................... 44
Running the system...................................................................................... 48
Navigation..................................................................................................... 48
Exiting the System........................................................................................ 48
Section d............................................................................................................. 49
Testing and evaluation...................................................................................... 49
User Testing..................................................................................................... 49
Standard testing............................................................................................ 50
Abnormal Testing......................................................................................... 51s
EVALUATION limitations OF THE SYSTEM.........................................................51
Achievements................................................................................................ 51
Weaknesses.................................................................................................. 52
Opportunity................................................................................................... 52

2
Peter j chiyanja chivi online clinic system

Section a
Selection, investigation and analysis

BACKGROUND ANALYSIS

Ngwaru Pharmacy is a company which has ventured into medication services like pills, srups

and any form of medicine help that someone would need. This company is located in

Masvingo town at number 42 Hellet Street and has been existing for 6 years since 2013. For

all these years the company has been using a manual system whereby all recordings and

operations of the company are manually driven. The system is user friendly and easy to use,

but has caused some problems to the company.

The system has caused voluminous work to the users leading to a lot of arithmetical errors,

omission of essential information, some of the work may be illegible since some users work

under pressure and also they would need to share the information yet one can find it difficult

to read one`s writing.

Large piles of files are becoming difficult to store since there is a shortage of space, leading

to misplacing of some sheets of papers hence loss of essential information.

The paper system does not have a reliable backup of files since in a risk of fire outbreak they

may definitely be burnt to such an extent that there will be total loss of records used and

essential information like debtors who owe money to us. The older files are now being

3
Peter j chiyanja chivi online clinic system

messed up and even eaten by rats that are found within the company premises. The rats are

eating and tearing some pages therefore causing loss of essential information.

All the information is not secured since anyone can open the files whenever he or she gets the

opportunity or some space. This system provides a poor retrieval method which causes

inconveniences in case of a query or emergences like the issues of misplaced documents and

in case of a fire outbreak.

INVESTIGATION OF THE CURRENT SYSTEM

Investigations have been carried out on the current system at Ngwaru pharmacy to provide

the problems stated on this system. This was also done to investigate if it is vital to change

the current system or continue with it. Below are some of the research instruments which I

have used and the data analysis of the system:

Data analysis using FLOW CHARTS

4
Peter j chiyanja chivi online clinic system

Preliminary investigation of the current


system

Observations

The first observation I made was torn pages of books that where in a file. Some handwriting

in those files was illegible. Some work was dirty meaning there were spoils on some pages.

There was shortage of space to keep some important files. I also observe that data is lost due

to tearing of papers. It is difficult to find the file that you search for. There is no backup of

data when the data is lost. They do not have ways of preventing data loss for example the use

5
Peter j chiyanja chivi online clinic system

of fire extinguishers. The system they use is very slow if you want to search for person’s

details.

Questionnaires

A document with carefully crafted questions to be answered by the respondent by

filling on the spaces provided. Questionnaires are used when collecting information

from a widely spaced population sample and when collecting information from many

people.

Questionnaire guide :

1. What are the problems faced with the current system?

…………………………………………………………………………………………………

…………………………………………………………………………………………………

…………………………………………………………………………………………………

…………………………………………………………………………………………………

……………………………………………………………………………

2. In your own view, which solutions can be put across to solve the problems?

…………………………………………………………………………………………………

………………………………………………………….

…………………………………………………………………………………………………

………………………………………………………….

6
Peter j chiyanja chivi online clinic system

…………………………………………………………………………………………………

………………………………………………………….

3. How many users are affected by the current system?

5 4 3 2 1 none of the

given

4. Do you think the system is still viable, if not why?

Yes no

…………………………………………………………………………………………………

…………………………………………………………………………………………………

…………………………………………………………………………………………………

…………………………………………………………………………………………………

……………………………………………………………………………

5. Which system would you prefer if there is an option of changing the current one?

…………………………………………………………………………………………………

………………………………………………………….

6. Which advantages can you put across to support your suggestion on the above question?

…………………………………………………………………………………………………

…………………………………………………………………………………………………

…………………………………………………………………………………………………

…………………………………………………………………………………………………

……………………………………………………………………………

7
Peter j chiyanja chivi online clinic system

7. Why do you think your suggestion in question 6 will be socially feasible to the local

people?

…………………………………………………………………………………………………

…………………………………………………………………………………………………

…………………………………………………………………………………………………

…………………………………………………………………………………………………

…………………………………………………………………………..

8 Do you think the company will be able to meet all requirements of the new system?

Yes No

Why do you say so?

…………………………………………………………………………………………………

…………………………………………………………………………………………………

…………………………………………………………………………………………………

…………………………………………………………………………………………………

……………………………………………………………………………

Justification of using Questionnaires

1. Effective when collecting a lot of data

2. Questions are very simple to answer.

3. It saves time as questionnaires can be distributes and then collected later.

4. Respondents can fill questionnaires at their own pace.

5. Give guarantees confidential of information, thereby encouraging respondents to give

accurate information.

8
Peter j chiyanja chivi online clinic system

6. They are cheap to use as travel expense can be low

Problem with the current system


1. Shortage of space, which lead to misplacing of same papers.

2. The system does not have the back up of files.

3. The older files are now missed up, stolen and even been eaten by rats that are found in the

company premises, cause loss of essential information.

4. The system does not secured data since everyone can open files whenever he /she can get

opportunity or some space.

FEASIBILITY STUDY
A preliminary investigation has been conducted at the Ngwaru pharmacy to determine if

there is need for a new system or modification on the existing one. I have done this on behalf

of the analyst to examine whether a new system is feasible or not. Through assessment of this

problem, I have decided on what is required of the new system involving the evaluations of

the two systems and request from the users to determine if it is feasible to construct or

implement a new system. Various measurements which are as below have been used in this

preliminary investigation.

Economic feasibility
Economically I have investigated and discovered that the new system`s benefits will

outweigh the costs involved in developing, purchasing, installing and maintenance of the new

system. Tangible and quantifiable benefits will be obtained such as profits in monetary value

9
Peter j chiyanja chivi online clinic system

to the company, the new system have fewer processing errors, increased production since use

of machines (computers) will be faster than use of manual method and also the response time

of the system will be increased. Also the study perceived that the project will produce long

term gain for the pharmacy. The cost benefit analysis proved that the benefits of the proposed

system undermine the cost involved of about $925.00; hence the system is worthwhile.

Therefore the costs to be considered are as follows :

COST BENEFIT ANALYSIS


PC $250

Printer $75

Microsoft Visual Basic (2010) $50

Internet Router $100

Cables $50

Installation $125

Maintenance $100

Training $75

Electricity $100

TOTAL COSTS = $925.00

Technical feasibility

This investigation has been carried out to determine if the organization (Ngwaru pharmacy)

could obtain all the software, hardware requirements such as the operating system, monitor,

mouse, processor, RAM and bar code reader, also the equipment such as furniture,

technology (know-how of the system) and personnel to develop the system and operate the

system efficiently. All this have been made successful and proved as being possible to be

10
Peter j chiyanja chivi online clinic system

done and achieved.

Schedule feasibility
Calculations as estimations have been done to find out how long the system will take to

develop, considering the desired time frame which is about two weeks.

Social feasibility
The social feasibility will help me to assess if the system will be acceptable by the local

people, considering their values or norms in the society. It involves testing if the people

accept the new system. The society here includes the workers of the company since they are

the first people to be tested on the new system. If members of the community do not accept

the change this means, there will be need to convert back to the old system. Therefore if the

system is acceptable then I will proceeds with the implementation of the new system.

Legal feasibility
A legal feasibility would be carried out to determine whether the new system will not violet

the legal requirements of the state, for instance, laws outlined in the data protection Act.

Therefore the pharmacy would use the system if there are no rules violated.

Operational feasibility
A study as operational feasibility will help in confirming whether the current work practices

and procedures are adequate to support the system for effect on social lives of those affected

by the system. Under this feasibility I will also be concerned with social factor such as how

11
Peter j chiyanja chivi online clinic system

the organization change will affect the working lives of those affected by the system.

Therefore the system must not be violating to the requirements of the operational feasibility.

REQUIREMENTS SPECIFICATION

User requirements
The Ngwaru pharmacy will require two system users that are shopkeeper and manager.

Software requirements
An operating system of windows 7 is required for each user.

A temporary storage RAMS of 256Mband a computer software memory of 80 GB for each

user.

Total security as antivirus for protection against virus attacks.

VB.Net 2010 for designing the program.

Operating system Windows 8.

Microsoft access 2010 creating the documentation.

Hardware requirements
256 RAM is need

A processor (Pentium IV processor)

Bar code reader

Printer for producing hard copies.

12
Peter j chiyanja chivi online clinic system

AIMS AND OBJECTIVES

Aims

These are long term objectives that the system needs to archive:

The main aim of the Ngwaru pharmacy is to change current manual driven system into a

computerized system that is more efficient and easy, reducing voluminous work. Introducing

the system will help in reducing arithmetical errors which cause total confusion in the

company and this aim to be accomplished? The pharmacy is at providing a wide range of

medication that will be kept in and updated where deduction or updates should be made.

Objectives
These are short term purposes that the system needs to archive:

Ngwaru pharmacy wish to achieve better system which is fast and serves customers quickly.

Security measures are to be improved thereby keeping in watch of any theft or vulnerability

that may occur and if customers are taken care of.

EVIDENCE THAT THE RESEARCH HAS BEEN

CARRIED OUT

I carry the research the company. I give the seller of the company some question to answer.

Some of the questions are shown at the appendices, at the top of this book lat. I also use

interview guide to observe the data. The evidence is shown again on the appendices.

13
Peter j chiyanja chivi online clinic system

SECTION B
Consideration Of The Alternative Methods

Introduction
I have chosen one solution from three possible solutions that l had for system

development.

The three solutions are:

a) Improving the current manual system

b) Off the shelf package

c) Bespoke software

Possible solutions
a) Improving the current manual system

This involve the removal of some features on the current system or / and addition of some of

the computer related features to improve the current system.

14
Peter j chiyanja chivi online clinic system

Advantages
1. It is less expensive since few stationery is needed to be used.

2. Better results are reduced.

3. It reduces time taken to carry out calculations and tiresome tasks are reduced.

4. It improves pile security

Disadvantages
1. There is need for training users of the system which might be an extra cost to the

organization.

2. Paperwork is not eliminated.

3. Current users might be dismissed due to lack of some skills and qualifications.

system may not function well hence a cost to the organization.

4. Workers may resist the implementation of the system which leads to failure of

computerization.

Off the Shelf package


It involves the purchasing of a ready-made software package from a software supplier and

installs it right away.

Advantages
1. Paperwork is reduced

2. Efficient backups are introduced

3. Information is made available quickly

15
Peter j chiyanja chivi online clinic system

4. The software package can be installed right away.

5. Training may be provided from different providers of common software for free.

6. The software can be integrated with the existing software.

7. User can consult other users of the software to hear their views before sending money.

8. The software is well documented.

Disadvantages
1. The software is expensive to buy.

2. The software may contain a lot of unwanted features.

3. Some training may be required which is an expense to the organization.

Chosen solution

Bespoke software
It includes the hiring of an expert to design software that best suits the user’s request.

In this case l will be designing the system by myself.

Advantages
1. Results in reduced duplication of effort.

2. Paperwork is reduced since information is stored on disk.

3. Adios reports are easily provided.

4. Searching facilities are provided.

16
Peter j chiyanja chivi online clinic system

5. The software to be produced has no unwanted features.

6. Master files are easily updated and efficient backups are provided.

7. Better securities are provided.

8. The software is made according to the user’s specifications.

9. The software can be designed to run on any specified hardware.

10. The software can be integrated with the existing software

Disadvantages
1. High possibility of data loss.

2. High chances of the system of suffering from bugs.

3. It is expensive to develop own software.

4. The software is not tried and tested.

5. The software is not well documented.

Reasons for choosing bespoke software


1. I have chosen the bespoke because it provides me with many benefits which enable the

system which I will work to be great.

2. Another idea which provokes me to choose it is that bespoke is upgraded software and it is

easy to edit and update rather than other software.

3. Bespoke software provides the system with much easy software.

4. The software have unlimited features which enable me to perform many different tasks that

I need to do.

17
Peter j chiyanja chivi online clinic system

5. The bespoke software provides me better security since the hired export installs everything

that he thinks will keep me safe and protected.

6. The software is made according to my user`s specification.

7. The bespoke software is designed to run on specification hardware.

8. The system provides searching facilities.

18
Peter j chiyanja chivi online clinic system

INPUT DESIGN

Data capture forms

Stock
Chemical name :

Chemical id :

Type :

Stock left :

Date purchased :

Expiry date :

Supplier :
search
Supplier id :

Price :
add save delete next

back exit clear previous

19
Peter j chiyanja chivi online clinic system

Supplier
Supplier name :

Supplier id :

Chemical name :

Chemical id :

Expiry date :
search
date :
add
save delete next

back exit clear previous

20
Peter j chiyanja chivi online clinic system

Chemical sales
Chemical name :

Chemical id :

price :

email :

date :

customer name :

contact :
search
address :

add save delete next

back exit clear previous

21
Peter j chiyanja chivi online clinic system

Stock
Chemical name :

Chemical id :

Expiry date :
search
Date purchased :

add save delete next

back exit clear previous

22
Peter j chiyanja chivi online clinic system

Log in
Username :
Password :

exit ok clear

Main menu Design

Ngwaru pharmacy
Management system
statistics

sale

stock

New stock

Supplier

exit

Screen layouts

23
Peter j chiyanja chivi online clinic system

Input forms

Log in form

Main menu

Stock form

24
Peter j chiyanja chivi online clinic system

Chemicals form

New stock form

25
Peter j chiyanja chivi online clinic system

Supplier form

26
Peter j chiyanja chivi online clinic system

File design

Involves designing tables/files, records and validation rules. It also involves determining

how data is to be stored and accessed, the media to be used for storage and the

mode of file organization.

Sale chemical file

FIELD DATA FIEL FORMA VALIDATI EXAMPLE


NAME TYPE D T ON
SIZE
CUSTOM TEXT 13 ALPHABETIC
CHARACTER
MUST ASENSIO
CONTAIN
ER NAME S ALPHABETIC
CHARACTERS
ONLY

CUSTOM NUMBER 4 NUMERIC


CHARACTER
MUST
5788
CONTAIN
ER ID S
NUMERIC
CHARACTERS
ONLY

DATE DATE 10 DATE/TIME


CHARACTER
MUST 14/10/2019
CONTAIN
S
DATE/TIME
CHARACTERS
ONLY

CHEMICA NUMBER 4 NUMERIC


CHARACTER
MUST
4788
CONTAIN
L ID S
NUMERIC
CHARACTERS
ONLY

27
Peter j chiyanja chivi online clinic system

CONTACT NUMBE 10 NUMERIC MUST 0779843964


CHARACTER
CONTAIN
R S
NUMERIC
CHARACTERS
ONLY

ADDRESS 20 3071
ALPHANUMERIC ALPHANUMERIC MUST
CHARACTERS
CONTAIN MUMVEVA
ALPHANUMERI ST
C
MASVINGO
CHARACTERS
ONLY

EMAIL 15
ALPHANUMERIC ALPHANUMER MUST [email protected]
IC M
CONTAIN
CHARACTERS
ALPHANUMERI
C
CHARACTERS
ONLY

CHEMICA TEXT 13 ALPHABETIC


CHARACTER
MUST
PANAD
CONTAIN
L NAME S
ALPHABETIC O
CHARACTERS
ONLY

PRICE CURRENC 7 CURRENCY


CHARACTER
MUST
$76.99
Y CONTAIN
S
CURRENCY
CHARACTERS
ONLY

Search stock file

FIELD DATA FIEL FORMAT VALIDAI EXAMPLE

NAME TYPE D ON
SIZE

28
Peter j chiyanja chivi online clinic system

CHEMIC TEXT 13 ALPHABETIC MUST PANADO


CHARACTERS CONTAIN
AL ALPHABETI
C
NAME CHARACTE
RS ONLY

SUPPLIE TEXT 13 ALPHABETIC MUST TYNASH


CHARACTERS CONTAIN
R ALPHABETI
C
CHARACTE
RS ONLY

DATE DATE 10 DATE/TIME MUST 21/12/2008


CHARACTERS CONTAIN
PURCHASE
DATE/TIME
D CHARACTE
RS ONLY

EXPIRY DATE 10 DATE/TIME MUST 31/09/2019


CHARACTERS CONTAIN
DATE DATE/TIME
CHARACTE
RS ONLY

TYPE TEXT 8 ALPHABETIC MUST


SYRUP
CHARACTERS CONTAIN
ALPHABETI
C
CHARACTE
RS ONLY

CHEMICA NUMBE 3 NUMERIC MUST


2347
CHARACTERS CONTAIN
L ID R
NUMERIC
CHARACTE
RS ONLY

PRICE CURREN 7 CURRENCY MUST $232.97


CHARACTERS CONTAIN
CY
CURRENCY

29
Peter j chiyanja chivi online clinic system

CHARACTE
RS ONLY

STOCK NUMBE 8 NUMERIC MUST


345
CHARACTERS CONTAIN
R
LEFT NUMERIC
CHARACTE
RS ONLY

Supplier file

FIELD DATA FIELD FORM VALIDATIO EXAMPLE


NAME TYPE SIZE AT N

SUPPLIER TEXT 13 MUST CASEMIRO


ALPHABETIC
CHARACTER
CONTAIN
NAME S
ALPHABETI
C
CHARACTER
S ONLY

SUPPLIER NUMBER 4 NUMERIC


CHARACTER
MUST
3454
CONTAIN
ID S
NUMERIC
CHARACTER
S ONLY

CHEMICA NUMBER 4 NUMERIC


CHARACTER
MUST
6676
CONTAIN
L ID S
NUMERIC
CHARACTER
S ONLY

DATE DATE 10 MUST 02/09/2019


DATE/TIME
CHARACTER
CONTAIN
S
DATE/TIME
CHARACTER
S ONLY

30
Peter j chiyanja chivi online clinic system

EXPIRY DATE 10 MUST 14/11/202


DATE/TIME
CHARACTER
CONTAIN
S 2
DATE DATE/TIME
CHARACTER
S ONLY

File linkages

31
Peter j chiyanja chivi online clinic system

Overall plan

32
Peter j chiyanja chivi online clinic system

Output design

Products reports

The product report register shows the list of product that has been registered. It consists of the

code, stock name, supplier code, supplier code, cost price, On Hand Qty.

Sales reports

33
Peter j chiyanja chivi online clinic system

This is the report which shows the product been sold. It consists of product name, sold QTY,

selling price, total sales, Trans NO., Trans date.

TEST PLAN

a. Testing for the goods received voucher

If you enter the wrong details then the dialog box will told you that you are entered the wrong

details.

b. Testing of how will add the suppliers

If you end a string instead of an integer then a dialog box should warn you on what is

supposed to be done

c. Testing on how to exit the supplier registration form

If you want to exit the system will ask you “are you sure you want to exit” if you are then

click “yes”

d. Testing for the products supplied by the supplier

If you enter the wrong product code the system will told you that, the product you rare

search for is not there.

34
Peter j chiyanja chivi online clinic system

Section c
Software development

TECHNIC THAT IMPROVES THE

STRUCTURE, APPEARANCE CLARITY OF

THE CODE THAT IS :

Procedures
'CALLING THE clear PROCEDURE TO CLEAR ALL THE TEXTBOXES IN THE GROUPBOX1

clear(GroupBox1)

txtProdCode.Focus()

lblSupName.Text = ""

Functions

'Function to calculate the Order Number

Function LoadOrderNum() As Integer

connection()

conn.Open()

MyDataTbl = New DataTable

MyDatAdp = New OleDb.OleDbDataAdapter("Select * from Orders Order by orderID Asc", conn)

MyCmBld = New OleDb.OleDbCommandBuilder(MyDatAdp)

35
Peter j chiyanja chivi online clinic system

MyDatAdp.Fill(MyDataTbl)

Dim x As Integer = 0

Dim c As Integer = MyDataTbl.Rows.Count

If MyDataTbl.Rows.Count <> 0 Then

x = MyDataTbl.Rows(c - 1).Item(6)

End If

Scope of variables

Local Variable

Module Connect

Public found As Boolean

Public conn As New OleDb.OleDbConnection

Public da As OleDb.OleDbDataAdapter

Public MyDatAdp As OleDb.OleDbDataAdapter

Public MyCmBld As OleDb.OleDbCommandBuilder

Public MyDataTbl As New DataTable

Public ds As New DataSet

Public sql, ser As String

Public db As String

Public x, c As Integer

Public bm As BindingManagerBase

Global Variable

Public Sub connection()

conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Database\

POS.mdb"

Page 38 of 53

End Sub The public sub is used in the connection and it is also used in the clearing of group.

Public Sub clear(grp As GroupBox)

Dim a As Control

For Each a In grp.Controls

36
Peter j chiyanja chivi online clinic system

If TypeOf (a) Is TextBox Then

a.Text = Nothing

End If

Next

End Sub

Comments
'ASSIGNING VALUES TO THE FIELDS FROM THE TEXTBOXES

With Myrow

.Item(0) = txtProdCode.Text

.Item(1) = txtProdName.Text

.Item(2) = txtQty.Text

.Item(3) = CDbl(txtCostPrice.Text)

.Item(4) = CDbl(txtTotal.Text)

.Item(5) = lblSupName.Text

.Item(6) = lblOrderNum.Text

.Item(7) = FormatDateTime(Date.Now, DateFormat.ShortDate)

.Item(8) = "NOT PROCESSED"

End With

'ADD THE ROW TO THE TABLE IN VB

MyDataTbl.Rows.Add(Myrow)

'UPDATING THE ACCESS DATABASE

MyDatAdp.Update(MyDataTbl)

'CLEARING THE ADAPTER AND THE VB TABLE AND CLOSING THE CONNECTION

MyDatAdp = Nothing

MyDataTbl.Clear()

conn.Close()

Blank Lines
Private Sub txtSupCode_KeyPress(sender As Object, e As KeyPressEventArgs) Handles

txtSupCode.KeyPress

If Not (Char.IsDigit(e.KeyChar) Or Char.IsControl(e.KeyChar)) Then

Page 39 of 53

37
Peter j chiyanja chivi online clinic system

e.Handled = True

MsgBox("This field allows figures ONLY!!", vbExclamation)

End If

End Sub

Private Sub txtProdCode_Validating(sender As Object, e As System.ComponentModel.CancelEventArgs) Handles

txtProdCode.Validating

If txtProdCode.Text = "" Then

Exit Sub

End If

If txtSupCode.Text = "" Then

Exit Sub

Identation
Private Sub txtProdCode_KeyPress(sender As Object, e As KeyPressEventArgs) Handles

txtProdCode.KeyPress

If Not (Char.IsDigit(e.KeyChar) Or Char.IsControl(e.KeyChar)) Then

e.Handled = True

MsgBox("This field allows figures ONLY!!", vbExclamation)

End If

End Sub

Technical documentation

pseudocodes

PSEUDOCODE OF THE new stock MODULE

38
Peter j chiyanja chivi online clinic system

START

ENTER Chemical Name

ENTER Chemical ID

ENTER Expiry Date

ENTER Date Purchased

ENTER Price

END

IF ADD NEW STOCK = TRUE THEN

REPEAT ENTERING NEW STOCK DETAILS

ELSE

STOP

PSEUDOCODE OF THE SUPPLIER MODULE


START

ENTER Supplier Name

ENTER Supplier ID

ENTER Chemical ID

ENTER Date

ENTER Expiry Date

END

IF ADD SUPPLIER =TRUE THEN

REPEAT ENTERING SUPPLIER DETAILS

ELSE

STOP

39
Peter j chiyanja chivi online clinic system

Flowcharts

Symbol Meaning

Terminator

Process

Input of Data

Display

Decision to be executed

Data flow

The flow chart of the NEW STOCK

START
40
Peter j chiyanja chivi online clinic system

Chemical name

Chemical id

Expiry date

Date purchased

price

yes
Add up

no

stop

flow chart of the suppliers

41
Peter j chiyanja chivi online clinic system

start

Supplier name

Supplier id

Chemical id

Date

expiry Date

Yes

Add up

no

stop

42
Peter j chiyanja chivi online clinic system

USER DOCUMENTATION

Installation

Load the system in the CD Drive, copy the folder “Database” and Paste the database in the

local dick C. take the application put it at the desktop click the install and the system will be

installed.

43
Peter j chiyanja chivi online clinic system

44
Peter j chiyanja chivi online clinic system

45
Peter j chiyanja chivi online clinic system

Running the system

USERNAME PASSWORD

46
Peter j chiyanja chivi online clinic system

Tinashe Ngwaru Makomborero

On the log in form enter the correct password. After entering the correct password the user

will gain access to the main menu of the Pharmacy management System. It is the main menu

which gives the user access to all other modules of the system. If the user wants to add a new

Supplier to the database, he/she clicks and click the SUPPLIER button. Also if he/she wants

to add New Stock he just do the same as the Supplier.

Navigation

The main menu is the one which gives the user access to all other modules of the system. If

the user wants to add a new supplier to the database, he/she clicks the supplier button then

goes to supplier. If the user wants to add new stock he /she click the register button then go to

stock. Also if he /she want to cheek the stock in the system he/she click the stock button and

search.

Exiting the System

On the main menu, the user can click EXIT button to exit the systems menu, but the system

will be still running. To completely exit the system, the user must click EXIT button on LOG

IN form.

47
Peter j chiyanja chivi online clinic system

Section d
Testing and evaluation

User Testing

Standard testing

Testing on whether the New Stock has been successfully added.

48
Peter j chiyanja chivi online clinic system

Abnormal Testing

This is when testing if the Chemical ID code can be used by two Chemicals.

49
Peter j chiyanja chivi online clinic system

Extreme testing

This is the maximum number of characters which is accepted by the system to process. If you

enter the number when the program is stopped then the dial log box will appear.

50
Peter j chiyanja chivi online clinic system

EVALUATION limitations OF THE SYSTEM


Achievements

To develop a system that is user friendly. To develop a system with a backup measures. To

develop a system with the security secures data from authorized users. Also to reduce the

working hours. First generation reports.

51
Peter j chiyanja chivi online clinic system

Weaknesses

The system might be expensive for the individual to start since the system requires the

analysts to develop the system, to buy the equipment’s needed for the development of the

system. It is difficult to the person how sales the medicines, so he or she might need to be

trained.

Opportunity

The system must be linked to the bank and the buyers can buy using the bank account to

transfer money, and it will no longer be necessary to bring the slip of the bank transfer. The

system will also be linked with Eco cash currently being used by many in our country.

52
Peter j chiyanja chivi online clinic system

53
Peter j chiyanja chivi online clinic system

54

You might also like