Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 Report - Subscript out of bounds
Message
From
04/08/1999 02:12:46
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordan
 
 
To
03/08/1999 13:17:35
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00249309
Message ID:
00249596
Views:
18
>I am trying to print a list report based on the contents of a two-dimensional array which
>is populated from calculations on fields from a table. The problem is, I am getting the
>message 'Subscript out of bounds' after the report is executed. The report is printing
>out correctly but I want to avoid this error message.
>In my report I have a bunch of fields in the Details section containing:
>
>current(nCounter,1)
>current(nCounter,2)
>and so on...
>
>As you can see I am using the Report Designer's nCounter variable because the report
>will not be printing a fixed number of records.
>Any ideas how I can avoid this error?

This err msg is due to alen of array is less.. Increase the size of array and it will be ok..
Previous
Reply
Map
View

Click here to load this message in the networking platform