Hello,
in a report, there is a DetailBlock, that contains a picture, that is filled from an InputItem. The first DetailLine extends across the whole width of the page. the subsequent DetailLines are indented. The picture should be located to the left of the DetailLines. The number of Detailines is not restricted ( 1 - n ), but could be lower than the size of picture. How can I tell the next DetailBlock to start after the picture? How can I tell the picture to 'keep on page' - that is to launch a pagebreak?
TIA
Sepp
Picture in DetailBlock: keep on page but not the DetailLines
Re: Picture in DetailBlock: keep on page but not the DetailLines
Sepp -- I think I understand most of what you are asking, though if I'm wrong some sort of image of what you want the layout to look like would be helpful. Let me reply to a couple things you wrote:
If this is what you want, then that's 3 input items:
1 - TITLE_FIRST_LINE_ITEM
2 - PICTURE_ITEM
3 - DETAIL_LINES_ITEM (and in Properties/Behavior set Line Wrapping = Dynamic)
Set the Detail Block to be kept On Page and RB should start a new page if all that above won't fit on the current page.
I'd recommend you put together a test case -- app + qrp -- for yourself that you can to work out the details. And your own drawing like I've shown above to help us understand what you want, if that image above is not correct.
That is, the picture should be left-justified in the Detail Block and under this first line, correct?The first DetailLine extends across the whole width of the page.
Yes, the picture should be to the left of the Detail lines as I've shown below. As you wrote in the quote previously, this first line is the full width of the Detail Block and under this first line, correct?the subsequent DetailLines are indented. The picture should be located to the left of the DetailLines.
Code: Select all
page width
|------------------------------------------------------------------------------------|
SOME TITLE LINE OF TEXT THAT EXTENDS THE FULL WIDTH OF THE PAGE.......................
|------------------| DETAIL LINES 1...
| PICTURE | LINES 2
| | LINES 3
| | LINES 4
|------------------| LINES 5
LINES 6
ETC.
1 - TITLE_FIRST_LINE_ITEM
2 - PICTURE_ITEM
3 - DETAIL_LINES_ITEM (and in Properties/Behavior set Line Wrapping = Dynamic)
Set the Detail Block to be kept On Page and RB should start a new page if all that above won't fit on the current page.
This is what's confusing: Previously you had written that you want the detail lines to start to the right of the picture. ("The picture should be located to the left of the DetailLines.")How can I tell the next DetailBlock to start after the picture?
RB does not have a Properties option for the picture to Keep: On Page. Nor does it for the detail item. It's the Detail Block itself which will be kept on the page. If Keep: On Page is set for the Detail Block, then RB will calculate whether the contents (lines + picture, I belive) can be displayed on what remains of the current page, and if not it generates a new page and starts there.How can I tell the picture to 'keep on page' - that is to launch a pagebreak?
I'd recommend you put together a test case -- app + qrp -- for yourself that you can to work out the details. And your own drawing like I've shown above to help us understand what you want, if that image above is not correct.
Jeff Luther @ PC Design
Palm Springs, California
Palm Springs, California
Re: Picture in DetailBlock: keep on page but not the DetailLines
Hello Jeff,
TNX for response.
You are absolutely right: this "image above" is wrong. You did exactly understand what output we want.
Sadly there is no "Keep: on page" for a picture - but we are fine with a "Keep: on page" for the whole DetailBlock.
kind regards
Sepp
TNX for response.
You are absolutely right: this "image above" is wrong. You did exactly understand what output we want.
Sadly there is no "Keep: on page" for a picture - but we are fine with a "Keep: on page" for the whole DetailBlock.
kind regards
Sepp
Re: Picture in DetailBlock: keep on page but not the DetailLines
I am glad to read you found something that will work for you, Sepp. That's how you would want it anyway, I would think: Force RB to have the entire title/picture/details on a single page. That's what Keep: On Page for the Detail Block does.we are fine with a "Keep: on page" for the whole DetailBlock
Jeff Luther @ PC Design
Palm Springs, California
Palm Springs, California
Who is online
Users browsing this forum: [Ccbot] and 0 guests