cancel
Showing results for 
Search instead for 
Did you mean: 

Numbering To All Detail Sections

Former Member
0 Kudos

Hi,

Am developing a report in crystal report from visual studio.

I need a help.

In my report there are so many detail sections.

Example : Every record i divided into 5 parts.

One Record i divided into A,B,C,D and E

every part is in a new detail section.

Now What i need is

Record 1

1 A

2 B

3 C

4 D

5 E

Record 2

6 A

7 B

8 C

9 D

10 E

so on.....

like this i want a serial number beside every detailsection.

Accepted Solutions (1)

Accepted Solutions (1)

DellSC
Active Contributor
0 Kudos

This is not too difficult.  What you'll do is group on whatever makes a record unique.  Then you'll create a couple of formulas:

{@InitRowCount}

NumberVar rowcount := 0;

Place this in the report header.

{@RowCount}

NumberVar rowcount := rowcount + 1;

In each of your details sections, place a text object where you want the row number to display.  Drag the {@RowCount} formula into it.  Then double click the text object to edit it, place your cursor after the formula and enter the letter of the section.

-Dell

Answers (0)