Runtime Error 9: Subscript Out of Range


Symptoms


"Runtime error 9: Subscript out of range"This error occurs when drilling into a parent unit within the DrillDown Viewer.

Cause


This error will occur when the company specified in the report catalog meets one of the following conditions: Company is not included in at least one child unit within the tree. Company is included in a child unit within the tree, but that unit is not selected when the report is generated.

Resolution


Change the company in the catalog to one that does not meet either of the conditions above.

References