|
Crystal Reports is giving me errors on any type of For, While loop I try to write. I have tried all the variations and I always get the same error, which says Statement is missing a Wend, or a Next depending on the type of loop I write.
Example: (This gives the error the keyword Next is missing)
*** Same error if I use Do/While Loop
dim i as number
dim s as string
i = 0
For i = 1 To 10
s = 'some string' -- error is display here
i = i + 1
Next
formula = s
The syntax looks correct to me so any ideas?
USING CR2008 R2 on Windows 7 - x64
thanks
JIM
|