Listboxes

  • Thread starter vbnetman via AccessMonster.com
  • Start date
V

vbnetman via AccessMonster.com

Just getting back to coding after a long break...I have a listbox on a form
representing 2 fields of a table (unit ID and part no). Is there a way to
refer to data in one of the fields as one would with a combo box? For example
combobox1.value works fine for the combo box but listbox1.unitID.value does
not. Thanx in advance.

vb
 
D

Damon Heron

Listboxes use column numbers, so column(0) would be UnitID and column(1)
would be partno.

Damon
 

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

Top