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?
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.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com