Sorting problem with group

Stimulsoft Reports.Flex discussion
Locked
jorool
Posts: 44
Joined: Wed Dec 08, 2010 1:39 pm
Location: Brazil

Sorting problem with group

Post by jorool »

Hello again!

When I use groupheaderband before a databand, the sort or databand's data is getting weird!
See the image bellow.
In red is the databand inside a group, in green, only the databand.
Note that column "fase" must starts with 101, but 109 comes first on grouped data!

Thank you.
Attachments
789.3.png
789.3.png (122.37 KiB) Viewed 4976 times
JorisWils
Posts: 86
Joined: Tue Jun 30, 2009 7:49 am
Location: belgium

Sorting problem with group

Post by JorisWils »

I don't know about FX for Flex, but if you use the sort option on the databand between the grouping bands it should be okay.
Doesn't that work?
Using Stimulsoft since 2007
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Sorting problem with group

Post by Vladimir »

Hello,

We tested data sorting within the group bands, everything is working correctly. Please send us your report for analysis.

Thank you.
jorool
Posts: 44
Joined: Wed Dec 08, 2010 1:39 pm
Location: Brazil

Sorting problem with group

Post by jorool »

Hello

I had not sorted data on report. My "dataset" was already sorted before sync on report.
I'll create a new index and use sort option of databand!

Thank you again.
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Sorting problem with group

Post by Ivan »

Hello,

We are always glad to help you.
Let us know if you need any additional help.

Thank you.
jorool
Posts: 44
Joined: Wed Dec 08, 2010 1:39 pm
Location: Brazil

Sorting problem with group

Post by jorool »

Hello

I'm havin' a new problem with group and sorting.
My group must to break by two fields (one is string other is integer, in this sequence).
The condition expression of the group is the following

Code: Select all

{dados.maskCodigo, dados.codigoPadrao}
The group breaking works fine, but it get sort like string.
Please see the images below. It shows the fields types and a preview of report.
Attachments
1115.Sem título.jpg
1115.Sem título.jpg (223.2 KiB) Viewed 4895 times
1114.Sem título1.jpg
1114.Sem título1.jpg (148.95 KiB) Viewed 4895 times
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Sorting problem with group

Post by Ivan »

Hello,

Please try to use the following expression in the GroupCondition:

Code: Select all

{dados.maskCodigo}{Format("{0:D8}", dados.codigoPadrao)}
Thank you.
Locked