G
Guest
I'm trying to add 2 colums of values to a listbox by selecting the combo box
(which has 2 columns). I have in the afterupdate of the combobox:
If Me!lstCompany.ListCount <= 0 Then
Me!lstCompany.RowSource = Me!cboCompany.Column(1)
Else
Me!lstCompany.RowSource = Me!lstCompany.RowSource & ";" &
Me!cboCompany.Column(1)
End If
this works great for 1-column, but what's the syntax for adding 2 columns?
Or is it possible? thanks in advance.
(which has 2 columns). I have in the afterupdate of the combobox:
If Me!lstCompany.ListCount <= 0 Then
Me!lstCompany.RowSource = Me!cboCompany.Column(1)
Else
Me!lstCompany.RowSource = Me!lstCompany.RowSource & ";" &
Me!cboCompany.Column(1)
End If
this works great for 1-column, but what's the syntax for adding 2 columns?
Or is it possible? thanks in advance.