This function is used to add items to the controls such as Checkbox, Combo box, List box, Multi List box and Radio Button.
Syntax:
AddItems(Control Name, value)
Control Name is the name of the control to which an item has to be added. Value is the item that has to be added to the collection.
Examples:
Additems(ComboBox, ”India”)
The function will add an item named India to the combo box.
AddItems(Combobox1,Combobox2)
The function will add all the items from “ComboBox2” to “Combobox1”.
Note: The control name should be the Display Name provided for the control in the designer module.