Hi All
Need some help generating a report.
I have a table of products with their planned sales by week no & customer.
I can then gather the actual sales from the Orders but I need to be able to produce a report of planned vs actual, where in some cases, there are planned but no actual sales and actual but no planned sales and include a balance on the report, so I need to convert the nulls to zeroes.
Can I use a Union query to generate the data I need or a series of append queries ?
tblPlanned
Product, PlannedSales, WeekNo, Customer
tblActual
Product, ActualSales, WeekNo, Customer
I am not quite sure what the Union query would look like.
Any help greatly appreciated.
Regards
Antony
Need some help generating a report.
I have a table of products with their planned sales by week no & customer.
I can then gather the actual sales from the Orders but I need to be able to produce a report of planned vs actual, where in some cases, there are planned but no actual sales and actual but no planned sales and include a balance on the report, so I need to convert the nulls to zeroes.
Can I use a Union query to generate the data I need or a series of append queries ?
tblPlanned
Product, PlannedSales, WeekNo, Customer
tblActual
Product, ActualSales, WeekNo, Customer
I am not quite sure what the Union query would look like.
Any help greatly appreciated.
Regards
Antony