formating an unbound text box

  • Thread starter Thread starter fishqqq
  • Start date Start date
F

fishqqq

Can someone suggest how i would format an unbound text box that is
basically counting the number of times a checkbox is actually checked?

i'm using the following in the control property of the text box but
it counts ALL the check boxes (checked and unchecked) - the text box
is in the form's footer.

=Count([non haz]=True)

I know the check box is recording yes/no -1/0 but i would like to
count all the yeses and sum them up at the bottom.

thank you
 
Can someone suggest how i would format an unbound text box that is
basically counting the number of times a checkbox is actually checked?

i'm using the following in the control property of the text box but
it counts ALL the check boxes (checked and unchecked) - the text box
is in the form's footer.

=Count([non haz]=True)

I know the check box is recording yes/no -1/0 but i would like to
count all the yeses and sum them up at the bottom.

thank you

Don't count: sum. Set the control source of a textbox in the footer to

=Abs(Sum([non haz]))

To count the "no" values, you can use

=Sum([non haz] + 1)
--

John W. Vinson [MVP]
Microsoft's replacements for these newsgroups:
http://social.msdn.microsoft.com/Forums/en-US/accessdev/
http://social.answers.microsoft.com/Forums/en-US/addbuz/
and see also http://www.utteraccess.com
 
Back
Top