How must my code look if i want the following to be done:
I am working with a normal listbox and access as an database.
In my database i have a list of countries.
country city
usa la
sa jhb
so if la is displayed in the textbox usa must be highlighted in my listbox.
On my form i have a listbox for that countries.
If i run my project I want the correct country to be highlighted.
etc.
lstCountry.List(lstCountry.Listindex) = rsContacts("Country")
So my question is how do I highlight a certian entry in a listbox linked from a database.
How must my code look like???
Thanks.![]()
![]()





Reply With Quote