Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error: Objects cannot be assigned to Arrays
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Error: Objects cannot be assigned to Arrays
Divers
Thread ID:
01143017
Message ID:
01143017
Vues:
79
I'm trying to create form containing a LISTBOX. I create and fill an array
(ext_hist) in an external program and in the LISTBOX Properties I place the following:

column count = =ALEN(ext_hist,2)
number of elements = =ALEN(ext_hist)
row source = ext_hist
row source type = 5-Array

In the FORM'S Init procedure:
External array ext_hist
thisform.list1.value=ext_hist(1)
thisform.list1.numberofelements = alen(ext_hist)


As soon as I EXIT the Form's INIT procedure I get error message
"Objects cannot be assigned to arrays."


Why?

TIA

Harry Riley
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform