Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>What I want to do is select an item in a listbox by specifying a string value that I know should exist somewhere in the list. I do not know the ItemID or the specific nIndex because the RowSource is a field of a table.
How about just setting the Value property then?
>If I move the record pointer in the table, the listbox does not move to the row with the corresponding value.
Do you have the control source set too? The RowSource defines the list, the ControlSource is the value of that list. If it is set, do you refresh() it after moving the pointer?
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