Access 365/2021 Capstone – Level 3 Working with a Sales Database

Access 365/2021 Capstone – Level 3 Working with a Sales Database

The Correct Answer and Explanation is:

To assist you with “Access 365/2021 Capstone – Level 3: Working with a Sales Database,” I need clarification on which specific task or question you’re working on, as the capstone involves multiple steps such as creating queries, reports, forms, and possibly advanced relationships or calculated fields.

However, I’ll provide an example based on a common Level 3 task you might encounter in this capstone project: creating a parameter query with calculated fields in a sales database.


✅ Example Question:

Create a parameter query that allows the user to input a start and end date, and returns sales records between those dates. Also, include a calculated field for “Total Sale” (Quantity × Unit Price).


✅ Correct Answer:

Create a query with the following SQL (or design it using Query Design View):

sqlCopyEditSELECT 
    Sales.[SaleID],
    Sales.[SaleDate],
    Sales.[CustomerID],
    Sales.[ProductID],
    Sales.[Quantity],
    Sales.[UnitPrice],
    [Quantity]*[UnitPrice] AS [Total Sale]
FROM 
    Sales
WHERE 
    [SaleDate] Between [Enter Start Date:] AND [Enter End Date:]
ORDER BY 
    [SaleDate];

✅ Explanation

This query demonstrates how to combine parameter prompts, calculated fields, and filters within Microsoft Access 365/2021 using a sales database.

First, it prompts the user for a start and end date using square brackets in the WHERE clause. These prompts—[Enter Start Date:] and [Enter End Date:]—let users input custom values when the query runs, making it dynamic and user-friendly.

The WHERE clause uses the BETWEEN operator to return only those sales records where the SaleDate falls within the specified date range, inclusive of both boundaries. This is ideal for generating time-based sales reports.

The query also includes a calculated field: [Quantity]*[UnitPrice] AS [Total Sale]. This field multiplies the quantity sold by the unit price to compute the total sale value per transaction, a common and crucial calculation in any sales analysis.

By using aliases (i.e., AS [Total Sale]), the output becomes more readable in query results, forms, or reports.

The query is sorted by SaleDate to help users see transactions in chronological order, which aids in trend analysis and auditing.

In real-world applications, this kind of parameter query is valuable for filtering sales by time periods like weeks, months, or quarters and can be used as a data source for reports or dashboards in Access.

Scroll to Top