C Cheryl Jun 7, 2004 #1 Is there a way to populate a combo box with 2 columns.. like description and part number..? from a table??
Is there a way to populate a combo box with 2 columns.. like description and part number..? from a table??
B Bob Phillips Jun 7, 2004 #2 Cheryl, set the columncount property to the number of columns and just link to the table. You can get the data like With Me.ComboBox1 MsgBox .List(.ListIndex, 0) MsgBox .List(.ListIndex, 1) End With -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct)
Cheryl, set the columncount property to the number of columns and just link to the table. You can get the data like With Me.ComboBox1 MsgBox .List(.ListIndex, 0) MsgBox .List(.ListIndex, 1) End With -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct)
C Cheryl Jun 7, 2004 #3 Thank you .. I will give that a try... Bob Phillips said: Cheryl, set the columncount property to the number of columns and just link to the table. You can get the data like With Me.ComboBox1 MsgBox .List(.ListIndex, 0) MsgBox .List(.ListIndex, 1) End With -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) Click to expand...
Thank you .. I will give that a try... Bob Phillips said: Cheryl, set the columncount property to the number of columns and just link to the table. You can get the data like With Me.ComboBox1 MsgBox .List(.ListIndex, 0) MsgBox .List(.ListIndex, 1) End With -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) Click to expand...