General information
Category:
Forms & Form designer
>>>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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only