Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sum of Group figures 1

Status
Not open for further replies.

idehen

Technical User
Joined
Oct 26, 2004
Messages
92
Location
GB
I am using CR 10 and want to get grand total of figures displayed in a group.

Example

Group name: IDNos

and have fields displayed as:

IDNos Date Amount
123 01/01/2007 220
345 01/02/2007 620
678 07/02/2007 800

The above data are all showing at the group level called IDNos.

Is there anyway i can get a GRAND TOTAL based on the Amount at the group level rather than at the data level.

The result showing at the group level is not the result of the sum figures at the detail section but rather the highest amount been automatically picked up instead.

Please advise if there's anyway of getting a grand total based on a group result.

Thanks in advance....

Solomon
 
Use variables. In the group footer:

WhilePrintingRecords;
Numbervar Mytotal:=Mytotal +insert your group max field here

In the report footer:

WhilePrintingRecords;
Numbervar Mytotal;

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports

"What version of URGENT!!! are you using?
 
Thanks dgillz,

This has worked perfectly just how i wanted it.

Cheers mate!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top