using the count feature

Avatar

06-12-2008

I have a form that collects the age of the people. All fields (6 of them) are named as "Age". If the "Age" is greater than or equal to 3 I need the count of them in another field. I tried this but was uncessfull. Any help is appreciated



If (Age[*] >= 3) then

RAA = Count[*]

endif

Replies

Avatar

Avatar

pguerett

Avatar

pguerett

pguerett

08-12-2008

I think that you will have to test each field individually and if the age is > 3 then increment the other field. I do not think you will be able to do it by using a single expression like you are trying.