Hi,
First of all: Happy New Year!
I'm having a problem. I'm writing an invoice program that works well, but the report for the invoice is the trouble part.. For the layout of the invoice I want a header, the detail part which should consist of a table with a fixed height and the footer.
I want to create a table with borders that shows the invoice lines and on the bottom part the totals, if needed on more than one page. When I draw vertical lines in the detail part of the subreport they only show up for each invoice line, causing a gasp with the bottom part of the table. I found a way to fix this problem, but it only works for the first page of the invoice...
Sketch of what it should look like:
+-----------+----------+------+
|article | quantity | price|
+-----------+----------+------+
|article 1 | 1| 10|
|article 2 | 1| 15|
| | | |
| | | |
+-----------+----------+------+
| Total | $123 |
+----------+------+
Sketch of what it now looks like:
+-----------+----------+------+
|article | quantity | price|
+-----------+----------+------+
|article 1 | 1| 10|
|article 2 | 1| 15|
+-----------+----------+------+
| Total | $123 |
+----------+------+
Please note that invoices can be longer than 1 page, so just drawing longer lines or setting the "can grow" to "no" won't help here.
Can someone please give me a hint how to do this best or direct me to an example?
Thanks a lot,
Bart
First of all: Happy New Year!
I'm having a problem. I'm writing an invoice program that works well, but the report for the invoice is the trouble part.. For the layout of the invoice I want a header, the detail part which should consist of a table with a fixed height and the footer.
I want to create a table with borders that shows the invoice lines and on the bottom part the totals, if needed on more than one page. When I draw vertical lines in the detail part of the subreport they only show up for each invoice line, causing a gasp with the bottom part of the table. I found a way to fix this problem, but it only works for the first page of the invoice...
Sketch of what it should look like:
+-----------+----------+------+
|article | quantity | price|
+-----------+----------+------+
|article 1 | 1| 10|
|article 2 | 1| 15|
| | | |
| | | |
+-----------+----------+------+
| Total | $123 |
+----------+------+
Sketch of what it now looks like:
+-----------+----------+------+
|article | quantity | price|
+-----------+----------+------+
|article 1 | 1| 10|
|article 2 | 1| 15|
+-----------+----------+------+
| Total | $123 |
+----------+------+
Please note that invoices can be longer than 1 page, so just drawing longer lines or setting the "can grow" to "no" won't help here.
Can someone please give me a hint how to do this best or direct me to an example?
Thanks a lot,
Bart