Вы находитесь на странице: 1из 7

SITUATION 3

Bestari Computer Center (BCC) deals with computer sales and services. The BCC
owner faces difficulties in tracking its business services. You are asked to help the
owner to develop a computerized management system called Bestari Information
System (BIS)
You are required to :
a) create a database that consist of two tables : CUSTOMER and SERVICE
CUSTOMER
Customer_ID
name
address
telephone

SERVICE
Service_ID
Customer_ID
Type_of_service
Description
Date

b) add at least 4 records to CUSTOMER table


add at least 6 records to SERVICE table
c) Create a query links the 2 tables
d) Create form based on query. Form must show the tittle given and descriptive
labels.
e) Create a report based on the query. The report must show the service record for
each customer.

CREATE TABLE
1. Open MS Access
2. Select blank data base
3. Select View - > Design View

4. Table name : CUSTOMER -> then click OK


5. Create table based on data given :

Field Name
Customer_ID
customer_name
address
telephone

Data Type
Text
Text
Text
Text

Field Size
7
50
150
12

6. Repeat step 1-4. Table name : SERVICE -> then click OK


7. Create table based on data given :

Field Name
Service_ID
Customer_ID
type
description
service_date

Data Type
AutoNumber
Text
Text
Text
Date/Time

Field Size
7
50
150

8. Click arrow on Data Type Customer_ID select Lookup Wizard

9.

pilih yg atas lpt


tu next

click 2next
24 pastikan
table betul,
click next

pindahkan
53click
6 click
customer_id,
click next

10. Save.

CREATE QUERY
1. Create Query ->> Query Design
2. Select table CUSTOMER ->> click ADD

Select table SERVICE ->> click ADD

3. Double click on Customer_ID, customer_name,alamat,telefon,Service_ID, type,


description,service_date (double click pd semua kecuali customer_id pd table
service)

**Pd ruang criteria pd


CUSTOMER_ID

Like "*"Click OK
4. Save. Query Name :taip
Customer_Query.

CREATE FORM
1. Create ->> Form Wizard

2. Select table : CUSTOMER

3. Select all available field


4. Repeat step 1- 2. Select table : SERVICE . Select Service_ID, type, description and
date.
5. Click Next. Select Form with subform
6. Click Next . Select Tabular
7. Click Next until you find What titles do you want for your form. Form : BESTARI
INFORMATION SYSTEM (BIS)
8. Click Finish.

INSERT DATA INTO FORM


1.

Click to add customer

2. Insert data according to this :


Customer
_ID
A124

name

address

ALI BIN
AHMAD

telephon
e
01222526
99

NO 7 JLN 4
KAJANG.
SELANGOR
**TAMBAH MAKLUMAT SENDIRI. SEKURANGKURANGNYA 4 CUSTOMER**

3. Save.

CREATE REPORT
1. Create ->> report Wizard

2. Choose Query : customer_Query

Type
repair

repair/servi
ce/
update/buy

descript
ion
repair
mother
board
*bg
contoh
lain

date
13/3/20
15

3. Select by CUSTOMER

4. Click Next until Finish


5. Save

Вам также может понравиться