Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 23rd, 2006, 05:49 AM
Registered User
 
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Restart new group number in Group Footer

Hi, All.

I need to display record in Group Footer, which is the group number will be started to beginning for each group.
Here is my sample record in footer group and need to be displayed as follow:

Group A
No. Qty
1 50
2 30
3 20

Group B
No. Qty
1 10
2 20
3 40

Now, I'm trying to insert the group number, but the display is not as I expected.

Here is the sample:
Group A
No. Qty
1 50
2 30
3 20

Group B
No. Qty
4 10
5 20
6 40

Thanks

Best Regards,

Sukarso


 
Old August 31st, 2006, 10:46 AM
Authorized User
 
Join Date: Dec 2004
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts
Default

create 2 formulas one that increments counts for each group and one to reset the value.
 
Old October 13th, 2006, 12:11 PM
Registered User
 
Join Date: Oct 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Alternatively, you can create a Running Total Field on your group title (use "count" or "distinct count") that resets on a change of your group title. In your example, you'd be receiving 3 rows of data per group, each with the same group title (e.g. "Group A"), and the RTF would count 'em 1, 2, 3, and reset the counter upon every change of the group title. Then just drag your new RTF onto your report where you want the number to appear (left of your Qty in your example).

Hope that helps.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Extracting a number range from tag attribute group maikm XSLT 6 August 25th, 2008 04:54 PM
Group Within another Group, xslt1.0 jhansib4u BOOK: XSLT Programmer's Reference, 2nd Edition 4 November 22nd, 2007 01:24 AM
How can i create a number of page of group?? tetrap Crystal Reports 0 September 10th, 2006 10:08 AM
Group by , Sub Group by and Sum mateenmohd SQL Server 2000 1 March 29th, 2005 09:51 AM
Sorting based on formula in group footer NixyJ Crystal Reports 0 August 27th, 2004 06:37 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.