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
 
Top