Reputation: 445
What might be the problem with this code?
**WhilePrintingRecords;
Shared NumberVar Array myTotal;
myTotal[UBound(myTotal)];**
Upvotes: 1
Views: 3337
Reputation: 1922
In Crystal Reports, the array indexes start at 1. So, you'll need to use UBound(myTotal) + 1
Upvotes: 1