Home Subreports

Heigth

edited December 2002 in Subreports
Hi,
I'll try explain my problem and hope you understand:

I have two subreports in a main report. The main report have no datasource
because only subreports must have data. The design of print is like this:

Group 1 (Sub1)
Group1 (sub2)
record 1
record 1
record 2
record 2
record 3
record 3
record 4
TOTAL Group 1 $$$$$
record 5
record 6
TOTAL Group 1 $$$$$

The heigth of subreports subreports is dynamic(must be dynamic, I can't
change to static because exist invisible labels and variables) and I wanna
align the Total line like this:

Group 1 (Sub1)
Group1 (sub2)
record 1
record 1
record 2
record 2
record 3
record 3
record 4
record 5
record 6
TOTAL Group 1 $$$$$
TOTAL Group 1 $$$$$

Can I do this?
Thanks

Comments

  • edited December 2002
    the design is not like this something was wrong with my editor :)
    Group 1 and Group 2 was in the same line, and records was below Groups, my
    problem is the Total line, if Group 1 of sub 1 have 6 records and group1 of
    subreport 2 have 3 records, I wanna the Total of Group 1 of subreport 1 in
    the same line that Total of Group 1 of subreport 2...

    Thanks
  • edited December 2002
    Use two variables in the group 2 footer band. Then use a variable in each
    subreport to calculate an increment. In the subreport's variable's OnCalc
    event handlers, update the value in the group footer variables. The group
    footer variables will not have an OnCalc event handler. Essentially, use
    them as value holders and let the variables in the subreports do the
    incrementing of the group footer variables. Try setting the variables in the
    group footer to reset after the group.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.