MBlock
03-21-05, 07:30
Hey guys, I am trying to familiarize myself with VB 6.0 and I am writing a simple application to access a Microsoft Access Database and display the "Name" field into a list box. Ultimatly I'd like to click on the name of say a Tool in the list box and then when I do that text boxes get filled in with attributes of that tool. (i.e. the data base has 3 columns name of tool, price, and how many in stock) then when the program loads I wanted all the names that were in the database to populate a listbox, then when you click on one of the names in the listbox I wanted the other two columns to show up in seperate respective text boxes.
I cannot get the names to show up in the listbox :confused: . I am having a hard time linking the Access Database I made to the list box. I can link the database to individual text boxes just fine through the data control object. However, when I try to link the data control object to the listbox nothing happens. Can anyone please help me out with this. The main help I need is just getting the listbox to display all the names from the database and then anymore help past that would be appreciated greatly but not as important. THANKS ALOT!
I cannot get the names to show up in the listbox :confused: . I am having a hard time linking the Access Database I made to the list box. I can link the database to individual text boxes just fine through the data control object. However, when I try to link the data control object to the listbox nothing happens. Can anyone please help me out with this. The main help I need is just getting the listbox to display all the names from the database and then anymore help past that would be appreciated greatly but not as important. THANKS ALOT!