G
Guest
Hi there, here is my problem...
I have a query for Design and Development Costs, grouping values by
Business, FiscalYear, Quarter and Project. I also have a query Forecast that
group the forecast data by Project and FiscalYear, giving the values by
quarters (Not every project has a specified forecast)
I am designing a report which should show all Design information with the
respective forecast so:
SELECT [Design - PreFilter].Business, [Design - PreFilter].FiscalYear,
[Design - PreFilter].Quarter, [Design - PreFilter].ProjectID, [Design -
Forecast].TotalForecast
FROM [Design - PreFilter] LEFT JOIN [Design - Forecast] ON ([Design -
PreFilter].FiscalYear = [Design - Forecast].Year) AND ([Design -
PreFilter].ProjectID = [Design - Forecast].Project_ID);
* I have simplified the query to show my problem
Instead of get a NULL value as TotalForecast as usual for those projects
with no forecast, I am getting a #ERROR. In my complete query, which is a
Group Query, I get the error: Invalid use of Null.
[Design - PreFilter] and [Design - Forecast] are queryes that filter Null's
out.
Can you help me?
Thanks
Mauricio Silva
I have a query for Design and Development Costs, grouping values by
Business, FiscalYear, Quarter and Project. I also have a query Forecast that
group the forecast data by Project and FiscalYear, giving the values by
quarters (Not every project has a specified forecast)
I am designing a report which should show all Design information with the
respective forecast so:
SELECT [Design - PreFilter].Business, [Design - PreFilter].FiscalYear,
[Design - PreFilter].Quarter, [Design - PreFilter].ProjectID, [Design -
Forecast].TotalForecast
FROM [Design - PreFilter] LEFT JOIN [Design - Forecast] ON ([Design -
PreFilter].FiscalYear = [Design - Forecast].Year) AND ([Design -
PreFilter].ProjectID = [Design - Forecast].Project_ID);
* I have simplified the query to show my problem
Instead of get a NULL value as TotalForecast as usual for those projects
with no forecast, I am getting a #ERROR. In my complete query, which is a
Group Query, I get the error: Invalid use of Null.
[Design - PreFilter] and [Design - Forecast] are queryes that filter Null's
out.
Can you help me?
Thanks
Mauricio Silva