Professional Documents
Culture Documents
Supermarket Management System
Supermarket Management System
Supermarket Management System
CONTENTS
ANALYSIS
Introduction to the business 7
Problem 7
Specific objectives 7
Working of the existing system 8
Evaluation of existing system 9
Description of the possible solutions 10
Evaluation of the other possible solutions 10
DESIGN
Action plan 14
Description of method of solution 16
Screen layouts 16
Hardware design 30
Software design 31
IMPLEMENTATION
Accurate method of solution 34
Algorithms for addition, deletion, and modification 44
TESTING
Testing strategy 47
Page 1 of 121
GCE ‘O’ Level Computer Studies Course work 2013
DOCUMENTATION
User documentation 71
Technical documentation 84
EVALUATION
Evaluation of the system 111
Future developments 112
Page 2 of 121
GCE ‘O’ Level Computer Studies Course work 2013
My topic
My topic is to computerize the minimart Elbian.
Why I chosen
The minimart Elbian is one of the most famous Super markets in Fuvahmulah.
Many customers visit the Elbian for shopping. There are totally four staffs in
Elbian. So I believe if the supermarket is computerized, customers as well as
the management will be benefited. Also I hope that this could improve the
economy of the city.
Page 3 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 4 of 121
GCE ‘O’ Level Computer Studies Course work 2013
The Problem
The Elbian maintains a record of all of its customers and their products in
a manual filling system .Using that they create their Daily Sales Report and
the other reports of the company.
Since this is a manual system many errors have been detected from the
Elbian’s reports.
Specific Objectives
The minimart Elbian is going to computerize in order to:
❖ Create and maintain a database of its customers, transactions…etc
❖ Provide search conditions with options of adding, deleting and modifying
the data.
❖ Update the data about the quantity in hand when an item is sold.
❖ create the reports of Elbian‘s Daily Sales Report and yearly report
automatically.
❖ Reduce the labor cost by reducing the number of employee.
Page 5 of 121
GCE ‘O’ Level Computer Studies Course work 2013
❖ To avoid paper works. Like the customer records and daily sales report
file.
❖ Avoid the repetition of works in order to make the job interesting for
the staffs.
Page 6 of 121
GCE ‘O’ Level Computer Studies Course work 2013
(Daily Sales Report) is sent to the manager who is living in the capital of
Maldives-Male’ by post. The original copy is filed in another file.
Monthly and Yearly Reports are also created using the same method
but totaling the daily sales report.
Every month they count in the Transaction Record to find amount sold in
each and every item and they subtract from the amount in hand. If any of
these items are found to be out of stock an “order form” is created and sent
to that particular supplier.
❖ ADVANTAGES
● Using the manual system there is no possibility of misusing the data.
● This system can give jobs for many people.
Page 7 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 8 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Disadvantages
▪ Each staff needs to be paid monthly.
▪ The staffs also may do some mistakes.
Disadvantages
▪ The counters will take up more space.
▪ A staff needs to be at each counter and these staffs needs to be
paid.
Disadvantages
▪ If the telephone line breaks there is no way of sending orders…etc.
▪ The telephone line must be paid.
➔ Computerization
Advantages
▪ Create and maintain forms and data bases automatically.
Page 9 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Disadvantages
▪ It relies on electricity.
▪ Installing the computer requires a grueling and expensive task
of system analysis and design.
▪ The need to obtain stand by facilities in the event of breakdown of
any computerized systems.
Page 10 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 11 of 121
GCE ‘O’ Level Computer Studies Course work 2013
AC
TION PLAN
ANALYSIS
Description of the problem 3 1
Objectives 4 1
Page 12 of 121
GCE ‘O’ Level Computer Studies Course work 2013
DESIGN
TASK NO.OF DAYS WEEK
Action plan 7 5
Description of method of solution 21 6, 7 & 8
Hardware 14 9 & 10
Software 14 11 & 12
TOTAL 56 days 8 weeks
IMPLEMENTATION
TASK NO.OF DAYS WEEK
Method of solution 14 9 & 10
Accurate method of solution 14 11 & 12
TOTAL 28 days 4 weeks
TESTING
TASK NO.OF DAYS WEEK
Testing strategy 14 13 & 14
Test results 14 15 & 16
TOTAL 28 days 4 weeks
DOCUMENTATION
TASK NO.OF DAYS WEEK
Technical documentation 14 17 & 18
User documentation 14 19 & 20
TOTAL 28 days 2 weeks
Page 13 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 14 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 15 of 121
GCE ‘O’ Level Computer Studies Course work 2013
1. Customer record
Page 16 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 17 of 121
GCE ‘O’ Level Computer Studies Course work 2013
4. Transaction record
Screen layouts
Page 18 of 121
GCE ‘O’ Level Computer Studies Course work 2013
❖ Main menu
❖ Transaction record
❖ Customer record
❖ Credit customer record
❖ Daily sales record
1. Welcome screen
TITLE
LOGO
COMMAND COMMAND
Page 19 of 121
GCE ‘O’ Level Computer Studies Course work 2013
HEADING
OPTION COMMAND 1
OPTION COMMAND 2
LOGO OPTION COMMAND 3
OPTION COMMAND 4
OPTION COMMAND 5
Page 20 of 121
GCE ‘O’ Level Computer Studies Course work 2013
3. Transaction record
TITLE
LABEL TEXT BOX
TEXT COMMAND
Page 21 of 121
GCE ‘O’ Level Computer Studies Course work 2013
4. Customer record
HEADING
LABEL TEXT
TEXTBOX
BOX
LABEL
LABEL
TEXT COMMAND
Page 22 of 119
GCE ‘O’ Level Computer Studies Course work 2013
HEADING
TEXT
COMMAND
Page 23 of 119
GCE ‘O’ Level Computer Studies Course work 2013
TITLE
L L LABEL LABEL
LABEL
LABE LABE LABEL LABEL
L L LABEL LABEL
LABE LABE
L L
LABE LABE
L L
LABE LABE
Page 24 of 119
GCE ‘O’ Level Computer Studies Course work 2013
L L
Page 24 of 119
GCE ‘O’ Level Computer Studies Course work 2013
REPORT LAYOUTS
1. Credit customer report
DATE
LOGO CREDIT CUSTOMER REPORT TIME
CUSTOMER ID NAME ADDRESS1 COUNTRY E-MAIL AMNT OF ITEM LAST PAID TOTAL
DATE
TIME
2. Customer
NAME SEX CONTACT NO E-MAIL CUSTOMER ID
LOGO CUSTOMER REPORT
19
Page 25 of
GCE ‘O’ Level Computer Studies Course work 2013
DATE
LOGO DAILY SALES REPORT TIME
4. Transaction report
DATE
LOGO TRANSACTION REPORT TIME
Page 26 of 19
GCE ‘O’ Level Computer Studies Course work 2013
Page 27 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 28 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 29 of 121
GCE ‘O’ Level Computer Studies Course work 2013
CREDIT CUSTOMER
RECORD
customer ID
name
address
country
contact no
E-mail
amount of item
last paid
total
CUSTOMER RECORD
name
sex
contact no
E-mail
customer ID
TRANSACTION RECORD
date
item code
customer id
cost
amount
total
Page 30 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Hardware Design
The computer system bought for running the application of Elbian must
have at least the following hardware requirements.
❖ HDD of 40GB
For storing the programs, implicational databases and the other
documents of Elbian 20GB would be sufficient.
❖ SD or DD RAM of 512MB
A RAM of 256MB can run the application in the normal speed.
❖ USB port
A USB port can de used for connecting the Back up device (a USB portable
Hard Disk)
Page 31 of 121
GCE ‘O’ Level Computer Studies Course work 2013
▪ Input Devices.
❖ Scroll Mouse
Since the documents are very large a scroll mouse can be used.
❖ Standard keyboard with 109 keys
This is used for inputting the details.
❖ CD- ROM Drive
To install the soft wares since most of the software’s are now coming in
CDs.
▪ Output Devices
❖ LCD Monitor
A VDU cannot be used because there is not much space to keep it.
Software Design
The computer system bought for running the application of Elbian must
Have at least the following software requirements.
Page 32 of 121
GCE ‘O’ Level Computer Studies Course work 2013
❖ Application Program
Ms Access can be used to build the Application.
Ms Access has all the necessary features needed for
building the application.
Ms Word can be used for documentation. Since it is
good at word processing.
Page 33 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 34 of 121
GCE ‘O’ Level Computer Studies Course work 2013
There are several methods of implementing this new system. One method is
to run both manual and computerized system in the shop. But this method
will cost more money as we have to run both the systems together. So I am
planning to introduce the system directly to the shop as this system is not a
huge one and I have guarantee that this system will work perfectly.
This project consists of six forms and four reports. All of them are shown
below.
1. Welcome screen
Page 35 of 121
GCE ‘O’ Level Computer Studies Course work 2013
2. Main menu
Page 36 of 121
GCE ‘O’ Level Computer Studies Course work 2013
3. Customer record
Page 37 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 38 of 121
GCE ‘O’ Level Computer Studies Course work 2013
5. Transaction record
Page 39 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 40 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 41 of 121
GCE ‘O’ Level Computer Studies Course work 2013
8. Transaction report
Page 42 of 121
GCE ‘O’ Level Computer Studies Course work 2013
9. Customer report
Page 43 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 44 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Addition
Page 45 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Deletion
Open the database
Open the table
Find the record
Delete the record
Update the table
Close the table
Close the database
Modification
Open the
database Open
the table Find the
record Make
changes Update
the table Close
the table Close
the database
Page 46 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 47 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Testing strategy
Page 48 of 121
GCE ‘O’ Level Computer Studies Course work 2013
NAME txt
CUST_ID txt
CONTACT_NO num
SEX txt
E_MAIL txt
Page 49 of 121
GCE ‘O’ Level Computer Studies Course work 2013
CONTACT_NO 7854785
SEX F
E_MAIL Hasna@live.com
Page 50 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 51 of 121
GCE ‘O’ Level Computer Studies Course work 2013
CUST_ID cc-1001
CONTACT_NO okiui
SEX F
E_MAIL Hasna@live.com
For the above data an error should be found. The result is shown below.
Page 52 of 121
GCE ‘O’ Level Computer Studies Course work 2013
In the above field, only numbers will be accepted by the system. When okiui was entered,
system has rejected it because it is not the appropriate data type for that field.
Page 53 of 121
GCE ‘O’ Level Computer Studies Course work 2013
CONTACT_NO 7854785
SEX F
E_MAIL Hasna@live.com
Page 54 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 55 of 121
GCE ‘O’ Level Computer Studies Course work 2013
The system will accept only if four numbers are entered with (cc-).if the
number you entered is less than or more that four numbers, system will
reject it.
Page 56 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 57 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 58 of 121
GCE ‘O’ Level Computer Studies Course work 2013
For Above Data an error should be found in the field amount of item.
The Result Is Shown Below.
Page 59 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Only numbers are accepted by the system for this field. If the data type is
not numbers, it will be rejected.
Page 60 of 121
GCE ‘O’ Level Computer Studies Course work 2013
For Above Data an error should be found in the field amount of item.
The Result Is Shown Below.
Page 61 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 62 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Only four digits are allowed for this field. When 150 were entered, system
has rejected. If a number less than four or more than four is entered, it will be
rejected by the system.
Page 63 of 121
GCE ‘O’ Level Computer Studies Course work 2013
DATA
FIELD
NAME
date date/tim
e
item code txt
cost currenc
y
amount number
total currenc
y
daily sales currenc
y
Page 64 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 65 of 121
GCE ‘O’ Level Computer Studies Course work 2013
In the field amount, only numbers are allowed to enter, as I enter letters, an
error message was appeared.
Page 66 of 121
GCE ‘O’ Level Computer Studies Course work 2013
When this data is entered, an error message should appear asking to enter
a value greater than 0
The result is shown below.
Page 67 of 121
GCE ‘O’ Level Computer Studies Course work 2013
In the field cost, a value greater than 0 should be entered, when I enter -9 an
error message was appeared because it a number less than 0.
Transaction record
FIELD DATA
DATE Date/time
ITEM CODE Number
CUST_ID Txt
COST Currency
AMOUNT Number
TOTAL currency
FIELD DATA
DATE 05/06/09
Page 68 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 69 of 121
GCE ‘O’ Level Computer Studies Course work 2013
FIELD DATA
DATE 05/06/09
ITEM CODE hhh
CUST_ID cc-5896
COST 85
AMOUNT 2
TOTAL 170
Page 70 of 121
GCE ‘O’ Level Computer Studies Course work 2013
An error was shown because numbers should be enters to the field item code.
Page 71 of 121
GCE ‘O’ Level Computer Studies Course work 2013
FIELD DATA
DATE 05/06/09
ITEM CODE 859
CUST_ID cc-589
COST 85
AMOUNT 2
TOTAL 170
The error message was shown because, in the field customer record, four
digits must be entered with CC-. If a value other than that has been entered,
the database will show an error message.
Page 72 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 73 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 74 of 121
GCE ‘O’ Level Computer Studies Course work 2013
USER DOCUMENTATION
This user documentation will guide to get used to this system. This will give
detailed information about installing and running the application.
Installing
If your application is on a CD, insert the CD and copy and paste it to your
desktop. You can use it now.
The GO button is for the opening of MAIN MENU.EXIT button will close the whole application.
Page 75 of 121
GCE ‘O’ Level Computer Studies Course work 2013
When you press the GO button, the main menu screen will appear. From this
you can select the form or the report you want to select.
Page 76 of 121
GCE ‘O’ Level Computer Studies Course work 2013
When you press the button CUSTOMER RECORD another screen (customer
record) will be opened. In this form you will see the details of the customers
of Elbian.
Page 77 of 121
GCE ‘O’ Level Computer Studies Course work 2013
If you find that a record is no longer needed, you can delete the
record from this button.
Directly go to the main menu with out closing the customer record.
If you select CREDIT CUSTOMER RECORD from the main menu, another form
is opened. (Credit customer record form).You can see the details of the credit
customers registered on Elbian.
Page 78 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 79 of 121
GCE ‘O’ Level Computer Studies Course work 2013
If you find that a record is no longer needed, you can delete the
record from this button.
Directly go to the main menu with out closing the customer record.
Page 80 of 121
GCE ‘O’ Level Computer Studies Course work 2013
When you select transaction record from the main menu screen, another
form (Transaction record) is opened.
EXPLANATION OF BUTTONS
Page 81 of 121
GCE ‘O’ Level Computer Studies Course work 2013
If you find that a record is no longer needed, you can delete the
record from this button.
Directly go to the main menu with out closing the customer record.
When the DAILY SALES RECORD from the main menu is selected, daily sales
record form will be opened.
Page 82 of 121
GCE ‘O’ Level Computer Studies Course work 2013
If you find that a record is no longer needed, you can delete the
record from this button.
Directly go to the main menu with out closing the customer record.
The rest in the main menu are all reports. When you select the report you
want, it will be displayed.
There are 4 reports. All are shown below.
Page 83 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 84 of 121
GCE ‘O’ Level Computer Studies Course work 2013
CUSTOMER REPORT
Page 85 of 121
GCE ‘O’ Level Computer Studies Course work 2013
TRANSACTION REPORT
Page 86 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 87 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Technical documentation
Properties
DateCreated: 3/23/2009 6:36:50 PM DefaultView: 2
DisplayViewsOnSharePoint 1 FilterOnLoad: False
GUID: {guid {3E6E0AAE-ADC1- HideNewField: False
460C-9CAA-43C50254CC03}}
LastUpdated: 6/18/2009 3:14:41 PMNameMap: Long binary data
OrderByOn: False OrderByOnLoad: True
Orientation: Left-to-Right RecordCount: 10
TotalsRow: False Updatable: True
Columns
Name Type Size
customer ID Text 255
Name Text 255
Address 1 Text 255
Country Text 255
Contact No Long Integer 4
E mail Text 255
Amount of item Long Integer 4
Last paid Date/Time 8
Total Currency 8
Relationships
Table Indexes
Name Number of Fields
Last paid 1
Fields:
Last paid Ascending
PrimaryKey 1
Fields:
customer ID Ascending
Page 88 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Properties
DateCreated: 4/25/2009 10:16:09 AM DefaultView: 2
DisplayViewsOnSharePoint 1 FilterOnLoad: False
GUID: {guid {65F7E8A1-3075-4C47- HideNewField: False
8F0B-89967EAA21BC}}
LastUpdated: 6/18/2009 2:16:49 PMNameMap: Long binary data
OrderByOn: False OrderByOnLoad: True
Orientation: Left-to-Right RecordCount: 9
TotalsRow: False Updatable: True
Columns
Name Type Size
Name Text 255
Sex Text 255
Contact No Long Integer 4
E-mail Text 255
Cust_id Text 255
Relationships
Table Indexes
Name Number of Fields
Cust_id 1
Fields:
Cust_id Ascending
PrimaryKey 1
Fields:
Page 89 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Cust_id Ascending
H:\albian database.accdb Thursday, June 18, 2009
Table: Customer record Page: 3
H:\albian database.accdb Thursday, June 18, 2009
Table: Daily sales record Page: 4
Properties
DateCreated: 3/23/2009 6:54:00 PM DefaultView: 2
DisplayViewsOnSharePoint 1 FilterOnLoad: False
GUID: {guid {B43B6CFD-18BC- HideNewField: False
4D93-AF88-D9B01830F790}}
LastUpdated: 6/18/2009 4:48:39 PMNameMap: Long binary data
OrderByOn: False OrderByOnLoad: True
Orientation: Left-to-Right RecordCount: 10
TotalsRow: False Updatable: True
Columns
Name Type Size
Date Date/Time 8
Item Code Text 255
Cost Currency 8
Amount Long Integer 4
Total Currency 8
Daily sales Currency 8
Relationships
Table Indexes
Name Number of Fields
Page 90 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Properties
DateCreated: 4/25/2009 10:25:08 AM DefaultView: 2
DisplayViewsOnSharePoint 1 FilterOnLoad: False
GUID: {guid {7FF3CBEA-F93B- HideNewField: False
4230-836F-345415C89377}}
LastUpdated: 6/18/2009 5:02:08 PMNameMap: Long binary data
OrderByOn: False OrderByOnLoad: True
Orientation: Left-to-Right RecordCount: 10
TotalsRow: False Updatable: True
Columns
Name Type Size
Date Date/Time 8
Item code Text 255
Customer ID Text 255
Cost Currency 8
Amount Long Integer 4
Total Currency 8
Relationships
Table Indexes
Name Number of Fields
Customer ID 1
Page 91 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Fields:
Customer ID Ascending
Item code 1
Fields:
Item code Ascending
PrimaryKey 1
Fields:
Item code Ascending
Transaction recordDate 1
Fields:
Date Ascending
H:\albian database.accdb Thursday, June 18, 2009
Query: credit customer record Query Page: 7
Properties
DateCreated: 5/9/2009 3:41:24 PM DefaultView: 2
DisplayViewsOnSharePoint 1 DOL: Long binary data
FilterOnLoad: False GUID: {guid {99ADB399-68B4-
4B39-
A29B-5C61C491A2C0}}
HideNewField: False LastUpdated: 5/9/2009 3:41:24 PM
MaxRecords: 0 NameMap: Long binary data
ODBCTimeout: 60 OrderByOn: False
OrderByOnLoad: True Orientation: Left-to-Right
RecordLocks: No Locks RecordsAffected: 0
RecordsetType: Dynaset ReturnsRecords: True
TotalsRow: False Type: 0
Updatable: True
SQL
SELECT [credit customer record].[customer ID], [credit customer record].[Name],
[credit customer
record].[Address 1], [credit customer record].[Address 2], [credit customer record].
[Address 3], [credit
customer record].[Country], [credit customer record].[Contact No], [credit customer
record].[E mail], [credit
customer record].[Amount of item], [credit customer record].[Last paid], [credit
customer record].[Total]
FROM [credit customer record];
Columns
Name Type Size
customer ID Text 255
Name Text 255
Address 1 Text 255
Address 2 From 0
Address 3 From 0
Country Text 255
Contact No Long Integer 4
E mail Text 255
Page 92 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Table Indexes
Name Number of Fields
Last 1
paid
PrimaryKey 1
H:\albian database.accdb Thursday, June 18, 2009
Query: Customer record Query Page: 8
Properties
DateCreated: 5/9/2009 3:41:46 PM DefaultView: 2
DisplayViewsOnSharePoint 1 DOL: Long binary data
FilterOnLoad: False GUID: {guid {CBF2E986-0CFD-
4534-8805-043230711637}}
HideNewField: False LastUpdated: 5/9/2009 3:41:46 PM
MaxRecords: 0 NameMap: Long binary data
ODBCTimeout: 60 OrderByOn: False
OrderByOnLoad: True Orientation: Left-to-Right
RecordLocks: No Locks RecordsAffected: 0
RecordsetType: Dynaset ReturnsRecords: True
TotalsRow: False Type: 0
Updatable: True
SQL
SELECT [Customer record].[Name], [Customer record].[Sex], [Customer record].
[Contact No], [Customer
record].[E-mail], [Customer record].[Cust_id]
FROM [Customer record];
Columns
Name Type Size
Name Text 255
Sex Text 255
Contact No Long Integer 4
E-mail Text 255
Cust_id Text 255
Table Indexes
Name Number of Fields
Cust_id 1
PrimaryKey 1
H:\albian database.accdb Thursday, June 18, 2009
Page 93 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Properties
DateCreated: 5/9/2009 3:41:36 PM DefaultView: 2
DisplayViewsOnSharePoint 1 DOL: Long binary data
FilterOnLoad: False GUID: {guid {EDD07E8C-BD99-
4863-A9AC-2C771F234447}}
HideNewField: False LastUpdated: 5/9/2009 3:41:36 PM
MaxRecords: 0 NameMap: Long binary data
ODBCTimeout: 60 OrderByOn: False
OrderByOnLoad: True Orientation: Left-to-Right
RecordLocks: No Locks RecordsAffected: 0
RecordsetType: Dynaset ReturnsRecords: True
TotalsRow: False Type: 0
Updatable: True
SQL
SELECT [Daily sales record].[Date], [Daily sales record].[Item Code], [Daily sales record].
[Cost], [Daily
sales record].[Amount], [Daily sales record].[Total], [Daily sales record].[Daily sales]
FROM [Daily sales record];
Columns
Name Type Size
Date Date/Time 8
Item Code Text 255
Cost Currency 8
Amount Long Integer 4
Total Currency 8
Daily sales Currency 8
Table Indexes
Name Number of Fields
Daily sales recordDate 1
Item Code 1
PrimaryKey 1
H:\albian database.accdb Thursday, June 18, 2009
Query: Transaction record Query Page: 10
Properties
DateCreated: 5/9/2009 3:41:54 PM DefaultView: 2
DisplayViewsOnSharePoint 1 DOL: Long binary data
FilterOnLoad: False GUID: {guid {A5D11E04-CB1D-
4499-B5C8-
HideNewField: False LastUpdated: 5/9/2009 8:53:20 PM
Page 94 of 121
GCE ‘O’ Level Computer Studies Course work 2013
SQL
SELECT [Transaction record].Date, [Transaction record].[Item code], [Transaction record].
[Customer ID],
[Transaction record].Cost, [Transaction record].Amount, [Transaction record].Total
FROM [Transaction record];
Columns
Name Type Size
Date Date/Time 8
Item code Text 255
Customer ID Text 255
Cost Currency 8
Amount Long Integer 4
Total Currency 8
Table Indexes
Name Number of Fields
Customer ID 1
Item code 1
PrimaryKey 1
Transaction recordDate 1
H:\albian database.accdb Thursday, June 18, 2009
Form: credit customer record Page: 11
Properties
AllowAdditions: True AllowDatasheetView: False
AllowDeletions: True AllowDesignChanges: True
AllowEditing: True AllowEdits: True
AllowFilters: True AllowFormView: True
AllowLayoutView: True AllowPivotChartView: False
AllowPivotTableView: False AllowUpdating: No
AutoCenter: False AutoResize: True
BorderStyle: Sizable CloseButton: True
Container: Forms ControlBox: True
Count: 28 CurrentView: 0
Cycle: All Records DataEntry: False
DatasheetAlternateBackCol 16053492 DatasheetBackColor:
16777215
Page 95 of 121
GCE ‘O’ Level Computer Studies Course work 2013
DatasheetBorderLineStyle: 1 DatasheetCellsEffect:
Flat
DatasheetColumnHeaderU 1 DatasheetFontHeight:
11
DatasheetFontItalic: False DatasheetFontName: Calibri
DatasheetFontUnderline: False DatasheetFontWeight:
Normal
DatasheetForeColor: 0 DatasheetGridlinesBehavior
Both
DatasheetGridlinesColor: 15062992 DateCreated: 5/10/2009
9:04:34 AM
DefaultEditing: 2 DefaultView: Single Form
DisplayOnSharePointSite: Follow Table Setting DividingLines: False
FastLaserPrinting: True FetchDefaults: True
FilterOn: False FilterOnLoad: False
FitToScreen: True FrozenColumns: 1
GridX: 24 GridY: 24
GUID: {guid {D1211E15-62ED-45B5- HasModule: False
87CE-A5C7917C3599}}
HelpContextId: 0 HorizontalDatasheetGridline 1
Hwnd: 1048948 ImageData: Long binary data
InsideHeight: 7350 InsideWidth: 11700
KeyPreview: False LastUpdated: 5/10/2009 9:04:34 AM
LayoutForPrint: False LogicalPageWidth: 11520
MaxButton: True MinButton: True
MinMaxButtons: Both Enabled Modal: False
Moveable: False NameMap: Long binary data
NavigationButtons: True OrderByOn: False
OrderByOnLoad: True Orientation: Left-to-Right
Owner: admin Painting: True
PaletteSource: (Default) Picture: (none)
PictureAlignment: Center PictureSizeMode: Clip
PictureTiling: False PictureType: 0
PopUp: False PrtDevMode: Long binary data
PrtDevNames: Long binary data PrtMip: Long binary data
RecordLocks: No Locks RecordSelectors: True
RecordsetType: Dynaset RecordSource: credit customer record
RowHeight: Default SaveSplitterBarPosition: True
ScrollBars: Both ShortcutMenu: True
ShowGrid: True SplitFormDatasheet: Allow Edits
SplitFormOrientation: Datasheet on Top SplitFormPrinting: Form
Only
SplitFormSize: 0 SplitFormSplitterBar: True
SubdatasheetExpanded: False SubdatasheetHeight: 0
TimerInterval: 0 UseDefaultPaperSize: False
H:\albian database.accdb Thursday, June 18, 2009
Form: credit customer record Page: 12
UserName: admin VerticalDatasheetGridlineSt 1
ViewsAllowed: Both Visible: False
Width: 7860 WindowHeight: 7605
WindowLeft: 0 WindowTop: 0
WindowWidth: 11955
Page 96 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Objects
Section: Detail
Section: FormFooter
Section: FormHeader
Text Box: Address 1
Text Box: Amount of
item Image: Auto_Logo0
Label: Auto_Title0
Rectangle: Box30
Command Button: Command22
Command Button: Command23
Command Button: Command24
Command Button: Command25
Command Button: Command27
Command Button: Command28
Command Button: Command32
Text Box: Contact No
Text Box: Country
Text Box: customer ID
Text Box: E mail
Label: Label1
Label: Label11
Label: Label13
Label: Label15
Label: Label17
Label: Label19
Label: Label21
H:\albian database.accdb Thursday, June 18, 2009
Form: credit customer record Page: 13
Label: Label3
Label: Label5
Text Box: Last paid
Text Box: Name
Page 97 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Page 98 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Properties
AllowAdditions: True AllowDatasheetView: False
AllowDeletions: True AllowDesignChanges: True
AllowEditing: True AllowEdits: True
AllowFilters: True AllowFormView: True
AllowLayoutView: True AllowPivotChartView: False
AllowPivotTableView: False AllowUpdating: No
AutoCenter: False AutoResize: True
BorderStyle: Sizable CloseButton: True
Container: Forms ControlBox: True
Count: 20 CurrentView: 0
Cycle: All Records DataEntry: False
DatasheetAlternateBackCol 16053492 DatasheetBackColor:
16777215
DatasheetBorderLineStyle: 1 DatasheetCellsEffect:
Flat
DatasheetColumnHeaderU 1 DatasheetFontHeight:
11
DatasheetFontItalic: False DatasheetFontName: Calibri
DatasheetFontUnderline: False DatasheetFontWeight:
Normal
DatasheetForeColor: 0 DatasheetGridlinesBehavior
Both
DatasheetGridlinesColor: 15062992 DateCreated: 5/10/2009
9:08:57 AM
DefaultEditing: 2 DefaultView: Single Form
DisplayOnSharePointSite: Follow Table Setting DividingLines: False
FastLaserPrinting: True FetchDefaults: True
FilterOn: False FilterOnLoad: False
FitToScreen: True FrozenColumns: 1
GridX: 24 GridY: 24
GUID: {guid {4B740AB9-D856- HasModule: False
4EE8-A252-
HelpContextId: 0 HorizontalDatasheetGridline 1
Hwnd: 1114484 ImageData: Long binary data
InsideHeight: 7350 InsideWidth: 11700
KeyPreview: False LastUpdated: 5/10/2009 9:08:57 AM
LayoutForPrint: False LogicalPageWidth: 11520
MaxButton: True MinButton: True
MinMaxButtons: Both Enabled Modal: False
Moveable: False NameMap: Long binary data
NavigationButtons: True OrderByOn: False
OrderByOnLoad: True Orientation: Left-to-Right
Owner: admin Painting: True
PaletteSource: (Default) Picture: (none)
PictureAlignment: Center PictureSizeMode: Clip
PictureTiling: False PictureType: 0
PopUp: False PrtDevMode: Long binary data
PrtDevNames: Long binary data PrtMip: Long binary data
RecordLocks: No Locks RecordSelectors: True
Page 99 of 121
GCE ‘O’ Level Computer Studies Course work 2013
Objects
Section: Detail
Section: FormFooter
Section: FormHeader
Image: Auto_Logo0
Label: Auto_Title0
Rectangle: Box17
Command Button: Command10
Command Button: Command11
Command Button: Command12
Command Button: Command13
Command Button: Command14
Command Button: Command15
Command Button: Command18
Text Box: Contact No
Text Box:
Cust_id Text
Box: E-mail
Label: Label1
Label: Label3
Label: Label5
Label: Label7
Label: Label9
Text Box: Name
Combo Box: Sex
H:\albian database.accdb Thursday, June 18, 2009
Form: Daily sales record Page: 16
Properties
AllowAdditions: True AllowDatasheetView: False
AllowDeletions: True AllowDesignChanges: True
AllowEditing: True AllowEdits: True
AllowFilters: True AllowFormView: True
AllowLayoutView: True AllowPivotChartView: False
AllowPivotTableView: False AllowUpdating: No
AutoCenter: False AutoResize: True
BorderStyle: Sizable CloseButton: True
Container: Forms ControlBox: True
Count: 22 CurrentView: 0
Cycle: All Records DataEntry: False
DatasheetAlternateBackCol 16053492 DatasheetBackColor:
16777215
DatasheetBorderLineStyle: 1 DatasheetCellsEffect:
Flat
DatasheetColumnHeaderU 1 DatasheetFontHeight:
11
DatasheetFontItalic: False DatasheetFontName: Calibri
DatasheetFontUnderline: False DatasheetFontWeight:
Normal
DatasheetForeColor: 0 DatasheetGridlinesBehavior
Both
DatasheetGridlinesColor: 15062992 DateCreated: 5/10/2009
9:19:41 AM
DefaultEditing: 2 DefaultView: Single Form
DisplayOnSharePointSite: Follow Table Setting DividingLines: False
FastLaserPrinting: True FetchDefaults: True
FilterOn: False FilterOnLoad: False
FitToScreen: True FrozenColumns: 1
GridX: 24 GridY: 24
GUID: {guid {04637492-A092-4031- HasModule: False
8AB3-0C425AA415CE}}
HelpContextId: 0 HorizontalDatasheetGridline 1
Hwnd: 1180020 ImageData: Long binary data
InsideHeight: 7350 InsideWidth: 11700
KeyPreview: False LastUpdated: 5/10/2009 9:19:41 AM
LayoutForPrint: False LogicalPageWidth: 11520
MaxButton: True MinButton: True
MinMaxButtons: Both Enabled Modal: False
Moveable: False NameMap: Long binary data
NavigationButtons: True OrderByOn: False
OrderByOnLoad: True Orientation: Left-to-Right
Owner: admin Painting: True
PaletteSource: (Default) Picture: (none)
PictureAlignment: Center PictureSizeMode: Clip
Objects
Section: Detail
Section: FormFooter
Section: FormHeader
Text Box: Amount
Image: Auto_Logo0
Label: Auto_Title0
Rectangle: Box18
Command Button: Command12
Command Button: Command13
Command Button: Command14
Command Button: Command15
Command Button: Command16
Command Button: Command17
Command Button: Command20
Text Box: Cost
Text Box: Daily sales
Text Box: Date
Text Box: Item Code
Label: Label1
Label: Label11
Label: Label3
Label: Label5
Label: Label7
Label: Label9
Text Box:
Total
H:\albian database.accdb Thursday, June 18, 2009
Form: MAIN MENU Page: 18
Properties
AllowAdditions: True AllowDatasheetView: False
AllowDeletions: True AllowDesignChanges: True
AllowEditing: True AllowEdits: True
AllowFilters: True AllowFormView: True
AllowLayoutView: True AllowPivotChartView: False
AllowPivotTableView: False AllowUpdating: No
AutoCenter: False AutoResize: True
BorderStyle: Sizable CloseButton: True
Container: Forms ControlBox: True
Count: 14 CurrentView: 0
Cycle: All Records DataEntry: False
DatasheetAlternateBackCol 16053492 DatasheetBackColor:
16777215
DatasheetBorderLineStyle: 1 DatasheetCellsEffect:
Flat
DatasheetColumnHeaderU 1 DatasheetFontHeight:
11
DatasheetFontItalic: False DatasheetFontName: Calibri
DatasheetFontUnderline: False DatasheetFontWeight:
Normal
DatasheetForeColor: 0 DatasheetGridlinesBehavior
Both
DatasheetGridlinesColor: 15062992 DateCreated: 5/10/2009
9:04:49 AM
DefaultEditing: 2 DefaultView: Single Form
DisplayOnSharePointSite: Follow Table Setting DividingLines: False
FastLaserPrinting: True FetchDefaults: True
FilterOn: False FilterOnLoad: False
FitToScreen: True FrozenColumns: 1
GridX: 24 GridY: 24
GUID: {guid {04539139-436A-49C8- HasModule: True
911A-FDAA714CB656}}
HelpContextId: 0 HorizontalDatasheetGridline 1
Hwnd: 1245556 ImageData: Long binary data
InsideHeight: 7350 InsideWidth: 11700
KeyPreview: False LastUpdated: 5/10/2009 9:04:49 AM
LayoutForPrint: False LogicalPageWidth: 16118
MaxButton: True MinButton: True
Objects
Section: Detail
Section: FormFooter
Section: FormHeader
Image: Auto_Logo0
Command Button: BACK
Rectangle: Box22
Command Button: Command3
Command Button: Command31
Command Button: Command32
Command Button: Command33
Command Button: Command34
Command Button: Command4
Command Button: Command5
Command Button: Command9
Command Button: DAILY SALES RECORD
Label: Label30
Line: Line23
Code
1 VERSION 1.0 CLASS
2 BEGIN
3 MultiUse = -1 'True
4 END
5 Attribute VB_Name = "Form_MAIN MENU"
6 Attribute VB_GlobalNameSpace = False
7 Attribute VB_Creatable = True
8 Attribute VB_PredeclaredId = True
9 Attribute VB_Exposed = False
10 Option Compare Database
11
Properties
AllowAdditions: True AllowDatasheetView: False
AllowDeletions: True AllowDesignChanges: True
AllowEditing: True AllowEdits: True
AllowFilters: True AllowFormView: True
AllowLayoutView: True AllowPivotChartView: False
AllowPivotTableView: False AllowUpdating: No
AutoCenter: False AutoResize: True
BorderStyle: Sizable CloseButton: True
Container: Forms ControlBox: True
Count: 22 CurrentView: 0
Cycle: All Records DataEntry: False
DatasheetAlternateBackCol 16053492 DatasheetBackColor:
16777215
DatasheetBorderLineStyle: 1 DatasheetCellsEffect:
Flat
DatasheetColumnHeaderU 1 DatasheetFontHeight:
11
DatasheetFontItalic: False DatasheetFontName: Calibri
DatasheetFontUnderline: False DatasheetFontWeight:
Normal
DatasheetForeColor: 0 DatasheetGridlinesBehavior
Both
DatasheetGridlinesColor: 15062992 DateCreated: 5/10/2009
9:11:03 AM
DefaultEditing: 2 DefaultView: Single Form
DisplayOnSharePointSite: Follow Table Setting DividingLines: False
FastLaserPrinting: True FetchDefaults: True
FilterOn: False FilterOnLoad: False
FitToScreen: True FrozenColumns: 1
GridX: 24 GridY: 24
GUID: {guid {9C6BB44D-0E89- HasModule: False
475F-905B-F0982135D9B7}}
HelpContextId: 0 HorizontalDatasheetGridline 1
Hwnd: 1311092 ImageData: Long binary data
InsideHeight: 7350 InsideWidth: 11700
KeyPreview: False LastUpdated: 5/10/2009 9:11:03 AM
LayoutForPrint: False LogicalPageWidth: 11520
MaxButton: True MinButton: True
MinMaxButtons: Both Enabled Modal: False
Moveable: False NameMap: Long binary data
NavigationButtons: True OrderByOn: False
OrderByOnLoad: True Orientation: Left-to-Right
Owner: admin Painting: True
PaletteSource: (Default) Picture: (none)
PictureAlignment: Center PictureSizeMode: Clip
PictureTiling: False PictureType: 0
PopUp: False PrtDevMode: Long binary data
PrtDevNames: Long binary data PrtMip: Long binary data
RecordLocks: No Locks RecordSelectors: True
RecordsetType: Dynaset RecordSource: Transaction record
Objects
Section: Detail
Section: FormFooter
Section: FormHeader
Text Box: Amount
Image: Auto_Logo0
Label: Auto_Title0
Rectangle: Box19
Command Button: Command12
Command Button: Command13
Command Button: Command14
Command Button: Command15
Command Button: Command16
Command Button: Command17
Command Button: Command20
Text Box: Cost
Text Box: Customer ID
Text Box: Date
Text Box: Item
code Label: Label1
Label: Label11
Label: Label3
Label: Label5
Label: Label7
Label: Label9
Text Box:
Total
H:\albian database.accdb Thursday, June 18, 2009
Form: WELCOME TO ELBIAN Page: 22
Properties
AllowAdditions: True AllowDatasheetView: False
AllowDeletions: True AllowDesignChanges: True
AllowEditing: True AllowEdits: True
AllowFilters: True AllowFormView: True
AllowLayoutView: True AllowPivotChartView: False
AllowPivotTableView: False AllowUpdating: No
AutoCenter: False AutoResize: True
BorderStyle: Sizable CloseButton: True
Container: Forms ControlBox: True
Count: 5 CurrentView: 0
Cycle: All Records DataEntry: False
DatasheetAlternateBackCol 16053492 DatasheetBackColor:
16777215
DatasheetBorderLineStyle: 1 DatasheetCellsEffect:
Flat
DatasheetColumnHeaderU 1 DatasheetFontHeight:
11
DatasheetFontItalic: False DatasheetFontName: Calibri
DatasheetFontUnderline: False DatasheetFontWeight:
Normal
DatasheetForeColor: 0 DatasheetGridlinesBehavior
Both
DatasheetGridlinesColor: 15062992 DateCreated: 5/9/2009
8:59:50 PM
DefaultEditing: 2 DefaultView: Single Form
DisplayOnSharePointSite: Follow Table Setting DividingLines: False
FastLaserPrinting: True FetchDefaults: True
FilterOn: False FilterOnLoad: False
FitToScreen: True FrozenColumns: 1
GridX: 24 GridY: 24
GUID: {guid {5185238E-8556-4E25- HasModule: False
B8BF-72C75E814867}}
HelpContextId: 0 HorizontalDatasheetGridline 1
Hwnd: 1376628 ImageData: Long binary data
InsideHeight: 7350 InsideWidth: 11700
KeyPreview: False LastUpdated: 5/9/2009 8:59:50 PM
LayoutForPrint: False LogicalPageWidth: 11520
MaxButton: True MinButton: True
MinMaxButtons: Both Enabled Modal: False
Moveable: False NameMap: Long binary data
NavigationButtons: True OrderByOn: False
OrderByOnLoad: True Orientation: Left-to-Right
Owner: admin Painting: True
Objects
Section: Detail
Section: FormFooter
Section: FormHeader
Image: Auto_Logo0
Rectangle: Box11
Command Button: Command5
Command Button: Command9
Label: Label2
Properties
Container: Reports DateCreated: 6/16/2009 4:52:40 PM
GUID: {guid {A01580FA-B457- LastUpdated: 6/16/2009
4:52:40 PM
4E4E-8C5B-A97000E7A508}}
NameMap: Long binary data Owner: admin
UserName: admin
Objects
Section: Detail
Section: PageFooterSection
Section: PageHeaderSection
Section: ReportFooter
Section: ReportHeader
Text Box: AccessTotalscustomer ID
Text Box: Address 1
Text Box: Amount of
item Image: Auto_Logo0
Label: Auto_Title0
Text Box: Contact No
Text Box: Country
Text Box: customer ID
Text Box: E mail
Label: Label10
Label: Label12
Label: Label14
Label: Label16
Label: Label18
Label: Label20
Label: Label4
Label: Label6
Label: Label8
Properties
Container: Reports DateCreated: 6/17/2009 3:46:34 PM
GUID: {guid {51CD442D-F10B- LastUpdated: 6/17/2009
3:46:34 PM
4814-940D-BDDE694989C7}}
NameMap: Long binary data Owner: admin
UserName: admin
Objects
Section: Detail
Section: PageFooterSection
Section: PageHeaderSection
Section: ReportFooter
Section: ReportHeader
Text Box: AccessTotalsName
Image: Auto_Logo0
Label: Auto_Title0
Text Box: Contact No
Text Box: Cust_id
Text Box: E-mail
Label: Label10
Label: Label12
Label: Label4
Label: Label6
Label: Label8
Text Box: Name
Combo Box: Sex
Text Box: Text0
Text Box: Text1
Text Box: Text2
H:\albian database.accdb Thursday, June 18, 2009
Report: Daily sales record Page: 27
Properties
Container: Reports DateCreated: 5/10/2009 9:06:08 AM
GUID: {guid {F72F20F1-A9E3-4011- LastUpdated: 5/10/2009
9:06:08 AM
9181-49013C5F600E}}
NameMap: Long binary data Owner: admin
UserName: admin
Objects
Section: Detail
Section: PageFooterSection
Section: PageHeaderSection
Section: ReportFooter
Section: ReportHeader
Text Box: AccessTotalsDate
Text Box: Amount
Image: Auto_Logo0
Label: Auto_Title0
Text Box: Cost
Text Box: Daily sales
Text Box: Date
Text Box: Item Code
Label: Label10
Label: Label12
Label: Label14
Label: Label4
Label: Label6
Label: Label8
Text Box:
Text0 Text
Box: Text1
Text Box:
Text2 Text
Box: Total
H:\albian database.accdb Thursday, June 18, 2009
Report: Transaction report Page: 28
Properties
Container: Reports DateCreated: 6/17/2009 3:39:50 PM
GUID: {guid {08498CF9-EF38-4747- LastUpdated: 6/17/2009
3:39:50 PM
B056-B7B01D0040BE}}
NameMap: Long binary data Owner: admin
UserName: admin
Objects
Section: Detail
Section: PageFooterSection
Section: PageHeaderSection
Section: ReportFooter
Section: ReportHeader
Text Box: Amount
Image: Auto_Logo0
Label: Auto_Title0
Text Box: Cost
Text Box: Customer ID
Text Box: Date
Text Box: Item
code Label:
Label10 Label:
Label12 Label:
Label14 Label:
Label4 Label:
Label6 Label:
Label8
Text Box: Text0
Text Box: Text1
Text Box: Text2
Text Box: Total
The application which I have made for the Elbian has been installed in
the computer of Elbian and the employees and the shop is getting the
full benefit from it. The application is meeting all (except one) which I
have described in the section “Specific objectives”.
❖ Create and maintain a database of its customers,
transactions… etc
The system I have prepared for Elbian has the capability of storing the
customers detail in a form of a data base.
❖ Update the data about the quantity in hand when an item is sold.
The computer can easily record, when an item is sold. You can just
enter the details of the item sold.
❖ create the reports of Elbian‘s Daily Sales Report and yearly report
automatically.
Now daily sales report and yearly sales report will be generated
automatically by using the new system. No more hand works are needed
for this.
❖ To avoid paper works. Like the customer records and daily sales
report file.
With the introduction of computer to Elbian, paper works would be
reduced much more. All the customer record and daily sales report will
be created using the new system.
After a continue use of two to three years, the system could be evaluated to
see whether new facilities could be introduced. (This introduction of the new
facilities could be possible only if the company’s income and its profit is
increasing day by day. Else it will be a waste of a huge sum of money.)
When these features have been introduced the application would be much
more useful to the Elbian. And I am planning to do that after few years , if
the income and profit increases.