Is a Bug? -- For the current record NO...

edited 6:44AM in FastReport 3.0

Report like this:
PageHeader1
Groupheader1, (set StartNewPage=True)
MasterData1
PageFooter1, It include a Memo1,Memo1.text:= frxDBDataset1.Field_for_group

On the last page for current group,Memo1.text is the First record's text for next group,it is not current group's last record! This is NOT logical .

Comments

  • edited 6:44AM
    In pascal script,How to move the record pointer to next ?
    I want to move it in Beforprint/Afterprint methods.
    Thanks!
  • edited 6:44AM
    .........
  • edited 6:44AM
    Help me please......
  • edited 6:44AM
    I have the same problem, and I've posted a question in the mailing list, without having an answer.
    It's not logical from a report point of view, but it is from a dataset one! You know that you have reached the end of the group only when you are in the first record not belonging to that group, of course... so when you print the pagefooter you are in the new group already.
    The solution I've used so far is to assign the field value to a variable (inside the groupband), and then print that variable in the pagefooter.
    Regards
    Marco Menardi
  • edited 6:44AM
    Thanks!

    An alike problem is in PageHeader,My god!!!

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.