Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Step BY Step Assignment Instruction Task 5: Inscription Criteria: IS NOT NULL

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 10

STEP BY STEP ASSIGNMENT

INSTRUCTION

TASK 5
a) Olivia wants to find out apparels with inscription. Create a
query that displays the Product ID, Product Description,
Size, Color and Inscription. Save the query as qryQueryA.
(2 marks)
Inscription Criteria: IS NOT NULL

b) List the product descriptions and determine the average


quantity ordered that have been received for each product.
Display the amount (format to integer) in ascending order
under a column labelled as Average Quantity Ordered.
Save the query as qryQueryB.

Average Quantity Ordered: Quantity


(2 marks)
c) Olivia wants to find out which customer has spent the most
in her shop. You will have to calculate the order amounts
(in RM currency) and sort the result in descending order.
Your result should list the customers’ names, phone
numbers and the total amounts of their orders. Save the
query as qryQueryC. (2 marks)

Total Ordered: Sum([Price]*[Quantity])

d) Olivia wishes to know the popular colors for each product.


Assist Olivia by constructing a crosstab query to identify
the color by indicating the total quantity of order for each
product (Product ID). Save the query as qryQueryD.
(2 marks

Color- Row
Product ID- Column
Quantity- Value
Total Of Quantity: Quantity -Row

e) Create a query that summarizes the total order (in RM


currency) group by date ordered for the month of January.
Display the Date Ordered and Total Ordered (a calculated
field). Save the query as qryQueryE. (2 marks)

Date Ordered - Between 1/1/2020 And 1/31/2020


Total Ordered: Sum([Price]*[Quantity])

f) Create a query that displays the Product Description, Color


and Size. This query should prompt for two inputs: Color
and Size. Save query as qryQueryF. (2 marks)

[Enter Color:]

[Enter Size:]

g) Create a parameter/update query that prompts for the


incremental amount of a price and then prompts for the
product description. You are required to test the query by
adding RM 10.50 to the cost of a product of your choice.
Save this query as qryQueryG. (2 marks)
[Which Product?]

[Price]+[What is the increase?]

7. Olivia wants to update data in the Orders and Order


Line Item tables by using a form which is named as
Orders form. The Orders form should allow the user to
add, delete, print, browse, update and save the records.
The Orders form captures the customer’s order (e.g.
Order Number, Date Ordered, and Customer ID) while
displaying its Total Quantity as in the main form and
also detailed information about each order that the shop
receives (e.g. Product ID, Size, Color, Quantity and the
Inscription) in the subform. Save the form as
“frmOrderDetails”.

=Sum([Quantity])
=[tblOrder Line Item subform]![Total]
8. Create a report that includes all the customers’
details such as Customer Name, Customer ID,
Street Address, City, State, Postal Code, and
Phone. Group and display the customers’ details
based on the city. Then, show the total customers
in each city and the grand total at the end of the
report. You are also required to sort the records by
the Customer Name. Save the report as
“rptCustomerDetails”.

1.Query Design: CustomerID Count

2.Report Wizard

9. Create a report that displays the Customer


Name, Order Number, Product Description, Size,
Color, Price, Quantity, and Total Order (a
calculated field). The report should include the
subtotal of the Total Order made by each
customer. Besides, the grand total needs to be
calculated and displayed at the end of the report.
Save the report as “rptCustomerOrder”.

1.Query Design:
Total Order: [Quantity] * [Price]
2.Report Wizard
10. Create and design a user-friendly form
that acts as a main menu to assist Olivia in
accessing all the tasks created above (i.e.
from task 5 to task 9). Employ and utilise
Macros in MS Access to create the
object/form(s). (10 marks)

a. 1 Main Menu ( 4 buttons (Table


Menu, Form Menu, Query Menu,
Report Menu) + Welcome
Message)
b. 1 Table Menu (4 buttons -
tblCustomers, tblOrderLineItems,
tblOrders, tblProducts)
c. 1 Form Menu (3 buttons –
frmCustomers, frmOrderDetails,
frmProducts)
d. 1 Query Menu (7 buttons-
qryQueryA-qryQueryG)
e. 1 Report Menu (2 buttons – rpt
CustomerDetails,
rptCustomerOrders)

Part 2 (LO2)
With examples from this database assignment,
explain the importance of making an accurate and
effective decision making for this apparel ordering
company and discuss how this database
management system can assist in making effective
decision.
Discuss your answers in the assignment report.
(10 marks)

a.Advantage of Query
b. Advantage of Form
c. Advantage of Report
Part 3 (LO4)
Demonstrate by using examples how this database
management system can be used to improve the
business efficiency of this company and create its
competitive advantage.

Discuss your answers in the assignment report.

Advantage of Database Management


Systems
Assignment Report Format

Title

Paragraph 1: Requirement of question


Paragraph 2: Step
Paragraph 3: Description of Output

Print screen of output and label the print screen.


Task 1: Designing tblProjectSchedule

Task 1 requires me to design and enter data for


tblProjectSchedule.
In order to design tblProjectSchedule, first, I click
Create-> Table design, then, in home design view,
I insert the attributes…….
Figure 1 shows the print screen of
tblProjectSchedule.

Figure 1: Print Screen of tblProjectSchedule.

Guideline:
1.Each task report should be at least 1 page.
2.Report should be written in paragraph. NO
Point form is allowed.
3.Title should be in heading 1.
4.Diagram needs to be labelled accordingly
(Figure 1, Figure 2…).
5. Introduce diagram before showing the
diagram.
6.Page number should be included on every
page.

You might also like