-
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. :( :( ;)
-
are you loading you database information into an array upon loading the program or are you pulling the information straight from the database?
------------------
J.R. Berard
AutoCAD Programmer/Analyst
mailto:[email protected]
-
I sent you a small project that solves your problem. Email me if you have any questions.
------------------
Marty
What did the fish say when it hit the concrete wall?
> > > > > "Dam!"