Search code examples
microsoft-dynamicsnavisiondynamics-nav

Navision How to Convert a Text to Option


I have a text variable which I want to convert into a option and set table data with it. How do it convert the variable into a option?

Thanks


Solution

  • Solved,

        OptionName := OptionName::Option;
    

    This does not solve the question itself, but is a workaround since "Option" can be a text String (But it must be a predefined one);