Please who tell me how to assign values of an option field to a dropdown liste in C# through web services.
Thanks
Please who tell me how to assign values of an option field to a dropdown liste in C# through web services.
Thanks
I would write a function in NAV that returns the options. You can use a RecordRef and/or FieldRef variable to get this value as a string. There are example of this in the forums. It is a comma separated list and from there you should be able to Google a tutorial for creating the drop down with that value.
Thanks for your answer. You said but I didn’t find any example, please can you give me an example??
Thanks for your answer. You said but I didn’t find any example, please can you give me an example??
There is an example of how to use a FieldRef variable in the NAV Help menu. FieldRef variables have an OPTIONSTRING property that you can access through the code.
Here is a tutorial on how references work.