Hi,
Thanks for any help in advance.
I'm trying to get the data from a selected line in a listbox. I can reference the initial column with the following, "Me.ComboBox1.Value = ListBox1.Value" - but how do I extrapolate the other columns data to place in the relevent textboxes?
So, combobox1 gets the first line, then textboxes 1,2,3 & 4 need the other 4 columns data from selected listbox data?
Me.ComboBox1.Value = ListBox1.Value
Me.TextBox1.Value = ListBox1 COLUMN2
Me.TextBox2.Value =ListBox1 COLUMN3
Me.TextBox3.Value = ListBox1 COLUMN4
Me.TextBox4.Value =ListBox1 COLUMN5
Thanks for any help in advance.
I'm trying to get the data from a selected line in a listbox. I can reference the initial column with the following, "Me.ComboBox1.Value = ListBox1.Value" - but how do I extrapolate the other columns data to place in the relevent textboxes?
So, combobox1 gets the first line, then textboxes 1,2,3 & 4 need the other 4 columns data from selected listbox data?
Me.ComboBox1.Value = ListBox1.Value
Me.TextBox1.Value = ListBox1 COLUMN2
Me.TextBox2.Value =ListBox1 COLUMN3
Me.TextBox3.Value = ListBox1 COLUMN4
Me.TextBox4.Value =ListBox1 COLUMN5