Home End User

Row counter per group line?

edited June 2017 in End User
Hi Team,
D10.2, Latest RBEnt.
My report has Detail and Group bands.
The Detail bands are hidden.
I am trying to implement a counter (an item/row #) that increments by 1 aton each group band so the group bands become
sequentially numbered, not including the detail band rows.
I seem to be going around in circles.
Some assistance/guidance would be appreciated.

Regards & TIA,
Ian

Comments

  • edited June 2017
    Hi Ian,

    Try this..

    - add Variable to GroupHeader/Footer and set DataType to dtInger
    - right mouse over Variable and choose Timing.. to display the Timing
    dialog. Select Calculate On GroupStart and use the combo box just below to
    select the Group
    - implement the Variable OnCalc event like this
    Value := Value + 1





    Best regards,

    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited June 2017
    Hi Nard,
    Excellent thank you. I got myself all confused with GroupStart, GroupEnd, etc.

    Regards & Tks Again,
    Ian
This discussion has been closed.