Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2005

    Unanswered: Combo Box: How to get the selected item information?


    I know and use some VBA code in Access database. In Access, I can get the selected item in the combo box by using the Column(i) property of the combo box object.

    I am learning Visual Basic 2005 and want to retrieve the information for the selected item in the combo box. The datasource of the combo box is a table from a data source. The Value Item and Display Item are defined as the ID and the Name of the table. Is there a similar way in Visual Basic to get other information on other columns associated with the selected ID?

    Thank you,


  2. #2
    Join Date
    Dec 2004
    Madison, WI
    Disregard. I'm wrong. I thought you could also do a me.mycomboboxname.column(i) in vb the same as Access. I did it some way but it's been a while since I've done vb.
    Expert Database Programming
    MSAccess since 1.0, SQL Server since 6.5, Visual Basic (5.0, 6.0)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts