Print line between detailrecords
Hi,
First of all: I do have RB12 incl. RAP, so maybe that makes things easier
to accomplish???
To increase visibility of the next orderline, I want to print a dotted line
between each record/row.
I do not want to print this dotted line above the first record/row of below
the last record/row.
Also it should take into account that there might be multiple pages for one
order.
So I need some way to control the visibility.
Something like this must be the result:
Page 1 of 2
Description Amount
__________________________
My 1st orderline 20
------------------------------
My 2nd orderline 20
------------------------------
My 3rd orderline 20
Page 2 of 2
Description Amount
__________________________
My 4th orderline 20
------------------------------
My 5th orderline 20
------------------------------
My 6th orderline 20
Thanks,
Stef
First of all: I do have RB12 incl. RAP, so maybe that makes things easier
to accomplish???
To increase visibility of the next orderline, I want to print a dotted line
between each record/row.
I do not want to print this dotted line above the first record/row of below
the last record/row.
Also it should take into account that there might be multiple pages for one
order.
So I need some way to control the visibility.
Something like this must be the result:
Page 1 of 2
Description Amount
__________________________
My 1st orderline 20
------------------------------
My 2nd orderline 20
------------------------------
My 3rd orderline 20
Page 2 of 2
Description Amount
__________________________
My 4th orderline 20
------------------------------
My 5th orderline 20
------------------------------
My 6th orderline 20
Thanks,
Stef
This discussion has been closed.
Comments
Line.OnPrint event to toggle the visibility.
In RAP code this would be
myLine.Visible := Report.Detail.Count > 1;
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Thanks.
Just when there are multiple pages the line is drawn too at the bottom of
the previous page or at the top of the new page.
Is there a way to handle that too?
the issue is. Perhaps you can create a simple example using the DBDemos data
and send to support@ in zip format and then I can take a look at it.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com