Results 1 to 4 of 4

Thread: Help with combobox - selected item!!

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Posts
    2

    Question

    Any help as to how to use the selected item in one comobox and use the item to do something else, like pass the item into a sql question and display the result into the second combobox?

  2. #2
    Guest
    This will get the current item from the ComobBox.

    Code:
    MyString = Combo1.Text

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Posts
    2
    Is it the same as the item I have selected in the combobox? This is because I don't seem to get what I have selected?

  4. #4
    Guest
    You select the item.

    Code:
    Private Sub Combo1_Click()
    Msgbox "Item selected:  " & Combo1.text & ""
    End Sub
    It should be as Megatron told you. As soon as you click the item, it goes into the Combo textbox and tells you what item is selected from there.

Posting Permissions

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



Click Here to Expand Forum to Full Width