Information générale
Catégorie:
Codage, syntaxe et commandes
I don't understand why it doesn't work for you. This code works fine for me
Dimension This.aFieldName[3,2]
This.aFieldName[1,1]="\Last Name"
This.aFieldName[1,2]="SearchTable.dHire"
This.aFieldName[2,1]="\Date of Hire"
This.aFieldName[3,2]="SearchTable.cLastName"
This.aFieldName[3,1]="Social Security #"
This.aFieldName[3,2]="SearchTable.cSSN"
This.Rowsource=This.Rowsource
The first 2 items are disabled. The last line, which looks ridiculous, is vital. The RowSource remains the same -- even though the contents have changed -- until you explicitly tell it to change. I don't know how you're loading your ComboBox, AddItem ir what, but try resetting the RowSource.
>Tried it both ways - with and without a space - with and without a dash - the only thing I didn't try was a >.
Précédent
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