Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Grouping on a Variable

edited February 2005 in General
I am grouping on a variable on my report but it will not group. Do I have to
put code into OnGetBreakValue to make it realise that variable has changed
value?

cheers

tom

Comments

  • edited February 2005
    BTW I am using RB 9.01

  • edited February 2005
    Hi Tom,

    Unfortunately the OnCalc event fires too late to effect the break value of a
    group. Although this is not something we recommend, you may try changing
    the value of your variable in the DetailBand.BeforePrint event to work
    around this limitation. However keep in mind that this event may fire more
    than once per traversal so you will probably need to add another check
    inside this event for that scenario.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.