Product Information > JADE Error Messages and System Messages > 14000 through 14999 - JADE User Interface Errors > 14038 - Invalid control index

14038   Invalid control index

Cause

This error occurs when accessing the controls on a form by using form.controls(index) and the index value is invalid (<1 or > form.controlCount).

Action

Change your code accordingly.

Controls is a dynamic array. Deleting or adding entries from the form changes the controlCount and potentially the position of a control in this array.