Results 1 to 2 of 2

Thread: combo box

  1. #1
    Join Date
    Mar 2004

    Unanswered: combo box

    I have question about combo box. In the table, i have ID and Name. When i use Combo44.value it will retrieve the ID. How can i retrieve the name. Use combo44.text??? I am not sure.
    The following is the code:

    Private Sub Combo44_AfterUpdate()
    Dim SQL As String

    SQL = "SELECT Categories FROM tblFundCategories WHERE Fund = "

    If Not IsNull(Me.Combo44.Text) Then
    SQL = SQL & Me.Combo44.Text

    Me.List2.RowSource = SQL
    End If

    End Sub


  2. #2
    Join Date
    May 2005
    Thread continued on this double post.
    Me.Geek = True

Posting Permissions

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