repeating hdrs on bands
Hi,
This is my first post on this forum and I am evaluating fastreports for a project i have to do.
I have two tables master - detail relationship.
The details table contains transactions that someone has had processed against there account.
The client wants a pretty report with headings at the top like
Date Transaction Amount etc in boxes
then lines between (all this works fine).
Then when it starts a new page the hdr needs to repeat (which i have done)...
but they want to print a footer so that box finishes neatly on page1 before going to page two and this then printing again on 2.
Like this i suppose
|
|
|
|
| Date | Transaction | Amount |
|___________|____________|__________|
| 20/09/05 | XYZ | 1.0 |
| 21/09/05 | PPOOP | 2.0 |
.
.
Then when the page fills
.
| Amount carried forward 3.0 |
|__________________________________|
and then on the new page
repeat hdr's
but insert
| Brought Forward Amount 3.0 |
| 30/09/05 | XYXYYX 4.0 |
|___________ |_____________________|
| Total amount 7.0 |
__________________________________
(Sorry for the drawing!)
Is this possible.
Regards
Phil
This is my first post on this forum and I am evaluating fastreports for a project i have to do.
I have two tables master - detail relationship.
The details table contains transactions that someone has had processed against there account.
The client wants a pretty report with headings at the top like
Date Transaction Amount etc in boxes
then lines between (all this works fine).
Then when it starts a new page the hdr needs to repeat (which i have done)...
but they want to print a footer so that box finishes neatly on page1 before going to page two and this then printing again on 2.
Like this i suppose
|
|
|
|
| Date | Transaction | Amount |
|___________|____________|__________|
| 20/09/05 | XYZ | 1.0 |
| 21/09/05 | PPOOP | 2.0 |
.
.
Then when the page fills
.
| Amount carried forward 3.0 |
|__________________________________|
and then on the new page
repeat hdr's
but insert
| Brought Forward Amount 3.0 |
| 30/09/05 | XYXYYX 4.0 |
|___________ |_____________________|
| Total amount 7.0 |
__________________________________
(Sorry for the drawing!)
Is this possible.
Regards
Phil
Comments
normally i would do this with a pagefooter? (You can chek Page#=TotalPages# to determinate if your on last Site)
And on next site on Pageheader.
MemoBroughtForward.Visible:=BroughForward>0;
BroughtForward is a variable that contains actual Value so in Pageheader of first site it'll be 0 and this MemoObject is Invisble.
This is no problem. Use ObBeforePrint events to set object-properties.
Hope that helps,
Daniel