Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>>I have a search box for user to enter a S/N. I want to search on it and have the listbox go to that record and highlight that particular row. Easy?
>>
>>Yes. Just set the list's ListIndex to the correct row. How you find that depends on the RowSourceType.
>>
>>Tamar
>
>I use rowsourcetype =3 SQl statement.
>So just a matter of issuing thisform.mylistbox1.ListIndex=some_number ?
>
Moving the record pointer may be enough. I never use the table-based RowSourceTypes, so I'm not sure. If not, set ListIndex to RECNO("the cursor").
Tamar
Précédent
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