problem with keep together in Groupheader

softdatasoftdata Italy
edited 2:14AM in FastReport 4.0
<!--fonto:Lucida Console--><span style="font-family:Lucida Console"><!--/fonto-->good day,
sorry my english is bad,
i have problems with keep together in Groupheader,
when the memo.height in Masterdata is greater than the page.height.

I try to explain,

Example
Groupheader - KeepTogether = true
Masterdata - AllowSplit = true;


!
! page-1
!GROUP - 1 ***
! - row 1
! - row 2
!GROUP - 2 ***
! - row 1
! - row 2
!
!
!
! = okay



!
! page-2
!GROUP - 3 ***
! - row 1
! - row 2
! - row 3
!
!
!
!
!
! = okay



But, memo1.heigth > engine.freespace


!
! page-3
!GROUP - 4 ***
! (the site remains empty ??)
!
!
!
!
!
!
!
! = Error (not okay ) [img]style_emoticons/<#EMO_DIR#>/mad.gif" style="vertical-align:middle" emoid=":angry:" border="0" alt="mad.gif" /> ![/img]
! page-4
! - row 1 - The data from Group-4
! - row 2
! - row 3
! - row 4
! - row 5
! - row 6
! - row 7
!
! = not okay



!
! page-5
! - row 8
! - row 9
!
!
!
!
!
!
!
!



!
! page-6
! GROUP-5 ***
! - row 1
! - row 2
! - row 3
!
!
!
!
! = okay again


I using Fastreport 4.6.5
how can I make?

Thank you
Oswald<!--fontc--></span><!--/fontc-->

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 2:14AM
    what version and build no of fr4?
    ie : 4.6.106
  • softdatasoftdata Italy
    edited 2:14AM
    gordk wrote: »
    what version and build no of fr4?
    ie : 4.6.106


    Good day, and thank you for the answer.

    yes, i have the version 4.6.106 (stable version) from 10-04-2008.

    whit the version 4.6.107 (current version),
    it's the same problems

    Best regards,
    Oswald
  • gordkgordk St.Catherines On. Canada.
    edited 2:14AM
    this is a situation that is caused by using keep together and allowsplit and stretch.
    IMHO you cannot use all 3 together as one attempts to override the other.
    what is probably happening is record 3 of group 3 is stretching just enough to cause allow split to start a newpage, but there is nothing to print because we are finished with the data of that group.
    so it starts the header of group 4. This could be a bug in the engine.
    You might want to take out a support ticket and send your report and sample data
    so it can be reproduced.

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.