Database Assignment 9 Advanced Calculated Fields Document
Database Assignment 9 Advanced Calculated Fields Document
Name:
Today’s objectives: Creating two tables, Forms and Three Calculated Fields.
1. Open Microsoft Access 2013.
2. Create a new database under the name, Sales_Database_YourName.
3. Create the following two tables; Sales Table and Weekly Sales Table. After creating the tables, fill out
the fields with given information. (Hint: Choose Data Type wisely)
Sales Table
ID Agent Date of Sale Product Unit Price Quantity Total Amount Sold Commission
Sold
BD098 Abul kalam 22-Sep-2014 HP Printer S2 2500 4 Unit price x Quantity sold 15% on total
(Note: you don’t have to write this. amount sold
This formula is given to assist you)
Creating the functions: Go to the Design View of your Sales Table’s Form.
Write the following function in Total Amount Sold,
Go to Form View, have you noticed that the Total Amount Sold has automatically been
calculated!
Now, create appropriate functions for Commission (in Sales table) and Total Number of Sales (in
the Weekly Sales Table).
6. Upload your database file (i.e. Sales_Database_YourName) on the Advanced Calculated Fields assignment
section in ManageBac.