Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Show Array Col 1 + 14 in listbox
Message
 
À
07/01/2005 16:10:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
00975258
Message ID:
00975259
Vues:
18
>Hello Everybody.
>
>Must be friday - or i am missing something.
>
>how can i show in a vfp listbox array column 1 and column 14.
>
>because the listbox is greatly referenced in my app i can not change it from an array to a table or rearange the array columns.
>
>thanks for all your help.

Something like that?
FOR asd = 1 TO ALEN(MyArray,1)
    thisform.ListBox1.AddItem(" ")
    thisform.ListBox1.AddListItem(MyArray[asd,1] ,1)
    thisform.ListBox1.AddListItem(MyArray[asd,14],2)
ENDFOR
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform