Comma and strmenu

MctMct Member Posts: 30
edited 2008-05-15 in Navision Attain
Hi

I have a codeunit which modify a table field with a decimal. And i need use a strmenu for my different option. But strmenu doesn't allow title or string that explain the situation, so i put my decimal in the first option.

However in french 3.6 is replaced by 3,6 so the strmenu believe it's a new separator.

I had a similary problem with \ and confirm but the same tip doesn't work with strmenu.

Thx

Answers

  • MaximusMaximus Member Posts: 105
    Hi,

    try putting your options in Text Constants and use these Text Constants in your STRMENU function. Good luck.
  • MctMct Member Posts: 30
    Hi

    I had already tried this tip but it was the same problem.

    So I use the CONVERTSTR fonction:
    textTaux := FORMAT(decTaux);
    textTaux := CONVERTSTR(textTaux,',','.');

    It work but if someone have the answer of my first problem, it will be great to post here.

    Thx
  • krikikriki Member, Moderator Posts: 9,115
    [Topic moved from Navision Financials forum to Navision Attain forum]

    I am afraid there is no other option other than using CONVERTSTR.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.