Group Header is Bug

edited November 2009 in FastReport .NET
I use the "Groups" demo report here,
-add a new GroupHeader in the GroupHeader1, set Condition to [Products.CategoryID], the GroupHeader's Name is GroupHeader2.
-add a new TextObject int the "GroupHeader2", set Text Property to[Products.CategoryID]
preview th report, First Group's Data is OK, Second Group's Data is Error ,

C
4
Camembert Pierrot $34.00
8
Carnarvon Tigers $62.50
1
Chai $18.00
Chang $19.00
Chartreuse verte $18.00

2
Chef Anton's Cajun Seasoning $22.00
Chef Anton's Gumbo Mix $21.35
3
Chocolade $12.75
1
C??te de Blaye $263.50

Total products: 9

FastReport.Net Version is 1.2.68

Comments

  • edited 7:54PM
    Hello,

    In this report, set the sort order to Ascending in both group headers.
  • edited 7:54PM
    AlexTZ wrote: »
    Hello,

    In this report, set the sort order to Ascending in both group headers.

    Default the GroupHeader2' sort order is Ascending, the GroupHeader1' sort order is none, but in the GroupHeader2 don't sort by [Products.CategoryID].For sorting in the GroupHeader2 by [Products.CategoryID], must be sorting in the GroupHeader1.
  • edited 7:54PM
    Yes, that's correct. Either enable the sort in both groups, or disable both and set the sort in the databand.

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.