sorting method in databands

Stimulsoft Reports.NET discussion
Post Reply
ajcervera
Posts: 15
Joined: Fri May 28, 2010 3:59 am

sorting method in databands

Post by ajcervera »

Hi,

I am trying to get the data of a databand sorting by an element of type DATE (mm/dd/yyyy) but it seems that the sort method only work for text (and in this case,
it takes date as text too).

For example:

--> Obtained Result (mm/dd/yyyy):

01/06/2012
01/07/2013
03/02/2010
10/15/2011
12/16/2010


--> Expected Result (mm/dd/yyyy):

03/02/2010
12/16/2010
10/15/2011
01/06/2012
01/07/2013


Is there any way to get the sorting method that i need (sort the result by day, month and year) ?

Thanks in advance.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

sorting method in databands

Post by Andrew »

Hello,

Could you, please send us .mrt file and database for reproducing the issue.

Thank you.
ajcervera
Posts: 15
Joined: Fri May 28, 2010 3:59 am

sorting method in databands

Post by ajcervera »

Sorry, but we realized that actually the type of ours elements is "string" instead of "datetime". This seems to be the reason.

Thanks a lot for your help.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

sorting method in databands

Post by Andrew »

Ok! Thank you.
Post Reply