AutoNumber per group box in crystal report
I'd like to add Auto Number per group box in crystal report. He开发者_JAVA百科re I use Record Number but it increases by group box.
Report View
The AutoNumber will be at the front of Barcode Column. How to set it per group box?
To get an incremental number for each record displayed in a group you need to do use a Running Total Field.
- Create a new Running Total Field
- Give it a suitable name
- The
Field to summarize
can be any field, in your caseBarcode
- The
Type of Summary
should beCount
- In the
Evaluate
section you need to selectFor each record
- In the
Reset
section you need to selectOn Change of group
and then select the Group Name from the drop down. - Place this Running Total Field next to the Barcode field.
This should give you an incremental number for each record in your group.
精彩评论