Option String

allendeallende Member Posts: 51
Hi all;

I have a problem about option text. How can I change textbox's option sting writing code ?? ](*,)

Comments

  • SavatageSavatage Member Posts: 7,142
    DenSter wrote:
    First of all, when you add an option value to a standard Navisiont able, you should add a number of commas between the existing last one and your new option value. So if the existing option string is "quote,order,invoice" and you want to add muaddib at the end you should change it to "quote,order,invoice,,,,,,,muaddib" instead of "quote,order,invoice,muaddib". The reason is that MS might decide to add a few option values themselves, and by adding the commas in between you prevent complicated data issues when you upgrade.

    Then, in case of the comment table and forms, the option string and the captions are different on the forms, so in addition to the option value in the table, you also need to modify the option caption on the form. I don't know exactly what it is that you have to change, but it's in the variable that the option box it tied to on the form. Make sure that the form's option value is tied to your new option in the table. Browse around in the form code and you should find it in there.

    If you don't have access to the C/AL code on forms, then you need to have your solution center do this particular one.
  • DenSterDenSter Member Posts: 8,307
    yeah what he said :mrgreen:
Sign In or Register to comment.