Skip to Content
0
Former Member
Nov 19, 2008 at 12:55 PM

Problems in setting the locale

16 Views

Hi there,

I am using CrystalReports Designer 2008 SP1 and .NET 2.0. I would like to set the locale of the displayed report during runtime. This coding does not work unfortunately:

CultureInfo cI = UserCultureInfo.GetInstance().GetCurrentUserCultureInfo();
rptDoc.ReportClientDocument.LocaleID = CeLocale.ceLocaleEnglish;

I do have the CultureInfo but Crystal seems to need an enumerator as CeLocale....

Any ideas how to handle this?

Thanks,

Pascal