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

Click here to load this message in the networking platform