Print Page | Close Window

Help with counting a field

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=9776
Printed Date: 05 May 2024 at 10:14am


Topic: Help with counting a field
Posted By: PokerMunkee
Subject: Help with counting a field
Date Posted: 21 Apr 2010 at 12:15pm
I am trying to edit an existing report that someone created.
 
It basically looks like this:
 
NAME          BARCODE      REDEEMED
Bob Jones  Barcode1       03/01/2010
Bob Jones Barcode1        03/03/2010
Bob Jones Barcode1       04/04/2010
Cindy Sue  Barcode1      03/02/2010
Cindy Sue Barcode1      03/04/2010
etc
 
 
I need to supress it so Bob Jones and Cindy Sue show up only one line and there is a count of the total barcodes.
 
So it would look like:
 
Bob Jones  Barcode1   3
Cindy Sue   Barcode1  2
 
Could someone give me some hints on how to do this??
 
 
Thanks,
Eric



Replies:
Posted By: DBlank
Date Posted: 21 Apr 2010 at 1:15pm
Group on Name field
Place the barcode Field on the Group header next to the group header
Supress the details section
Insert a Summary (sigma Sign) as select the Date field
Do a Summary as a Count
Placed on Group 1
Move the sumamry field from group footer to group header
supress group footer
 
This process assumes you do not ahve different bar code types that you want counted. If that is the case you would do a second group on the barcode field.



Print Page | Close Window