Sorry I have this in the forms section but no one seems to look there so trying my luck here
I am having a problem in my form,
I have a stock control that has tabs, on the tab (Activity) I have a subform that is populated by a table called Stock Activity and simply shows all the stock in and stock out.
In the footer I created a text box (text17) have this sum
=Sum([StockIn]-[StockOut]) to calculate the actual stock
On the First tab (Stock Data) I have a field called Total Stock and in that I have this:-
=[Stock Activity subform2].[Form]![Text17]
But it doesn't show the results. But if I change the =Sum([StockIn]-[StockOut]) to just =Sum([StockIn]) or visa-a-versa it displays the number
Why is this happening? Any ideas?
I am having a problem in my form,
I have a stock control that has tabs, on the tab (Activity) I have a subform that is populated by a table called Stock Activity and simply shows all the stock in and stock out.
In the footer I created a text box (text17) have this sum
=Sum([StockIn]-[StockOut]) to calculate the actual stock
On the First tab (Stock Data) I have a field called Total Stock and in that I have this:-
=[Stock Activity subform2].[Form]![Text17]
But it doesn't show the results. But if I change the =Sum([StockIn]-[StockOut]) to just =Sum([StockIn]) or visa-a-versa it displays the number
Why is this happening? Any ideas?