Cara reset group number ke urutan 1,2



As we know, field “record number” from “special fields” in Crystal Report starts from 1 and increase one by one for each record until last page of the report. However, when we need a record number field that resets from 1 whenever the group field changes, we need to manually create it.To create the record number field, here are the steps:
  1. Create a new “Running Total Field”
  2. Give a name for the field, for example : rtf_recordNumber
  3. Choose a field to summarize.
  4. Set the “Type of summary” to “count”
  5. On “Evaluate”, choose “For each record”
  6. On “Reset”, choose “On change of group”.
  7. Choose the “key” group name field that will reset the record number.
  8. Click OK
  9. Add the field to the report.
Give it a try…

0 comments: