Link to home
Start Free TrialLog in
Avatar of Fi-es
Fi-esFlag for India

asked on

How to reset Crystal Report's Record Number on change of group?

Hi All,

I need a report of items grouped by item category like below. I use Crystal Report 7.

Category A
  1. Item1
  2. Item2
  3. Item 3

Category B
  1. Item4
  2. Item5


I get below result:
Category A
  1. Item1
  2. Item2
  3. Item 3

Category B
  4. Item4
  5. Item5

The problem is...

Item serial number is not reset for each group. You can see Category B starts with item serial number 4.  How to reset Record Number on change of group?

Thank You
Regin T
Avatar of RiteshShah
RiteshShah
Flag of India image

why don't you generate serial number from SQL Server itself and bind it to Crystal?????
Avatar of Fi-es

ASKER

I am supposed not to change the stored procedure.  But I have to prepare the report in the format I explained.

I may use formula in crystal report.
ASKER CERTIFIED SOLUTION
Avatar of GJParker
GJParker
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I would do what GJParker recommends, personally.

~Kurt
Did this work ?