Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Afields & supermover - is this a good approach?
Message
From
31/01/2002 09:09:11
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00613149
Message ID:
00613322
Views:
11
Thank for the response, Sergey. Being the only programmer in my company, having UT to check into for feedback is invaluable.

- Rob


>Hi Rob,
>
>I would do the same way.
>
>>I want to use _supermover class and I want the selection to be fields in a user selected table. Therefore I need a one dimensional array to pass to the InitChoices method. This is what I've done (which works), but I'm curious if there is a better approach:
>>
>>
>>lnALen = AFields(laFields)
>>DIMENSION laFields2(lnALen)
>>FOR lnLoop = 1 TO lnALen
>>   laFields2(lnLoop) = laFields(lnLoop,1)
>>ENDFOR
>>		
>>THISFORM._SuperMover1.InitChoices(@laFields2)
>>
>>TIA!
>>
>>Rob
Previous
Reply
Map
View

Click here to load this message in the networking platform