I'm working on my first Access databse, have taken classes, but am not grasping the general structure needed for calculations and reports in my project.
I have tables and relationships set up and confirmed correct. Basically, I have a customer table, a main order table and item table joined with an order detail table.
I have to calculate the total for each order(Sum of Quantity*Price), calculate a service fee, tax and grand total.
I wrote a query that calculates the order total, and based a form on this.
Then I wrote a query based on that query that groups by order number and calculates the service fee and tax from the order total.
Then... I wrote a query based on that query that calculates the grand total (Order total + Service fee + tax)
Is there a simpler way to do this?
I need to display these calculated fields on my form, and on 6 different reports (by date, by week, by customer, by customer type,etc.)
It doesn't make sense to re-create the calculations on each individual form and report, since it's the same data.
I am looking for a big picture answer on the correct way to set up the queries, forms and reports in a simple database. Any insights would be appreciated.