Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这段代码可能有什么问题?
**WhilePrintingRecords; Shared NumberVar Array myTotal; myTotal[UBound(myTotal)];**
在 Crystal Reports 中,数组索引从 1 开始。因此,您需要使用UBound(myTotal) + 1
UBound(myTotal) + 1