Joined: 18 Feb 2011
Online Status: Offline
Posts: 2
Topic: While and For loops not compiling ??? Posted: 29 Aug 2011 at 9:25am
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
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum