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

edited 6:21PM 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:21PM
    In pascal script,How to move the record pointer to next ?
    I want to move it in Beforprint/Afterprint methods.
    Thanks!
  • edited 6:21PM
    .........
  • edited 6:21PM
    Help me please......
  • edited 6:21PM
    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:21PM
    Thanks!

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

Leave a Comment