Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Services / Reporting Services / November 2006

Tip: Looking for answers? Try searching our database.

setting value for language property

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark Andrews - 28 Nov 2006 15:18 GMT
This is my second day with reporting services so forgive my ignornace.

Question:
Looking into how to change the language property at runtime.  Could anyone
give me a simple example?

Example: I just created this quick function
Public Function CustomFormat(Value as Integer) as String
      Select Case Value
      Case 1
            Return "default"
      Case Else
            Return "English (United Kingdom)"
      End Select
End Function

and called it by
=Code.CustomFormat(1)
or
=Code.CustomFormat(2)
in the language property.

Keep getting error
[rsInvalidLanguage] The value of the Language property for the textbox
'textbox7' is "default", which is not a valid Language.

or

[rsInvalidLanguage] The value of the Language property for the textbox
'textbox7' is "English (United Kingdom)", which is not a valid Language.

Please help,
Mark
BYU - 29 Nov 2006 01:56 GMT
Well, the correct language codes are:

en-US
en-GB

en-US is the "Default" language for me.  

> This is my second day with reporting services so forgive my ignornace.
>
[quoted text clipped - 29 lines]
> Please help,
> Mark
Mark Andrews - 30 Nov 2006 22:00 GMT
Thanks!!!!

It dawned on me to look at the XML.

Must of been a bad day for me,
Mark
> Well, the correct language codes are:
>
[quoted text clipped - 36 lines]
> > Please help,
> > Mark
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.