Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Dynamically setting the language code in a report does not appear to affect the ordering correctly. Is this a defect?

$
0
0

Hi All

I have a problem with SSRS in that the ordering of data within the report does not appear to be consisent, and does not appear to be affected by the setting of the language code.

I have a database table where the description column is an nvarchar, which is linked to a parent table specifying the langauge the description is in.

Within an SSRS 2005 report, I need to load the description data and be able to set the ordering language dynamically.  Specifically I'm trying to order on a set of Chinese phrases (Language Code = zh-CN)

I have created a simple report containing a table component to display the description data, and a report variable to take the language code for the report.  The lanaguage code is applied to the Report and table components Language property, and the data table sort has been specified.  When I initially preview the report in VS2005, the ordering is incorrect (it appears that the default collation of latin_1 has been applied).  However if I press the view report button again the ordering of the data changes to the correct sequence.  Pressing the refresh data button again displays the data incorrectly formatted.

Further investigation has shown that the data set collecting the data for the report has a Data Options page.  Changing the collation option from Default to Chinese PRC resolves the issue, however this value cannot be set dynamically.  Thus I'm a bit stuck!

Does anyone have any suggestions on how I can dynamically specify the collation for the report?


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>