I made a very simple Inventory for our small stock room. The tables are Lens Products and Inventory Transactions. I made and enforced a relationship between the two tables using the ItemNo Field.
What I want to do is make a query that would calculate the stock movement [Out] on a given date interval. I am able to accomplish this properly using the SUM function.
However, there are Lens products/items wherein there was no movement [Out] on the specified date interval. And it is understandable that it will not be included in the query report. However, I still want to show these in the query result as being there was no [OUT] on the specified date interval. I've used NZ ---> Total OUT: Nz(Sum([Out]),0) and it works only if I wouldn't delimit the query to a date interval. Whenever I specify a date interval the items with no [OUT] transactions will not be shown.
I've added IS NULL in the criteria of the date and it doesn't work.
Please help. Thanks.
What I want to do is make a query that would calculate the stock movement [Out] on a given date interval. I am able to accomplish this properly using the SUM function.
However, there are Lens products/items wherein there was no movement [Out] on the specified date interval. And it is understandable that it will not be included in the query report. However, I still want to show these in the query result as being there was no [OUT] on the specified date interval. I've used NZ ---> Total OUT: Nz(Sum([Out]),0) and it works only if I wouldn't delimit the query to a date interval. Whenever I specify a date interval the items with no [OUT] transactions will not be shown.
I've added IS NULL in the criteria of the date and it doesn't work.
Please help. Thanks.
