Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Afields & supermover - is this a good approach?
Message
From
30/01/2002 19:51:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Afields & supermover - is this a good approach?
Miscellaneous
Thread ID:
00613149
Message ID:
00613149
Views:
41
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
Next
Reply
Map
View

Click here to load this message in the networking platform