I am fairly new to Access and am building a customer orders DB as part of an assignment.
This question is similar to: Calculated Field Using Data From Another Table thing is, I don't want to achieve this by having a separate queries view. I want the result auto calculated in my table.
So I have two tables that are linked together with a relationship and PK/FK: OrderDetailTable and ProductTable
Product Table has Primary Key Product ID and OrderDetailTable has that as a foreign key
OrderDetailTable | |||
---|---|---|---|
OrderDetail ID | Product ID | Quantity | Order Sub Total |
ProductTable | |||
---|---|---|---|
Product ID | Product Title | Product Description | Product Unit Price |
I want Order Sub Total to auto-calculate based on the entered Product ID and Quantity.