G
Guest
Yesterday I posted this question :
"I have a form called "Investments" and then a subform set up to record
detailed investment transactions for each investment. I would like to add
the "Investment cost" field in the footer of the subform based on only those
detailed transactions with no check in the check box for "replaced/sold"
(which means they are still active investments).
Normally I would just set up an unbound text box and use
=sum([InvestmentCost]) to calculate that field, but how do I bring into this
formula only those with no check?"
It was suggested I use =Sum(IIF[replaced/sold]=0,[InvestmentCost],0)) which
didn't work. It just shows $0.00. I tried
=Sum(IIF[replaced/sold=False,[InvestmentCost],0)) and that also only produced
$0.00.
Does anyone else have any ideas?
"I have a form called "Investments" and then a subform set up to record
detailed investment transactions for each investment. I would like to add
the "Investment cost" field in the footer of the subform based on only those
detailed transactions with no check in the check box for "replaced/sold"
(which means they are still active investments).
Normally I would just set up an unbound text box and use
=sum([InvestmentCost]) to calculate that field, but how do I bring into this
formula only those with no check?"
It was suggested I use =Sum(IIF[replaced/sold]=0,[InvestmentCost],0)) which
didn't work. It just shows $0.00. I tried
=Sum(IIF[replaced/sold=False,[InvestmentCost],0)) and that also only produced
$0.00.
Does anyone else have any ideas?