dbTalk Databases Forums  

Visual Studio - Report Builder - Sorting based on ASCII not on the REsult Set

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Visual Studio - Report Builder - Sorting based on ASCII not on the REsult Set in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
devdewboy
 
Posts: n/a

Default Visual Studio - Report Builder - Sorting based on ASCII not on the REsult Set - 01-06-2006 , 06:20 PM






Hello,

I am creating a report with VS, I provide it with a query that is
sorted. When the report is previewed it is in the wrong sort order.
Example: first column is Month-YYYY and is a colapsable column and
underneath it is all the dates belonging to the Month-YYYY. The report
previewer displays the data as
July-2005
..... < date detail>
June-2005
May-2005
Oct-2005
it should be:
May-2005
June-2005
Jul-2005
Oct-2005

It seems the report builder is not grouping the data base on the result
set, but rather re-sorting.

Any solutions to this problem?

Thanks in advance!


Reply With Quote
  #2  
Old   
Vladimir Chtepa
 
Posts: n/a

Default Re: Visual Studio - Report Builder - Sorting based on ASCII not on the REsult Set - 01-08-2006 , 07:13 AM






Hi,

You should take a deeper look in to the definition of your report.
It has some where default sort. Your result is sorted on month name (J, J,
M, O) instead of month number (5,6, 7, 10).

Thanks,
Vladimir Chtepa

"devdewboy" <devdewboy (AT) hotmail (DOT) com> wrote

Quote:
Hello,

I am creating a report with VS, I provide it with a query that is
sorted. When the report is previewed it is in the wrong sort order.
Example: first column is Month-YYYY and is a colapsable column and
underneath it is all the dates belonging to the Month-YYYY. The report
previewer displays the data as
July-2005
..... < date detail
June-2005
May-2005
Oct-2005
it should be:
May-2005
June-2005
Jul-2005
Oct-2005

It seems the report builder is not grouping the data base on the result
set, but rather re-sorting.

Any solutions to this problem?

Thanks in advance!




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.