Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with ComboBox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00723117
Message ID:
00723581
Vues:
8
There certainly doesn't appear to be anything wrong with the code you posted below. There must be something else going on in the form or the combo box that's causing it. Is there much other code in either? What events have code in them?

Alan

>Hi Jim
>Init of form:
>------------
>Dime Thisform.MyArray(3,2)
>Thisform.Myarray[1,1] = 'Plum'
>Thisform.Myarray[2,1] = 'Apple'
>Thisform.Myarray[3,1] = 'Pear'
>
>Thisform.Myarray[1,2] = 'Munster'
>Thisform.Myarray[2,2] = 'Ulster'
>Thisform.Myarray[3,2] = 'Leinster'
>
>Thisform.Combo2.requery()
>
>Row Source
>----------
>Thisform.MyArray
>
>
>Row source type
>---------------
>5 array
>
>
>As I said in earlier thread, this combo box works fine on another blank form, but not on my live one.. it must be something on the form or class
>
>regards,
>
>Gerard
>
>
>
>
>>Gerard,
>>
>>Ok let's debug this. What are the rowsourcetype and rowsource settings for the combo? Also what is the code that "initializes" the form array? Is there a pageframe involved?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform