Sep 13, 2006 #1 Paul1981 IS-IT--Management Jun 30, 2006 36 GB Hi, i have a field in my group which contains values. Is there a way of counting the amout of "200"'s? For example: 100 200 200 50 200 the count would be- 3 Thanks Paul
Hi, i have a field in my group which contains values. Is there a way of counting the amout of "200"'s? For example: 100 200 200 50 200 the count would be- 3 Thanks Paul
Sep 13, 2006 #2 IanWaterman Programmer Jun 26, 2002 3,511 GB Couple of ways create formula @Count If Field = 200 then 1 else 0 Then do a summary in report footer which sums this formula If the 200 exists a group sum then you will need to use a variable. Place this formula in group footer where 200 is displayed. @count whileprintingrecords; global numbervar 200count; If Sum(field, groupfield) = 200 then 200count = 200count+1; In report footer display variable @displaycount whileprintingrecords; global numbervar 200count; Ian Upvote 0 Downvote
Couple of ways create formula @Count If Field = 200 then 1 else 0 Then do a summary in report footer which sums this formula If the 200 exists a group sum then you will need to use a variable. Place this formula in group footer where 200 is displayed. @count whileprintingrecords; global numbervar 200count; If Sum(field, groupfield) = 200 then 200count = 200count+1; In report footer display variable @displaycount whileprintingrecords; global numbervar 200count; Ian
Sep 13, 2006 Thread starter #3 Paul1981 IS-IT--Management Jun 30, 2006 36 GB Thanks for that Ian! works a treat! Upvote 0 Downvote