Comma literal in OptionString property

jgalanjgalan Member Posts: 8
Hi everybody

I'm declaring a variable (i.e. NumericFormat) of type Option with OptionString={#.##0,00|###0.00}
(2 values pretended).
As you can see, the 1st. value contains a comma as decimal separator (a common format in Spain).
Of course, the compiler threats it as a field separator, resulting on a 3 values option list.
Is it possible to "escape" that comma to be threated as raw literal?

Yes, I know other alternatives exists, like using Navision-style format masks instead of.
Just wondering if that is possible.

Thanks in advance & best regards.
Joaquim Galan

Comments

  • krikikriki Member, Moderator Posts: 9,110
    As far as I now, it is not possible to "escape" a ',' in the option string.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.