I’m attempting to design a form for printing multi-page letters. Very simple, no headers, no footers, just a large text field which runs over several pages.
I’ve gone about this in FMP-style, a long vertical field that extends across the page boundaries shown in Designer mode.
When I print, and also when I preview, I get just the first page of each of the records currently browsed. This is contrary to the impression given in section 11.3.1 and 11.3.2, page 375 of the Developer docs, volume 1. I’m obviously looking in the wrong place for how to do this.
jaleman:
In ‘Define Parts’ highlight Body part and turn on checkbox ‘Allow part to break across page boundaries’
Did that. Several things happen.
If the body itself is short of the depth of a page, then the top half of the first line on the next record is inserted at the bottom of page one.
Therefore dragged the body part down as far as it would go (about 2.5 pages to 1494). Discovered I can actually force it to go down further by inserting a higher number into the properties. But now I lose access to the body part properties, can no longer set the depth.
Discard the form and create another with a depth of 1494. This is a single text field on a single Body part. Page setup is the default “Na-letter”.
The second page is now displayed – with the next record’s text immediately following it. I now enable ‘Page break before each occurance’. Has no effect. Playing with the width of the form has no effect. Adding a Header part has no effect, with and without setting its break across boundaries and page break before each occurance.
One last attempt to force the issue. I omit the current record, then display omitted records (showing just the one). Previewing continues as above – the following record’s text is still displayed following the first.
Need a clean preview of the current record’s letter, showing none other.
Need the ability to set up letters extending beyond 2.5 pages.
Don’t make field too high, doesn’t make sense. Give a normal height, turn vertical scrollbar to off and in the fields printSliding properties check allow height to grow.
to only print preview the current record use:
controller.showPrintPreview(true)
Morley:
I’m attempting to design a form for printing multi-page letters. Very simple, no headers, no footers, just a large text field which runs over several pages.
I’ve gone about this in FMP-style, a long vertical field that extends across the page boundaries shown in Designer mode.
FMP-style is not the best option, I’m afraid.
I successfully used the Grow-Shrink options, in those situations: make your field even just 100/200 pixels, adjust the form size so you don’t have too much free space under the field and you’ll end up with a text field that will let you print letters of the size you prefere (of course, you also need to activate Break Across… option).