group band and dataset unidirectional property

edited 10:28PM in FastReport 4.0
Hi,
I use the group header in a report and I get data from SQL select inside my dataset component (firebird) and I used query component with unidirectional property set to false since all report should read the record in one direction but when I create a report that uses the group header I found the report miss one record in all groups except the first one !! when I set unidirectional to false I was able to see correct number of records in each group.

Can any one please explain why is this behavior with the group header ? and if there is another solution to keep using unidirectional set to true and get corect number of records ?

Thanks

Comments

  • gpigpi
    edited 10:28PM
    You can't to use unidirectional datasets with groups because FR engine uses TDataset.Prior for groups
  • edited 10:28PM
    gpi wrote: »
    You can't to use unidirectional datasets with groups because FR engine uses TDataset.Prior for groups

    oh I understand now. Thanks

Leave a Comment