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,

ComboBox.selection(2);

Try these out;

regards

P.RAM

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: