|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#16
|
|||
|
|||
|
Fisherman, I don't have to use the datacombo. What do you recomend instead?
|
|
#17
|
||||
|
||||
|
I like using combo boxes - add a regular combo box and set the "style" property to "List"
__________________
Fisherman "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." - A.Einstein |
|
#18
|
|||
|
|||
|
Ok. What else do I have to do to get it working the way I want?
|
|
#19
|
||||
|
||||
|
Like i was saying before... use the click event of the listbox/combo to populate any other text boxes you might have. If you'll go to the property window for the text boxes, and set the record source and datafield properties according to your recordset.(or Data Control). Then, in the click event, do a adodc.movefirst (or rsrecordset.movefirst), and then adodc.move (lstYourListBox.listindex,0). That will move to the first of the recordset, and then to the index of the currently selected record in the listbox. With the datafield and datasources set for your textboxes, it should also update the text in the textboxes accordingly.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > DataCombo and a TextBox |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|