Professional Documents
Culture Documents
Chapter Zubina
Chapter Zubina
Chapter Zubina
INTRODUCTION
system (DBMS).
properly maintain its database which often largely and complex. The
1
The database development life cycle start with requirement specification
for the database and end with the support and maintenance after its
a small business varies widely around the world. Small businesses are
under the Australian fair work act 2009, 50 employee to qualify for many
where over 18,000 small businesses with over 500 employees that
accounted for half of all the employees employed by all small scale
2
1.1 Statement of the Problems
business; they must work on their marketing activities every day. The
The aim of the study is to design and develop a database for small scale
business in Jimeta metropolitan city Yola with the integrity and capacity
to handle all data in an effective manner, store and protect the data. This
includes;
3
Ease in operation of the administrative process of small scale
business
The business information system design for small and medium enterprise
4
information system requirements and recommendation, the appropriate
SMES in northern Uganda. The study establishes among other things: the
of the strategy to facilitate access to the BIS there should be the adoption
telephone service, fax service and in back personal service, there should
acquisition of business information from both the micro and macro levels.
listed below:
5
Time Frame: there is limited time to carry out a detailed research
6
CHAPTER 2
REVIEW OF RELATED LITERATURE
2.0 Introduction
2.1 Database
the Caribbean still use manual database to store a lot of their data. This
method has been in use for a long time and works well for small amounts
of data. However, once the volume of data starts to increase it can present
slow.
7
Information cannot be accessed from a remade site.
stock record
personnel record
customer record
accounts and
Mailing list
Features of Database
Create and maintain (add, and revise records) a database.
Extract and list all records or only those records that meet certain
conditions.
Make an enquiry.
Sort record in ascending or descending order by primary,
secondary and tertiary fields.
Generate formatted reports with sub-totals and total.
Meaning a database
Meaning a database primarily involves the following six tasks
Add new data to the database
Sort the database into some meaningful order
Search the database for types of information
Print data from our database onto formatted reports
Edit data on the database
8
Delete data from the database.
Advantages of Database
Reduce the amount of data duplication which occurs using
conventional files structures.
Provide fast and flexible access information.
Improves consistency of data stored.
Provides both data and program independence.
Encourages integration of functional areas in an organization.
Avoid duplicating input data to update multiple functionally
independent files holding the same data.
Reduces processing retrospective changes.
Disadvantages of Database
Takes a long design and implement.
Cost more than conventional systems.
Require high calibre, experienced and specialized personnel.
Require expense hardware and software.
Recovery is more difficult in case of damage.
9
2000 database package, which is another application in the Microsoft
thesaurus among others but today most manual database have been
to particular forms of 1 student in the first drawer of one cabinet, she find
10
To find information about a student, the principal opens the drawer, and
select the appropriate folder and reads through the documents in the one
by one until he/she finds what he/she want. If the folder contains a lot of
cabinet
Form 1
Form 1 Form 1
student Some folders in the first draw
Parent Performance
Student Folder1Folder2Folder3
1 Some information extracted from folder1
Each row holds a record and each column represents a unique field.
11
Field is an area reserved for each piece of individual data (each
data item) such as student no, surname, first name, date of birth.
e.t.c.
representation at the data that allows the relationship between the data to
implementation of the structures. Biddle (1998) states that the data into
relational database model was created in 1990 by Dr. E.F. Codd, at IBM.
Edgar Codd who worked at IBM in San Jose, California, in one of their
disk systems. He was unhappy with the navigational model at the codasyl
12
new approach to database construction that eventually committed in the
sets, DBMS have more recently emerged as a fairly standard part of any
13
networking support although nowadays these functions are left the
operating system.
controls the organization, storage and retrieve of data (fields, record and
are:
hostel in the DBMS, according to the DBMS data model. The three
one, two or all three methods. List and other methods are also used.
transaction rate and the number of inquiries that will be model. The
dominant model in use today is the ad, hoc one embedded in SQL,
fundamental principles.
14
3. A database query language and report writer to allow users to
“subschema”).
multiuser organization.
The DBMS can maintain the integrity of the database by not allowing
more than one users to update the same record at the same time. The
DBMS can keep duplicate records out of the database, for example, no
15
two customers with the same customer numbers (key fields) can be
The DBMS accepts request for data from the application program and
existing system.
processing and then move the detail onto another computer that uses
another DBMS better suited for random inquiries and analysis. (Davidson
1999).
by the European union, and fewer than 500 employees to qualify for
16
there were over 18,000 small “business” with over 500 employees that
17
wages below $50,000 qualifies for a tax credit under the health care
3. The European Union generally defines small business as one that has
is defined by the fair works act 2009 a one with fewer than fifteen
business has less than five Hundred (500) employees in the U.S, and
The small scale industry form the backbone of the nation and become
phenomena and the important of the small scale industry and thus
provides you the perfect business solution for your area of interest. The
economic development of the nation. Shokan O.O (1997) when the pride
of brand named is at stake than the best way to insure your business-
18
The following are part of the solution that is provided:
semi-skilled and the un-skilled people. This will help you to check
out a perfect plan to improve your weal areas and take your
with the proper capital management tool that will service you the
obligatory purpose.
19
CHAPTER 3
METHODOLOGY
3.0 Introduction
a. Design and
In the course of this research, secondary method was used for the
database for small scale business within Jimeta metropolitan city Yola
For the purpose of this write up, our research carry out from Yakubu
shopping Plaza Jimeta city Yola, constitute the population size to be used.
20
3.3 Application
This contains the brief description of the procedures and functions that is
how the program is to be developed and stating what the program will do
Using table and forms ended at designing was that, design was prepared
21
designers have filled the expectation design, the observer will now use
i. Windows 7
will work and then designing and realizing such functions. System
analyst is mainly concerned with the proper study of the current system
for redesigning the system for improved performance. During this phase,
22
link between the business owners and the customers, resulting in to delay
small scale business owners with features that will enhance a direct link
This is not a very good idea as it leads to failures which the designers
23
CHAPTER 4
SYSTEM DOCUMENTATION AND IMPLEMENTATION
design model and the complete set of source code has been compile
which also its usage in every computer system that support the use of this
which will enable the user to operate the package without much
difficulties.
presented at the design stage are turn into a developed and ready to use
system. It is concern with interpreting the design and putting it into use.
from the user existing manual system into computer base system. The
stage involves giving appropriate training to those that would operate the
24
This program is specially design to be use within Jimeta Metropolis but
can be used by other places that wants to convert their system into
computer base.
25
4.3 User Manual
User manual allows the system usage in a proper way and provide
guides on how to operate the system
There is need to test the system to ensure that it works as planned. System
testing, or test run entails eliminating mistakes or error caused by faulty
logic, referred to as which prevent the program from running and
producing correct result. The process is known as debugging.
26
This program should not be operated without first opening the main menu
and picking the right option if this is not done the program may crash or
give a wrong result.
The program is safely kept in 700mb 180mn C D ROM.This will allow other
programmers who are interested in the program to further develop it. To
install the program below are the procedures to be follow:
27
CHAPTER 5
SUMMARY, CONCLUSION AND RECOMMENDATION
5.0 Introduction
the research topic from chapter one (1) to chapter four (4).
database for small scale business as a tool for fraud prevention. (A case
5.1 Summary
small scale business was studied and undertaken. After examining the
the various problems faced by the Jimeta metropolitan city, during the
system for small business with integrity and capacity to handle all
28
study gave justified reasons on the internet as a tool for the processing of
online marketing and also for feedback. The work is confined to the use
5.2 Conclusion
Sequel to the research made throughout this work, we perceived that the
are done on the internet. Also web applications are really improving other
research development.
Finally after all these, a fully working data driven online marketing
5.3 Recommendations
recommended that XML and java PHP be used in the next upgrade in
29
3. Microsoft access was used to create the database. I recommend that
security.
30
REFERENCE
31
APENDIX (Pseudo Code)
4.3.1 Welcome Form
Private Sub Timer1_Timer()
frmLogin.Show
Unload Me
End Sub
4.3.2 Login Form
Private Sub cmdCancel_Click()
Dim Msg As String
Msg = MsgBox("Are You Sure?", vbYesNo + vbQuestion, "Quit")
If Msg = vbYes Then
End
End If
End Sub
Private Sub cmdOK_Click()
If txtPassword.Text = "ADMIN" And txtUserName.Text = "ADMIN"
Then
Unload Me
MDIForm1.Show
Else
MsgBox "Invalid Login Information, try again!",vbCritical, "Login"
txtPassword.Text = ""
txtUserName.Text = ""
txtUserName.SetFocus
End If
End Sub
4.3.3 Menu Form
32
Private Sub exit_Click()
Dim MsgAs String
Msg = MsgBox("Are You Sure?", vbYesNo + vbQuestion, "Quit")
If Msg = vbYes Then
End
End If
End Sub
Private Sub fgghuu_Click()
MsgBox "This Program was Design by Adamawa State Polytechnic
Student as Project Under the Supervision of MallamAliyuAbubakar, for
Computer Science Department", vbInformation, "Details"
End Sub
Private Sub regul_Click()
Form1.Show
End Sub
Private Sub Sales_Click()
Form2.Show
End Sub
Private Sub Salesrep_Click()
Form3.Show
End Sub
4.3.4 Regular Customer Registration Form
Private Sub Command1_Click()
Data1.DatabaseName = App.Path& "/DATA.MDB"
Data1.RecordSource = "REG"
Data1.Refresh
With Data1.Recordset
33
.AddNew
.Fields!id = Text1.Text
.Fields!Name = Text2.Text
.Fields!GENDER = Combo1.Text
.Fields!ADDRESS = Text3.Text
.Fields!OCCUPATION = Text4.Text
.Fields!PHONE = Text5.Text
.Update
End With
MsgBox "Information Saved Successfully", vbInformation, "Save"
Unload Me
Me.Show
End Sub
Private Sub Command2_Click()
Dim a As String
aa = InputBox("Enter Customer ID to Search", "Search")
Data1.DatabaseName = App.Path& "/DATA.MDB"
Data1.RecordSource = "REG"
Data1.Refresh
Do Until Data1.Recordset.EOF
If Data1.Recordset.Fields!id = aa Then
With Data1.Recordset
Text1.Text = .Fields!id
Text2.Text = .Fields!Name
Combo1.Text = .Fields!GENDER
Text2.Text = .Fields!ADDRESS
Text4.Text = .Fields!OCCUPATION
34
Text5.Text = .Fields!PHONE
Exit Sub
End With
End If
Data1.Recordset.MoveNext
Loop
MsgBox "Customer Not Found Check ID and Try Again",
vbInformation, "Search"
Unload Me
Me.Show
End Sub
Private Sub Command3_Click()
Data1.DatabaseName = App.Path& "/DATA.MDB"
Data1.RecordSource = "REG"
Data1.Refresh
Do Until Data1.Recordset.EOF
If Data1.Recordset.Fields!id = Text1.Text Then
With Data1.Recordset
.Edit
.Fields!id = Text1.Text
.Fields!Name = Text2.Text
.Fields!GENDER = Combo1.Text
.Fields!ADDRESS = Text2.Text
.Fields!OCCUPATION = Text4.Text
.Fields!PHONE = Text5.Text
.Update
End With
35
End If
Data1.Recordset.MoveNext
Loop
MsgBox "Information Updated Successfully", vbInformation, "Update"
Unload Me
Me.Show
End Sub
Private Sub Command4_Click()
Data1.DatabaseName = App.Path& "/DATA.MDB"
Data1.RecordSource = "REG"
Data1.Refresh
Do Until Data1.Recordset.EOF
If Data1.Recordset.Fields!id = Text1.Text Then
With Data1.Recordset
.Delete
End With
End If
Data1.Recordset.MoveNext
Loop
MsgBox "Information Deleted Successfully", information, "Deleted"
Unload Me
Me.Show
End Sub
Private Sub Command5_Click ()
Unload Me
End Sub
Private Sub Text2_KeyPress (KeyAscii as Integer)
36
Dim ALPHA, SPACE, BACK As Boolean
ALPHA = KeyAscii>= vbKeyA And KeyAscii<= vbKeyZ Or
KeyAscii>= Asc("a") And KeyAscii<= Asc("z")
SPACE = KeyAscii = vbKeySpace
BACK = KeyAscii = vbKeyBack
If enter Then
If Trim(Text2) = "" Then
Text2.SetFocus
Exit Sub
End If
Text2.SetFocus
ElseIf Not (ALPHA Or SPACE Or BACK) Then
KeyAscii = 0
End If
End Sub
4.3.5 Sales Form
Private Sub Command1_Click()
Data1.DatabaseName = App.Path& "/DATA.MDB"
Data1.RecordSource = "INCOME"
Data1.Refresh
Do Until Data1.Recordset.EOF
If Data1.Recordset.Fields![Date] = Label1.Caption Then
With Data1.Recordset
.Edit
.Fields![Date] = Label1.Caption
.Fields!AMOUNT = Val(Label3.Caption) + Val(Label17.Caption)
.Update
37
Unload Me
Me.Show
Exit Sub
End With
End If
Data1.Recordset.MoveNext
Loop
Data1.Refresh
With Data1.Recordset
.AddNew
.Fields![Date] = Label1.Caption
.Fields!AMOUNT = Label17.Caption
.Update
End With
Unload Me
Me.Show
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Form_Load()
Label1.Caption = Format(Now, "dd/mm/yyyy")
Me.Width = 10590
Me.Height = 7020
Option1.Value = 1
Data1.DatabaseName = App.Path& "/DATA.MDB"
Data1.RecordSource = "INCOME"
38
Data1.Refresh
Do Until Data1.Recordset.EOF
If Data1.Recordset.Fields![Date] = Label1.Caption Then
With Data1.Recordset
Label3.Caption = .Fields!AMOUNT
Exit Sub
End With
End If
Data1.Recordset.MoveNext
Loop
Label3.Caption = "0"
End Sub
Private Sub Option1_Click()
If Option1.Value = True Then
Label19.Caption = "NOT A REGULAR CUSTOMER THERE IS NO
DISCOUNT"
End If
End Sub
Private Sub Option2_Click()
Dim aa As String
aa = InputBox("ENTER CUSTOMER ID TO CONFIRM",
"CONFIRMING")
Data1.DatabaseName = App.Path& "/DATA.MDB"
Data1.RecordSource = "REG"
Data1.Refresh
Do Until Data1.Recordset.EOF
If Data1.Recordset.Fields!id = aa Then
39
With Data1.Recordset
Label19.Caption = .Fields!Name& " IS A REGULAR CUSTOMER
HERE"
Exit Sub
End With
End If
Data1.Recordset.MoveNext
Loop
MsgBox "Customer Not Found Check ID and Try Again",
vbInformation, "Search"
Option1.Value = True
End Sub
Private Sub Text1_Change()
Label13.Caption = Val(Text1.Text) + Val(Text2.Text) + Val(Text3.Text)
+ Val(Text4.Text) + Val(Text5.Text) + Val(Text6.Text) +
Val(Text7.Text) + Val(Text8.Text)
If Option1.Value = True Then
Label17.Caption = Label13.Caption
End If
If Option2.Value = True Then
Label14.Caption = Label13.Caption / 10
Label17.Caption = Val(Label13.Caption) - Val(Label14.Caption)
End If
End Sub
Private Sub Text1_KeyPress(KeyAscii As Integer)
Dim ALPHA, SPACE, BACK As Boolean
ALPHA = KeyAscii>= vbKey0 And KeyAscii<= vbKey9 Or
KeyAscii>= Asc("0") And KeyAscii<= Asc("9")
SPACE = KeyAscii = vbKeySpace
40
BACK = KeyAscii = vbKeyBack
If enter Then
If Trim(Text1) = "" Then
Text1.SetFocus
Exit Sub
End If
Text2.SetFocus
ElseIf Not (ALPHA Or BACK) Then
KeyAscii = 0
End If
End sub
Private Sub Timer1_Timer()
Label2.Caption = Format(Now, "hh:mm:ss")
End Sub
4.3.6 Report Form
Private Sub Command1_Click()
Form3.PrintForm
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Option1_Click()
Adodc1.RecordSource = "SELECT*FROM INCOME;"
Adodc1.Refresh
End Sub
41