I have 2 tables.
Product contains the fields ProductID, ProductName and ProductCost.
Promotion contains the fields ProductID, PromoStartDate, PromoEndDate and PromoPrice
I want to create a query which allows a start and end date to be entered.
Query should return one record for each date between reporting start and end date, displaying the ProductID, ProductName, date and either the ProductCost OR the PromoPrice applicable on that date.
This should give me an array of dates from which i would choose the ones i require during the reporting.
I’m stumped with how to produce a query listing the range of dates in such a way.
Anyone able to point me in the right direction? Or offer any other suggestions as to how this should be done