View Full Version : Count()


josephyeo
12-23-2000, 01:53 AM
How do I make my textbox count only specified records - like "Colors="RED"

My textbox control source says: Count(Colors) - results in counting all the records.

Fornatian
12-23-2000, 04:31 AM
I think you want to do a conditional sum iif statement.

=Sum(Iif(Me!Colors="Red",1,0))

josephyeo
12-23-2000, 01:47 PM
Many thanks. I have read many of your replies to other people. It's people like you who takes the time to help others that makes this place a better world. Thanks again. Jo.

Fornatian
12-24-2000, 03:14 AM
And a Merry Christmas to you too!!