R
Ron
Hi all,
I have table Orders : Product, Price, Quantity, DeliveryDay
Each record is a weekly order. Changes of the order are made on the record
itself to avoid creating new order.
I need be able to calculate total sale per order between 2 dates.
I was thinking to add to the table 2 date fields: StartOrder, EndOrder and
calculate how many DeliveryDay between them (N) and then
Price*Quantity*N = TotalSale
1. what if the order still active and there is no end date?
2. Is there a better way to accomplish this?
Thanks,
Ron
I have table Orders : Product, Price, Quantity, DeliveryDay
Each record is a weekly order. Changes of the order are made on the record
itself to avoid creating new order.
I need be able to calculate total sale per order between 2 dates.
I was thinking to add to the table 2 date fields: StartOrder, EndOrder and
calculate how many DeliveryDay between them (N) and then
Price*Quantity*N = TotalSale
1. what if the order still active and there is no end date?
2. Is there a better way to accomplish this?
Thanks,
Ron