Chuck J
2007-01-30 23:47:27 UTC
I am using Rave 6.5.0 BE with BDS2006.
I am printing out a single database table of employees sorted by
department, then name.
My sorted database records look like:
Accounting Fred
Accounting Joe
Accounting Mary
Sales Ed
Sales Mark
Sales Lou
Support Kim
Support Judy
etc.
I have a group header keyed on department to print a header each time
the department changes and at the beginning of a new page. In the Rave
designer, its Band Style Editor sequence is G 1P.
My problem is that if a department ends on the bottom of a page, the old
department header will print at the start of the new page, followed by
the new department header with no data in between(a widow header).
For example, from the database above:
End of Page 1:
Accounting <Header>
Fred <data>
Joe <data>
Mary <data>
Start of Page 2:
Accounting <Header>
Sales <Header>
Ed <data>
Mark <data>
Lou <data>
As indicated, a header was printed for Accounting on page 2 even though
there were no more accounting records to print. One can use the
MinHeightLeft propery to prevent an orphan header at the bottom of a
page, but I cannot figure out how to prevent a widowed header at the top
of a page.
Any ideas would be appreciated!
Thanks,
Chuck
I am printing out a single database table of employees sorted by
department, then name.
My sorted database records look like:
Accounting Fred
Accounting Joe
Accounting Mary
Sales Ed
Sales Mark
Sales Lou
Support Kim
Support Judy
etc.
I have a group header keyed on department to print a header each time
the department changes and at the beginning of a new page. In the Rave
designer, its Band Style Editor sequence is G 1P.
My problem is that if a department ends on the bottom of a page, the old
department header will print at the start of the new page, followed by
the new department header with no data in between(a widow header).
For example, from the database above:
End of Page 1:
Accounting <Header>
Fred <data>
Joe <data>
Mary <data>
Start of Page 2:
Accounting <Header>
Sales <Header>
Ed <data>
Mark <data>
Lou <data>
As indicated, a header was printed for Accounting on page 2 even though
there were no more accounting records to print. One can use the
MinHeightLeft propery to prevent an orphan header at the bottom of a
page, but I cannot figure out how to prevent a widowed header at the top
of a page.
Any ideas would be appreciated!
Thanks,
Chuck