Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Afields & supermover - is this a good approach?
Message
 
 
À
30/01/2002 19:51:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00613149
Message ID:
00613308
Vues:
11
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform