How to build report with several memo fields

mierlpmierlp Netherlands
edited 1:19PM in FastReport 3.0
Hi,

I can't figure it out how to build a report which uses 5 memo fields.
Every memo field needs to print all text, - mostly 20 rows, and at the
end of the page create a nice pagebreak and print the rest on the
second...fifth pages. I don't want to print every memo on a new page.

What a the steps to realise this report ?

Thankx

Peter


Comments

  • gordkgordk St.Catherines On. Canada.
    edited 1:19PM
    set text objects stretch and stretchmode props and the bands stretc and allow split props.
    ;)
  • mierlpmierlp Netherlands
    edited 1:19PM
    Hi,

    Well...that's what i did try....BUT...the text goes OVER de pagebreak
    even in a preview without creating a second page. What i did was :

    - put MASTERDATA and put some fields on it

    - put first DETAILDATA and put first memo....let's call it PROBLEM
    - property Problem.StretchMode=smMaxHeigt
    - property DetailData.Stretched:=true

    - put second DETAILDATA and put first memo....let's call it SOLUTION
    - property Solution.StretchMode=smMaxHeigt
    - property DetailData2.Stretched:=true

    What happends : second memo starts on NEW page

    THEN

    - set property DetailData2.Stretched:=false
    What happends : second memo will be printed directly under the first BUT
    NO new pages will be created and text goes over the pagebreak.
    Within QuickReport you have to use ''childs'', so i did try it...same result
    as above

    So...if someone has solution it will be great.

    Thanks
  • gordkgordk St.Catherines On. Canada.
    edited 1:19PM
    you must set the allowsplit property of the band containing the stretched memos.
    ;)
  • mierlpmierlp Netherlands
    edited 1:19PM
    Hi,

    You made me happy... ;)
    I just switched from QR to FastReport...and still
    learnig...thanks for the help

    Greetz
    Peter
  • gordkgordk St.Catherines On. Canada.
    edited 1:19PM
    Hi Peter
    forget how things were done in qr
    compile the demo aps and look at them
    fom the ide as well as run time
    read the programmers manual and the users manual
    and try the examples in the user manual.
    ;)

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.