IBM Support

"Index and length must refer to a location within the string ... length ... UpdateMultipleCells" when form accessed through a linked form

Troubleshooting


Problem

User tries to enter data into a form. An error appears. Problem only occurs when inputting into a form when the form has been accessed (through the add-in) from a linked form. The error does *not* appear when the user inputs (into the form) directly through "Data Entry - Reported Values". Example: ======= Imagine a scenario where there are 2 forms: * Form1 - this contains the link to the sub form (Form2) * Form2 – this is the 'sub' form (accessed through Form1). This is the form where the error occurs (but only when accessed through Form1)

Symptom

Description: Index and length must refer to a location within the string.
Parameter Name: length at Cognos.ControllerForms12.clsDataEntry.
UpdateMultipleCells
(String& sRange) at Cognos.Controller.
ControllerForms12.clsDataEntry.XLWBev_Calculate(object Sh)

[{"Product":{"code":"SS9S6B","label":"IBM Cognos Controller"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Controller","Platform":[{"code":"PF033","label":"Windows"}],"Version":"10.1.1","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSMRTZ","label":"IBM Cognos Controller on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

To view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use the link to actual document below to access the full document. You will be asked to log on if you are not already logged in. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM Cognos Controller

Software version:
10.1.1

Operating system(s):
Windows

Document number:
285181

Modified date:
08 May 2025

UID

swg21987310

Manage My Notification Subscriptions