Suggestion: New string function

Stimulsoft Reports.Flex discussion
hugo
Posts: 359
Joined: Fri Mar 08, 2013 10:46 am

Re: Suggestion: New string function

Post by hugo »

OK, thank you for the clarification.

This is not a stopper at all, I just wanted to know if I'm doing something wrong.
I'll try the new release.

Thank you very much for your work,
Hugo.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Suggestion: New string function

Post by HighAley »

Hello.

Sorry for this inconvenience.
We will do all that it does not happen again.

Thank you.
hugo
Posts: 359
Joined: Fri Mar 08, 2013 10:46 am

Re: Suggestion: New string function

Post by hugo »

Hello,

I already tried the new release.
I tested in a simple Text element with the following expression: {MonthName(Today, 'PT-PT')} (I also tryed several variants like 'pt-PT', etc ...)

I got the following error in the preview: Text1 Parser error: The name 'PT' does not exist in the current context.

Sure that I'm doing something wrong with the culture. What is the right way to achieve this ?


Thanks,
Hugo.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Suggestion: New string function

Post by Alex K. »

Hello,

Please try to use the following expression:

Code: Select all

{MonthName(Today, "PT-PT")}
Thank you.
hugo
Posts: 359
Joined: Fri Mar 08, 2013 10:46 am

Re: Suggestion: New string function

Post by hugo »

It works.

Thanks.
Andrew
Posts: 4107
Joined: Fri Jun 09, 2006 3:58 am

Re: Suggestion: New string function

Post by Andrew »

Hello, Hugo.

Excellent!
Locked