Groups aren't grouping

Hi Fast Reports team and fellow forum members.

I'm trying to create a function which generates a Fast Report report programmatically. I've got it to work for the most part, but I am having trouble getting the grouping to work. What happens is that the group header band displays as expected, but the data doesn't actually get grouped (see attached image and text file containing the code).

I suspect the issue is somewhere in the section where I am creating the group header, but I could be wrong.

Any help would be appreciated, I am stuck for ideas at the moment.

Thanks.

Comments

  • gpigpi
    edited 3:09AM
    Attach your generated report template (fr3) here
    Try
    GroupHeaderBand.Condition := DMGenericFastReport.frxDBDataset.Name+'."'+AReportParameters.Fields.Name+'"';
    too
  • edited 3:09AM
    gpi wrote: »
    Attach your generated report template (fr3) here
    Try
    GroupHeaderBand.Condition := DMGenericFastReport.frxDBDataset.Name+'."'+AReportParameters.Fields.Name+'"';
    too

    Hi gpi, yes your suggestion was right, the QuotedStr was causing the problem > Easy done, nice work!

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.