Hi there,
If you have a listbox on a form with a series of items in it, either as a value list or from a table/query, how would you go about using visual basic to automatically select (highlight/"click upon") an item in that listbox?
I have a command button on another form which must take the user to a small search form, and automatically highlight/select a specific item in the listbox on that form. This would usually be the user's job but the idea of this button is to find the item they are looking for and set up the form automatically. This has been winding me up for a while now as the only thing I am missing is how to make that selection in the listbox!
any help appreciated! Cheers.
If you have a listbox on a form with a series of items in it, either as a value list or from a table/query, how would you go about using visual basic to automatically select (highlight/"click upon") an item in that listbox?
I have a command button on another form which must take the user to a small search form, and automatically highlight/select a specific item in the listbox on that form. This would usually be the user's job but the idea of this button is to find the item they are looking for and set up the form automatically. This has been winding me up for a while now as the only thing I am missing is how to make that selection in the listbox!

any help appreciated! Cheers.