Simplify the formula by adding three unbound textboxes and organizing the source value locations into them seprately like:
Code:
Textbox name: X
=[OrdersOrdersSubform].[Form]![CoolerVolume]
Textbox name: Y
=[OrdersInventorySubform].[Form]![SumOfVolume]
Textbox name: Z
=[VendorInventoryLevelSubform].[Form]![SumOfVolume]
Textbox name: Result
=[X]-[Y]-IIF(Nz([Z],0)>0,Z,0)
The Nz() function checks for Null value in textbox Z, if Null then takes 0 as it's value otherwise takes the original value in Z.
The Usage of IIF() is IIF(Condition, True, False).
Example:
T=2004
= IIF((T MOD 4)=0, "Leap Year","Not Leap Year")