I have a main form named new_mem (based on a table named members) and a subform named family1sub (based on a table named family1). There is a field called ID in the family1 table that joins with a field called MemberID in the members table.
One of the fields on the subform is called locker and it's a yes/no data type. What I want to do is count the number of family members where locker is true and multiply that number times $10.00 where the family1.ID matches the MemberID on the main form.
On my main form (new_mem), I have an unbound text box where I want to display the calculated value. This value should automatically update to the correct value if a change is made in the family1 subform (ie if 4 members of a family have lockers now and the value is $40.00, I'd like it to change to $30.00 if I change one of the family members to not having a locker).
I would very much appreciate any help you can offer me.
Thanks in advance for your help. CarolOB
One of the fields on the subform is called locker and it's a yes/no data type. What I want to do is count the number of family members where locker is true and multiply that number times $10.00 where the family1.ID matches the MemberID on the main form.
On my main form (new_mem), I have an unbound text box where I want to display the calculated value. This value should automatically update to the correct value if a change is made in the family1 subform (ie if 4 members of a family have lockers now and the value is $40.00, I'd like it to change to $30.00 if I change one of the family members to not having a locker).
I would very much appreciate any help you can offer me.
Thanks in advance for your help. CarolOB