No, the indexing starts at 1
"For i = 1 to .whatever.count" is correct.
If you tried zero and it bombed, don't worry your cube isn't corrupted,
you'll just get something like a "subscript out of range" type error, but you
haven't phsyically harmed the cube in any way.
"nick" wrote:
Quote:
I am using a vbscript to clone the partitions in a cube. And I found that the
in the cube, I cannot use "for each m in dsoNewPart.Measures", it just return
an empty one (strange) and quit the loop. The cube has 4 measures.
However, I can use for J= 1 to 4 to access the Measures. Should it started
from 0? Or I have a corrupted measure at subscript 0? |