ComboBox in X++

In my ComboBox there are items like A B C D and bydefault the value is A where i want to make it as C something like comboBox.comboType(2) in the init form, but this doesnt seems to work. Kindly help.

Hi Indranil,


Try these out;



i tried but it doesnt work!

All I did is overrided the initValue method of the form n wrote the code as tableName.ComboBoxName = ComboBoxName::DefaultValue;

And its working fine. Correct me if I am wrong :slight_smile: