April 8, 2009 at 5:09 am
Hi All,
I kept sorting for S.No in my report. While i'm sorting the numbers are sort in 1,10,100,2,20,3,30 order but i want 1,2,3,10,20,30,100. Please help me to solve this issue
April 8, 2009 at 5:13 am
It looks like the numbers are stored in a Char/Varchar column.
Convert them to an Integer then sort by the Integer data.
April 8, 2009 at 5:16 am
Thanks for your quick respone. Where to convert ? . In sql(dataset) or by using expression.
April 8, 2009 at 5:19 am
It depends, it you are only storing Numbers in the column then the datatype should be really a Numeric data type.
Otherwise i would do a conversion on the stored procedure/ View that you use to access the data.
April 8, 2009 at 6:08 am
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply