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:
00189878
Views:
10
>>>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.

Jim,

Oh, well. I though you may have figured out one of your clever ways to make it work. Too bad, but many thanks for the effort.

regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Previous
Reply
Map
View

Click here to load this message in the networking platform