Product Information > JADE Error Messages and System Messages > 14000 through 14999 - JADE User Interface Errors > 14072 - This action is not valid when a collection is attached to a Control

14072   This action is not valid when a collection is attached to a Control

Cause

This error occurs when a collection is attached to a list box, combo box, or table and code attempts to add or remove an entry from the control or to set the itemObject value of an entry.

When a collection is associated with a sheet of a control

The addItem, addItemAt, removeItem methods are not available for a list box, combo box, or table. In addition, the resort, moveRow, and deleteRow methods are not available for a table.

Action

When you attach a collection, you cannot add non-collection entries and you cannot remove existing entries. The value of the itemObject property for an item is the attached collection object, and therefore it cannot be changed. Change your application code accordingly.