Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Using an Array with a ComboBox
I created a property on a form aGroupCodes[1,2]. Within the init of the form I fill the array with the records of a table beginning with the second row of the array. The first row defaults to a "doesn't apply" value.
Anyhow if I set the combobox RowSource and RowSourceType properties programatically within the form's init everything works fine. If I set the values manually in the properties dialogue of the combobox only the first row appears, the "doesn't apply" row.
I know I should, then, just set the properties programatically, but I am curious as to why this is the case.
Any ideas,
Paul
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement