H
Herman_KLF
Hi All
I am almost sure you wil be able to help me rather quick.
I set up a report with two subreports counting stock. The 2 subforms
(PurchasesSub and SalesSub) are only a field each having the total of items
bought and the total of items sold. On the parent form (Stock) I created a
field to determine the difference between the 2. Everything went well, until
i found that if i have a product which i bought that had no sales yet, i.o.w
the sales figure is NULL the last figure gives me an #Error.
The code that I initially used was
=[Purchases1].[Report]![Sum Of Quantity]-[Sales].[Report]![Sum Of Quantity]
After reading the forum for answers l tried
=[Purchases1].[Report]![Sum Of Quantity]-Nz([Sales].[Report]![Sum Of
Quantity],0)
No Luck! The same is happening.
Thank you so long.
Herman
I am almost sure you wil be able to help me rather quick.
I set up a report with two subreports counting stock. The 2 subforms
(PurchasesSub and SalesSub) are only a field each having the total of items
bought and the total of items sold. On the parent form (Stock) I created a
field to determine the difference between the 2. Everything went well, until
i found that if i have a product which i bought that had no sales yet, i.o.w
the sales figure is NULL the last figure gives me an #Error.
The code that I initially used was
=[Purchases1].[Report]![Sum Of Quantity]-[Sales].[Report]![Sum Of Quantity]
After reading the forum for answers l tried
=[Purchases1].[Report]![Sum Of Quantity]-Nz([Sales].[Report]![Sum Of
Quantity],0)
No Luck! The same is happening.
Thank you so long.
Herman