Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Loopin a variable length array
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00189697
Message ID:
00189875
Views:
9
>>James,
>>
>>lnControls = ALEN(Thisform,.array,1)
>>FOR lnCnt = 1 TO lnControls
>> * Do the recalc.
>> lnControls = ALEN(Thisform.Array,1)
>>ENDFOR
>
>Hi, Jim,
>
>Will this work? I tried a couple of variations on this theme and what happens is that while the value of lnControls will change, the number of iterations performed by the FOR/ENDFOR loop does not.

James,

No it won't, it was a shot in teh dark as an idea. But experimentation found that it doesn't work.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform