Listbox quicky

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi Guys
Just a quick one
Have a list box with 6 fields of data, would like to populate 2 text boxes
on my main form, the form cannot be related to the list box.
Have successfully populated one text box on selecting a record in the list
box from one of the fields, but am unable to find a way to populate the
second from another of the fields.
Is this possible?
Cheers Ross
 
one of the properties of a listbox is the columns collection.
me.txtBox1=lbx.columns(0).value
me.txtBox2=lbx.columns(1).value
.....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top