Hi, I thought this would be straightforward.
I have a form with a subform of various items, each with an associated cost. If the user ticks 'paid' field, it should not contribute towards the Sum of the individual costs.

For the subform, in the footer, i have tried various permutations to get the Sum of the Amount Remaining textbox (which is unbound). For example, I've tried :
Code:
=Sum([txtAmountRemaining])
=Sum(Nz([txtAmountRemaining],0))
These expressions return an error in the textbox #Error.

When run, it shows error message:

Any ideas on why it's not returning a value?