G
Guest
I am trying to learn how to do some calulations with my data.
Say I have 2 tables:
Total Orders
Total Hours
Each table's Primary key is a date.
The 2 tables are linked by the date.
Orders Table has these Feilds
Date
Today's Orders
Orders left from Yeasterday
Orders from Previous days
Hours Table has these fields
Date
Total Hours
Calculations i need to build example:
1st Calculation:
8/10/06 Total Orders - 8/11/06 Yesterday's Orders + Previous Orders = Total
Orders Shipped.
2nd Calculation:
Total Orders Shipped / Total Hours = Orders per hour
Do these need to be done by a query?
And how do I do calculations like that for 1 date vs other date.(hope that
makes sense)
I hope this is clear enough.
I can do totals and calculations for the same date, just not one date info -
diffrent date info.
Anyone understand what I am getting at and can help?
Say I have 2 tables:
Total Orders
Total Hours
Each table's Primary key is a date.
The 2 tables are linked by the date.
Orders Table has these Feilds
Date
Today's Orders
Orders left from Yeasterday
Orders from Previous days
Hours Table has these fields
Date
Total Hours
Calculations i need to build example:
1st Calculation:
8/10/06 Total Orders - 8/11/06 Yesterday's Orders + Previous Orders = Total
Orders Shipped.
2nd Calculation:
Total Orders Shipped / Total Hours = Orders per hour
Do these need to be done by a query?
And how do I do calculations like that for 1 date vs other date.(hope that
makes sense)
I hope this is clear enough.
I can do totals and calculations for the same date, just not one date info -
diffrent date info.
Anyone understand what I am getting at and can help?