How to layout an Invoice? Fixed subreport?
I created an invoice for an order with order items. The report is laid
out like as follows:
Main Report.Header: Company Address, Customer Info, Order Info
Main Report.Detail.SubReport1.GroupHeader: Order Items Header
Main Report.Detail.SubReport1.Detail: Order Items
Main Report.Summary: Sales Amount, Tax, Order Total
Main Report.Summary.SubReport2.Detail: Payment Methods
Main Report.Summary.SubReport2.Summary: Total Payments, Balance Due
The order items subreport has lines separating each column. The client
wants the order items band a static height with the lines going down the
page.
If I setup the band as static, the first item prints with the lines and
a lot of white space follows and then Main Report.Summary prints at the
bottom of the page.
How can I setup the order items band as static, have the band fill in
with order items, complete the rest of its static height with column
lines, and then print Main Report.Summary band?
out like as follows:
Main Report.Header: Company Address, Customer Info, Order Info
Main Report.Detail.SubReport1.GroupHeader: Order Items Header
Main Report.Detail.SubReport1.Detail: Order Items
Main Report.Summary: Sales Amount, Tax, Order Total
Main Report.Summary.SubReport2.Detail: Payment Methods
Main Report.Summary.SubReport2.Summary: Total Payments, Balance Due
The order items subreport has lines separating each column. The client
wants the order items band a static height with the lines going down the
page.
If I setup the band as static, the first item prints with the lines and
a lot of white space follows and then Main Report.Summary prints at the
bottom of the page.
How can I setup the order items band as static, have the band fill in
with order items, complete the rest of its static height with column
lines, and then print Main Report.Summary band?
This discussion has been closed.
Comments
Did you try setting the lines ParentHeight property to True? Using a Fixed
subreport may also be a possible solution. You could size the subreport to
fill the empty space between the detail band and the summary band and fill
that space in with the verticle lines.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
The lines are set to ParentHeight. I increased the height of the
subreport itself, not the component on the main report, to 5.25". When I
set the subreport on the main report to Fixed, none of the subreport
prints. It's like the summary band collapses on the header. When it is
child, it prints, but the lines are not extended.
If I set the subreport to Fixed and not Dynamic height, the lines do not
print (or I can't find it) and have a lot of white space below the main
report header and the items show up on the second page. The subreport's
height be too much, but in either case, the lines do not extend.
I am using ReportBuilder Professional 6.02 for Delphi 5.
Does the newsgroup take attachments so I can show you what's it's doing?
Go ahead and send the attachment to support@digital-metaphors.com with
"Attn: Nico" in the subject and I'll take a look.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com