+ All Categories
Home > Documents > Tugasan Database

Tugasan Database

Date post: 12-Jan-2016
Category:
Upload: laily-ishak
View: 25 times
Download: 0 times
Share this document with a friend
Description:
ict
Popular Tags:
8
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 SERVICE Customer_ID name address telephone 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.
Transcript
Page 1: Tugasan Database

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 SERVICECustomer_IDnameaddresstelephone

Service_IDCustomer_IDType_of_serviceDescriptionDate

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.

Page 2: Tugasan Database

CREATE TABLE

1. Open MS Access2. Select blank data base3. Select View - > Design View

4. Table name : CUSTOMER -> then click OK5. Create table based on data given :

Field Name Data Type Field SizeCustomer_ID Text 7

customer_name Text 50address Text 150

telephone Text 12

6. Repeat step 1-4. Table name : SERVICE -> then click OK7. Create table based on data given :

Field Name Data Type Field SizeService_ID AutoNumber

Customer_ID Text 7type Text 50

description Text 150

Page 3: Tugasan Database

service_date Date/Time

8. Click arrow on Data Type Customer_ID select Lookup Wizard

9.

10. Save.

CREATE QUERY

1 pilih yg atas lpt tu next

2 pastikan 2 table betul, click next

3 pindahkan customer_id, click next4 click next 5 click next 6 click finish

Page 4: Tugasan Database

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)

4. Save. Query Name : Customer_Query. Click OK

CREATE FORM

**Pd ruang criteria pd CUSTOMER_ID

taip Like "*"

Page 5: Tugasan Database

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

Page 6: Tugasan Database

1.

2. Insert data according to this :

Customer_ID name address telephone Type description dateA124 ALI BIN

AHMADNO 7 JLN 4 KAJANG. SELANGOR

0122252699 repair repair mother board

13/3/2015

**TAMBAH MAKLUMAT SENDIRI. SEKURANG-KURANGNYA 4 CUSTOMER**

repair/service/update/buy

*bg contoh lain

3. Save.

CREATE REPORT

1. Create ->> report Wizard

Click to add customer records

Page 7: Tugasan Database

2. Choose Query : customer_Query

3. Select by CUSTOMER

4. Click Next until Finish

5. Save


Recommended