Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array code
Message
De
02/03/2005 13:50:06
 
 
À
02/03/2005 13:38:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00992087
Message ID:
00992094
Vues:
16
>I am trying to get fields to list, from an array, in a listbox. I have created the listbox and the code below seems to run okay, but when the form with the list box runs, I get an error message telling me that Picklist1 is not an array. I have stared at the code below for a while. Maybe your fresh look at it will see the error I am making.
>
>Private FieldCount,Kount
>FieldCount = Fcount()
>Dimension PickList1(FieldCount,1)
>
>For Kount = 1 To FieldCount
> PickList1(Kount,1) = Field(Kount)
>Next Kount

VFP can do it for you:
RowSourcetype = 8
RowSource = 'AliasName'
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform