Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 Report - Subscript out of bounds
Message
From
08/08/1999 08:20:10
 
 
To
04/08/1999 10:04:34
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00249309
Message ID:
00251225
Views:
13
Thanks all for your contributions.
I tried the code...
iif(nCounter<=alen(yourarray,1),YourArray(nCounter,1),"")
...but the report didn't stop printing, presumably because the iif statement ensures something is always printing, either the array element or a "". Experimenting with the 'Print When' feature brought no joy.
Because the original report prints correctly, I just wonder if its possible to add an error handler inside the report which can trap the 'subscript out of bounds' message and simply not display it??
Previous
Reply
Map
View

Click here to load this message in the networking platform