Click here to Skip to main content
15,888,286 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi, I'm making a database in access for a small business that sells curtains, blinds, cushions and various other products. I need to make monthly reports for each product, however i'm not sure how I would go about doing this. So far I have made a query for calculating the total price of an order by mutltiplying the quantity by the unit price.

The tables and queries I have so far are:

Customer table:
Customer ID (PK)
First Name
Last Name 
Age
etc


Product Table:
Product ID (PK)
Name
Type
Size 
Unit Price


Order Table:
Order ID (PK)
Order Date
Customer ID (FK)


Order Details Table:
Order Details ID (PK)
Order ID (FK)
Product ID (FK)
Quantity


Order Prices Query:
Quantity
Name 
Unit Price
"Total Price"
Product ID
Order ID
Posted
Updated 5-Apr-12 1:17am
v2

1 solution

 
Share this answer
 
Comments
Youngguns 5-Apr-12 8:20am    
Thanks, that was just what I needed.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900