Product Information > JADE Error Messages and System Messages > 14000 through 14999 - JADE User Interface Errors > 14082 - The oleObject property for a running OleControl window cannot be changed

14082   The oleObject property for a running OleControl window cannot be changed

Cause

This error occurs if your application code attempts to change the oleObject property of a running OleControl window. When an OleControl control has an associated window, it creates a transient OleObject object that is assigned to the oleObject property and used during the running life of its Window. This object cannot be changed.

Action

You can use the contents of another OleObject instance in the control by using the copy method of the OleObject class. For example:

oleControl1.oleObject.copy(oleObj);

To cause that data to take effect, you must also call the OleControl class loadFromDB method.