I have a report that has a details band with one group header and footer band around it. The details band is sorted by date and the header is grouping by a name. For example
Brown
01/01/2001
02/02/2002
03/03/2003
Total 3
Smith
01/01/2001
02/02/2002
Total 2
The data is not sorted by Name and Date. The report does all the sorting.
Under Engine V1 this works as expected. The report will first order the data by name and then by date. Under Engine V2 the ordering by Name is not done and to make the report work I have to add the name sort to the top of the sorting on the details band. Is this a "feature" of Engine V2 - forcing me to add a sort even though I have created a group - that I think should sort for me, as with Engine V1?
This can be seen on the demo Simple Grouped report. If you load the report SimpleGroup.mrt and alter the details band sort to Contact Name then except for the data within the groups altering in order the groups stay the same. Switch the report to Engine V2 and the report goes wrong.
Grouping And Sorting Differences Between Engine V1 and Engine V2
Grouping And Sorting Differences Between Engine V1 and Engine V2
Hello.
I could not reproduce the issue you wrote about. All worked correctly.
GroupHeader has a feature for sorting of itself. This sorting is not responsible for the sorting of the DataBand, but only for grouping.
Please double click the GroupHeader and you will see SortDirection combobox in the upper right corner.
DataBand sorts its own records according to Sort property of the DataBand.
In the report from Demo.exe sample application you could get confused with sorting by the field "ContactName". This column is not shown on the report, because there is another field "ContactTitle" in the report template. Please see the report in the attachment.
Please let me know if there are some additional steps required for reproducing of the error. I used the latest prerelease build 2008.2 available for downloading.
Thank you.
I could not reproduce the issue you wrote about. All worked correctly.
GroupHeader has a feature for sorting of itself. This sorting is not responsible for the sorting of the DataBand, but only for grouping.
Please double click the GroupHeader and you will see SortDirection combobox in the upper right corner.
DataBand sorts its own records according to Sort property of the DataBand.
In the report from Demo.exe sample application you could get confused with sorting by the field "ContactName". This column is not shown on the report, because there is another field "ContactTitle" in the report template. Please see the report in the attachment.
Please let me know if there are some additional steps required for reproducing of the error. I used the latest prerelease build 2008.2 available for downloading.
Thank you.
- Attachments
-
- 94.SimpleGroup.mrt
- (26.65 KiB) Downloaded 238 times
Grouping And Sorting Differences Between Engine V1 and Engine V2
I have tried with the latest download and your mrt file, and the problem is still there. Here are my results:
1. Results With Engine V1

2. Results With Engine V2

3. Group Definition

4. Sort Definition

All I did was load the report, preview it and then switch back to the design page and change the engine version from 1 to 2, and then preview again, then repeat switching from 2 to 1. Would the version of the .NET framework make any difference. I have versions 1.0.3705, 1.1.4322, 2.0.50727 and 3.0 installed. Using Vista Ultimate 32bit (with service pack 1).
I can repeat this problem on the nested groups report too. I simply remove the sort entries on the details band and the report should still sort as group headers define the sort - but it does not. Again only under engine V2.
1. Results With Engine V1

2. Results With Engine V2

3. Group Definition

4. Sort Definition

All I did was load the report, preview it and then switch back to the design page and change the engine version from 1 to 2, and then preview again, then repeat switching from 2 to 1. Would the version of the .NET framework make any difference. I have versions 1.0.3705, 1.1.4322, 2.0.50727 and 3.0 installed. Using Vista Ultimate 32bit (with service pack 1).
I can repeat this problem on the nested groups report too. I simply remove the sort entries on the details band and the report should still sort as group headers define the sort - but it does not. Again only under engine V2.
Grouping And Sorting Differences Between Engine V1 and Engine V2
Hello,
Please send the report template (SimpleGroup.mrt) with settings which resulted in wrong output to support[at]stimulsoft.com for analysis, please.
I tested this behavior on Vista 32 (but without SP1) and again without any success in reproducing of the wrong behavior.
Thank you.
Please send the report template (SimpleGroup.mrt) with settings which resulted in wrong output to support[at]stimulsoft.com for analysis, please.
I tested this behavior on Vista 32 (but without SP1) and again without any success in reproducing of the wrong behavior.
Thank you.
Grouping And Sorting Differences Between Engine V1 and Engine V2
Email Sent. Good luck.
Grouping And Sorting Differences Between Engine V1 and Engine V2
I checked the mrt file you sent me, thank you for that. Version number is 2008.2.263. It is a prerelease dated 24th July. It is not the last prerelease available on site. But in July this issue was in that prerelease. Now this issue is corrected. Please delete all occurrences of Stimulsoft*.dll files from GAC and after that last version of our prerelease will be used.
Thank you.
Thank you.