Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: subscript error Post Reply Post New Topic
Author Message
elkei
Newbie
Newbie


Joined: 11 Apr 2007
Online Status: Offline
Posts: 1
Quote elkei Replybullet Topic: subscript error
    Posted: 11 Apr 2007 at 6:43pm

hey all,  working on a crystal xi report from a 3rd party vendor and i'm getting this error message.  I've search around and couldn't find anything that will help.

error is : A subscript must be between 1 and the size of the array.

 formal is

WhilePrintingRecords;

Global NumberVar Array MonDeptHours;

MonDeptHours[5]

 

Error is on the MonDeptHours[5]

 

Any suggestions?   Thanks

IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 11 Apr 2007 at 11:01pm
It doesn't have five elements in it. Whatever part of the report that is supposed to be populating the array isn't getting called yet. Find that code and see where it is in the report. Make sure it gets executed first.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.