Results 1 to 2 of 2

Thread: [2005]Merging 4 columns into 1 from a data table to combobox

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Dec 2001
    Posts
    1,331

    [2005]Merging 4 columns into 1 from a data table to combobox

    Hello,

    I have a data table that I have filled using typed datasets. Using the code below.
    Code:
    Private Sub FillIncidents()
            Try
                Me.TA_Incident_dsIncidents.Fill(Me.Incidents.Incident)
    
            Catch ex As Exception
                MsgBox(ex.Message)
            End Try
        End Sub
    There are 9 columns, and I want to take 4 of them and merge them into a combo box.

    I was thinking of having a new data table and using the concat to merge the 4 columns into 1 to fill them into a new data table.

    Then using the binding source to bind the data table to the combo box.

    Can anyone tell me if this is the best method to use.

    Many thanks,

    Steve
    steve

  2. #2
    Code Monkey wild_bill's Avatar
    Join Date
    Mar 2005
    Location
    Montana
    Posts
    2,993

    Re: [2005]Merging 4 columns into 1 from a data table to combobox

    It would probably be easier to concatonate the data in your query.

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