Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Afields & supermover - is this a good approach?
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00613149
Message ID:
00613308
Views:
10
This message has been marked as a message which has helped to the initial question of the thread.
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
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform