Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

(Quickreport) How to resize the height of vertical lines when a detail band autostretches.

114 views
Skip to first unread message

Jim Albertson

unread,
Jun 17, 2004, 4:25:38 AM6/17/04
to
D7E, QR4.03 Professional

After much searching in the newsgroups, and lots of wasted
time, I came up with the following:

Following code is placed in the BeforePrint event of the
detail band.
DetailBand1 is the name of the detail band.
QRShape2 is a vertical line in the deatail band.

*******************
qrshape2.Height := qrshape2.Height +(trunc(detailband1.expanded));
*******************

Hope it was useful.

cheers,
JA


Jim Albertson

unread,
Jun 17, 2004, 5:03:44 AM6/17/04
to
Please note that there is a problem with
the solution presented earlier:

The lines continue printing after the last detail band
to the end of page.

If anyone has a fix for this please reply.

JA


Pedro MG

unread,
Jul 15, 2004, 9:56:20 PM7/15/04
to
Hi Jim,

did you get the solution ? I used that bit of code, but it didn't work.
Hope to ear from you soon,

Pedro MG
www.tquadrado.com


"Jim Albertson" <jimalb...@yahoo.co.uk> wrote in message
news:40d1...@newsgroups.borland.com...

Jim Albertson

unread,
Jul 16, 2004, 6:25:18 AM7/16/04
to
"Pedro MG" <se...@tquadrado.com> wrote in message news:40f6...@newsgroups.borland.com...

> Hi Jim,
>
> did you get the solution ? I used that bit of code, but it didn't work.
> Hope to ear from you soon,
>
> Pedro MG
> www.tquadrado.com

No fix yet, I'm afraid. I have removed that code
from my application.

JA


0 new messages