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

groupings in subreport

edited July 2004 in General
Hi
I have 3 groupings in a subreport that I need to be able to change the
'BreakName' dynamically. The other option would be to be able to use
MoveGroup. Those properties don't seem to be able to be available for
subreports...is there any way I can achieve that with my current design?

--
RB 6.03
Delphi 6

Cheers,
Shanil

Comments

  • edited July 2004
    Shanil,
    i think the solution is very easy, at least i'm doing it all the time
    simply put a label in the group header, set the label invisible giving it a
    certain start value, let the group break on that label (so don't break on a
    database field value)
    now you can either change the value of the label in code throught the events
    you want to use for it or through rap code
    so now you have dynamic breaking of groups
    cu
    marc

This discussion has been closed.