Remove Item by Key

Use this system function to remove an item from a combo box list by specifying the item's key.

Parameters

ComboBox Control

Input, required. The combo box FC to affect.

Key

Input, required. The key of the item to remove (string or math-numeric). Set the parameter to an alphanumeric constant (<Literal>) or applicable object from the object list.

Optional

Input, required. A flag indicating whether to remove all items. Set the parameter to <Remove All> or <N/A>.

Additional Notes

You can also clear all items from the list. If the key value specified is invalid and the Optional parameter equals <N/A>, no item is removed from the control and an error message is logged.